无法安装VMware共享文件系统
问题描述:
我在装有OSX 10.11.6的MacBook上将VMware Fusion更新至8.5.6。我下载并安装了最新的VMware Tools(VMware-Tools-10.1.5-core-5055683)。客户操作系统是Debian 8.尽管现在可以通过剪切&粘贴,我无法挂载共享目录。虽然共享目录有:无法安装VMware共享文件系统
$ sudo vmware-hgfsclient
common
和挂载点有:
$ ls /media
cdrom cdrom0 common
mount命令失败:
$ sudo mount -v -t vmhgfs .host:/common /media/common
Original command line: "/sbin/mount.vmhgfs -v -o rw .host:/common /media/common"
Host component of share name is ".host"
Directory component of share name is "/common"
Parsing option string: rw
Setting mount read-write
Error: cannot mount filesystem: Invalid argument
我不知道什么是错的名字是正确的。该模块也在那里:
$ lsmod | grep hg
vmhgfs 65266 0
vmw_vmci 55383 1 vmhgfs
我是否使用错误版本的VMware工具?
答
看来VMware Tools和HGFS贴片机并不配合,即可能没有HGFS贴片机的情况下启动和运行VMware Tools。我设法让它通过下载的VMware Tools 10.1.0,而不是10.1.5,与vmware-install.pl安装,随后在虚拟机上运行
apt-get install open-vm-tools
答
运行命令的工作:
mkdir /mnt/hgfs
vmhgfs-fuse .host:/ /mnt/hgfs
# permit other user access
vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other