Apr 052011
 
UPDATE 2011-07-12 Use Fuse4X instead of MacFUSE!!! I wrote a new blog post on the topic: SSHFS on Mac OS X 10.6.8 with Fuse4X.. Thanks Markus for your hint to the Fuse4X project.

update: 2011-06-26: also works on 10.6.8

I experienced the following problem while trying to mount a ssh host using sshfs with MacFUSE:

1
2
/Library/Filesystems/fusefs.fs/Support/fusefs.kext failed to load - (libkern/kext) link error; check the system/kernel logs for errors or try kextutil(8).
the MacFUSE file system is not available (71)

If you experience this error with MacFUSE on Mac OS X 10.6.7 too, there is a solution: Just install this macfuse version and it should work again.

After the installation you might continue reading my blog post How to use the sshfs-binaries to mount a remote file system.

resources

VN:F [1.9.17_1161]
Rating: 7.3/10 (4 votes cast)
Fix sshfs with MacFUSE on Mac OS X 10.6.7 and 10.6.8 Snow Leopard, 7.3 out of 10 based on 4 ratings

Related Posts:

  15 Responses to “Fix sshfs with MacFUSE on Mac OS X 10.6.7 and 10.6.8 Snow Leopard”

  1. Hi Philipp

    Excellent blog post, alot of people are having problems with macfuse and sshfs! I have desktop mac running SL 10.6.6 in 64-bit i think (even though uname -p yields i386… does that mean that im running 32-bit?), and its running macfuse+sshfs from macports with no problems what so ever.

    I just bought a new macbook pro 13″ and of course wanted to mount ssh drives. My macbook is running 10.6.7 and also yields i386 when I uname -p it, however it has 8 GB of memory so it should be 64-bit no? Anyway, the above macport approach to install macfuse + sshfs gives the error msg you describe in your blogpost.

    So I go ahead and install the macfuse binary you link to. Now I dont get the above error msg, but when I mount with sshfs the dir I mounted to becomes an alias which I cannot enter. I get the following when doing a ls -l :

    evilmac:Downloads per$ sshfs -o reconnect,volname=data_ion per@192.168.2.98:/media/data/ /Volumes/sshfs/data_ion/
    per@192.168.2.98's password: 
    evilmac:Downloads per$ cd /Volumes/sshfs/
    evilmac:sshfs per$ ls -l
    ls: data_ion: Input/output error
    total 0
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:15 backup_ion
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:15 home_ion
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:15 mother1_ion
    evilmac:sshfs per$ sudo umount /Volumes/sshfs/data_ion 
    Password:
    evilmac:sshfs per$ ls -l
    total 0
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:15 backup_ion
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:14 data_ion
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:15 home_ion
    drwxr-xr-x+ 2 per  admin  68 Apr  4 21:15 mother1_ion
    evilmac:sshfs per$ uname -p
    i386
    evilmac:sshfs per$
    

    do you have any idea what my problem is?

    Best regards

    Per

    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Hello Per,

      I can only speculate on this. Never experienced that problem. What sshfs binary are you using? The only one that I use is sshfs-static-leopard which I got via this:

      cd ~/Downloads
      svn co http://macfuse.googlecode.com/svn/trunk/filesystems/sshfs/binary sshfs-binaries
      

      Did you link that to sshfs?

      Normally the Mac OS X 10.6.* kernel is the 32-bit kernel (unless you start you Mac while holding down 6 and 4). But the applications you run, may be 64 bit. At least this is how I correctly understood the texts online on this topic.

      Me too, I use sshfs on a 13″ Mac (early 2011) with 8GB of RAM, so it is supposed to work.

      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  2. Ahhh, the binary was the problem. I was using the one that worked on my 10.6.6 desktop mac, which I installed and compiled from macports… :)

    Thanks alot for helping me put here, I was very close to bying Transmit to be able to mount ssh drives :)

    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • You’re welcome! There is also another tool that works well: Flow. It is distributed as a 14 days trial on http://extendmac.com/flow (25 USD).

      But for the moment sshfs works well for me.

      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  3. Hi Philipp,

    Googled my way here, extremely helpful blog post! Thank you very much.

    By the way, the MacFUSE version, beta or not, contains a 32-bit preference pane (the window that opens from System Preferences.) This causes a restart of the System Preferences process (I guess it goes from 64-bit to 32-bit mode.) One of the authors of MacFUSE, Amit Singh, has published a 64-bit version of the preference pane, which solves this minor annoyance. See this thread on google groups: http://groups.google.com/group/macfuse/browse_thread/thread/97951b355e57db56

    Of course, it was uploaded in the files section of the macfuse google group and consequently went AWOL when files support was dropped from google groups in 2010. Someone kindly republished it, caveat emptor, see http://www.wuala.com/grahamperrin/public/2010/07/31/a

    It works a treat. My € 0.02

    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Thanks Ferenc for your information. For me personally, it is no problem that the preference pane of MacFUSE is 32-bit only. I hardly ever need it as it contains only the information on the current version number and the buttons to remove or update MacFUSE. But as this is not much functionality, I wonder why a 64-bit version of it has not been introduced earlier. After all we have to thank Amit Singh and the others who developed MacFuse for their work and time.

      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  4. Thank you very much Philipp ! Very useful solution. I just bought a new Macbook Pro and thanks your precious version of MacFUSE solved the problem I had with fusefs.fs !!!

    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
    • Hello Andrea, I’m glad the post was of use for you. Actually it is not my version of MacFUSE but one by Tuxera. Greetings

      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  5. Thanks. This helped solve a 8h problem!

    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)
  6. MacFuse project is generally dead. The original owner left it without transferring ownership to anyone else.

    There is a MacFUSE successor called Fuse4X that aims to fix all existing issues in MacFUSE and make it much more compatible with the upstream fuse implementation.

    It also supports SSHFS out of box. You can download it from https://github.com/fuse4x/fuse4x/downloads it works perfectly fine on 10.6 and 64 bits kernel….

    VA:F [1.9.17_1161]
    Rating: +1 (from 1 vote)
    • Thanks for your information, Markus. I already added a hint to the project on top of the post. I have checked Fuse4X and used it for SSHFS. I wrote a new blog post on the topic on SSHFS on Mac OS X 10.6.8 with Fuse4X. Thanks for pointing it out! Philipp

      VN:F [1.9.17_1161]
      Rating: 0 (from 0 votes)
  7. [...] Fix sshfs with MacFUSE on Mac OS X 10.6.7 and 10.6.8 Snow Leopard [...]

  8. [...] Fix sshfs with MacFUSE on Mac OS X 10.6.7 and 10.6.8 Snow Leopard [...]

  9. [...] mounting, because MacFuse gave a generic ‘could-not-mount’ error (71).  Luckily I came across this blog post to fix it (I know it says Snow Leopard, but the fix works for Lion as well).  After that, my [...]

  10. Thank you very much for this. I realized this MacFuse version that works is a beta. Just a note though: one might accomplish the same results by checking the ‘show beta versions’ checkbox on the MacFuse update panel. Then installing the latest one, instead of downloading a new one. But I would never figure that out by myself, so, thanks again.

    VA:F [1.9.17_1161]
    Rating: 0 (from 0 votes)

 Leave a Reply

(required)

(required)


5 − = four

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>