为什么无法设置SSHFS共享? “OSXFUSE文件系统不可用”错误

前端之家收集整理的这篇文章主要介绍了为什么无法设置SSHFS共享? “OSXFUSE文件系统不可用”错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试从我的本地机器到远程机器设置一个SSHFS共享,但它不工作。我收到错误OSXFUSE文件系统不可用(见下文)。如何解决这个问题?

FYI,我的本地机器是运行OSX 10.9.3的MacBook Pro笔记本电脑。远程机器实际上是运行CentOS的同一个硬件上的VirtualBox

% brew install sshfs                                # <---- SSHFS is installed
Warning: sshfs-2.5.0 already installed

% brew install osxfuse                              # <---- OSX Fuse is installed
Warning: osxfuse-2.6.4 already installed

% ssh remote_user@XXX.XXX.XXX.XXX                   # <---- See,SSH works!!
Last login: Wed Jun 18 18:36:11 2014 from XXX.XXX.XXX.XXX
[remote_user@XXX.XXX.XXX.XXX ~]% exit

% sudo mkdir /mnt
% sudo mkdir /mnt/Share    
% sudo sshfs -o IdentityFile=~/.ssh/id_rsa.pub remote_user@XXX.XXX.XXX.XXX:/ /mnt/Share
the OSXFUSE file system is not available (-1)
the OSXFUSE file system is not available (1)

我试过的解决方案描述了here.但它没有为我工作:

% sudo kextunload -b com.github.osxfuse.filesystems.osxfusefs
(kernel) Kext com.github.osxfuse.filesystems.osxfusefs not found for unload request.
Failed to unload com.github.osxfuse.filesystems.osxfusefs - (libkern/kext) not found.
如果你运行brew信息osxfuse并按照说明的信,我相信它会工作。

从您描述的内容,您只是尝试卸载(可能)以前的内核扩展,但没有完成实际安装新扩展的最后一个重要步骤。

这是什么酿造信息osxfuse告诉我:

If upgrading from a prevIoUs version of osxfuse,the prevIoUs kernel extension
will need to be unloaded before installing the new version. First,check that
no FUSE-based file systems are running:

  mount -t osxfusefs

Unmount all FUSE file systems and then unload the kernel extension:

  sudo kextunload -b com.github.osxfuse.filesystems.osxfusefs

The new osxfuse file system bundle needs to be installed by the root user:

  sudo /bin/cp -RfX /usr/local/opt/osxfuse/Library/Filesystems/osxfusefs.fs /Library/Filesystems
  sudo chmod +s /Library/Filesystems/osxfusefs.fs/Support/load_osxfusefs

猜你在找的CentOS相关文章