Shared Folder unable in VMware Player
Shared Folder unable in VMware Player
Hello,
the Shared Folder Option in VMware Player is not possible under CentOS 7 Guest.
https://partnerweb.vmware.com/GOSIG/CentOS_7.html
has no effect:
" Add the vmhgfs Driver
If you use the file sharing feature by using Shared Folders in VMware
Workstation and Fusion, install the vmhgfs driver in the virtual
machine. This driver is not included inbox in the operating system.
Installing the additional vmhgfs driver does not disturb the other inbox
VMware drivers or Open VMware Tools. To install this driver:
Install Open VMware Tools.
Install the traditional TAR Format VMware Tools that is bundled with
VMware Workstation or Fusion products."
How can I activate the Shared Folder?
with regards
Ch. Hanisch
the Shared Folder Option in VMware Player is not possible under CentOS 7 Guest.
https://partnerweb.vmware.com/GOSIG/CentOS_7.html
has no effect:
" Add the vmhgfs Driver
If you use the file sharing feature by using Shared Folders in VMware
Workstation and Fusion, install the vmhgfs driver in the virtual
machine. This driver is not included inbox in the operating system.
Installing the additional vmhgfs driver does not disturb the other inbox
VMware drivers or Open VMware Tools. To install this driver:
Install Open VMware Tools.
Install the traditional TAR Format VMware Tools that is bundled with
VMware Workstation or Fusion products."
How can I activate the Shared Folder?
with regards
Ch. Hanisch
Re: Shared Folder unable in VMware Player
You need to install it - it's a kernel module, so probably will want to compile it against the running kernel. The link you posted suggests:
1) Install open-vm-tools (included in CentOS repositories).
2) Expand the "traditional" tarball included in Workstation or Fusion and follow those instructions to install the hg driver.
Note: I've not done this for several years now, I just copy stuff I need via ssh and ignore the HG driver.
1) Install open-vm-tools (included in CentOS repositories).
2) Expand the "traditional" tarball included in Workstation or Fusion and follow those instructions to install the hg driver.
Note: I've not done this for several years now, I just copy stuff I need via ssh and ignore the HG driver.
Re: Shared Folder unable in VMware Player
'open-vm-tools' are already installed in CentOS 7 Guest.aks wrote:You need to install it - it's a kernel module, so probably will want to compile it against the running kernel. The link you posted suggests:
1) Install open-vm-tools (included in CentOS repositories).
Ok. - also installed like the Link http://www.wingfoss.com/content/how-to- ... ntu-centos2) Expand the "traditional" tarball included in Workstation or Fusion and follow those instructions to install the hg driver.
In this Link https://kb.vmware.com/selfservice/micro ... Id=6746596
the Commands in a terminal
Code: Select all
$ sudo /etc/init.d/vmware-tools restart
Restarting vmware-tools (via systemctl): [ OK ]
$ /usr/bin/vmware-hgfsclient
Shared_Folder
$ sudo mount -t vmhgfs .host:/Shared_Folder /mnt/hgfs/
Error: cannot mount filesystem: No such device
Why does this all not work? It's a Bug in CentOS 7?
Via Samba it is possible transfer between Host and Guest.Note: I've not done this for several years now, I just copy stuff I need via ssh and ignore the HG driver.
with regards
Ch. Hanisch
Re: Shared Folder unable in VMware Player
Is the module loaded (lsmod to see which modukles are loaded)? Is it compiled (modprobe <module_name> to load it, if it doesn't you've not compiled it - that's probably the perl part in the link you posted).
At best it would be a VMW bug - it's their protocol, not CentOS.It's a Bug in CentOS 7?
Yes that's a different protocol.Via Samba it is possible transfer between Host and Guest.
Re: Shared Folder unable in VMware Player
It must be a Bug in CentOS because in Fedora or Ubuntu the Shared Folder works well in VMware Player.aks wrote:It's a Bug in CentOS 7?At best it would be a VMW bug - it's their protocol, not CentOS.
regards
Ch. Hanisch
Re: Shared Folder unable in VMware Player
Here the lsmod for CentOSaks wrote:Is the module loaded (lsmod to see which modukles are loaded)? Is it compiled (modprobe <module_name> to load it, if it doesn't you've not compiled it - that's probably the perl part in the link you posted).
Code: Select all
Module Size Used by
fuse 87741 3
xt_CHECKSUM 12549 1
ipt_MASQUERADE 12678 3
nf_nat_masquerade_ipv4 13412 1 ipt_MASQUERADE
lp 17759 0
tun 27226 1
nf_conntrack_netbios_ns 12665 0
nf_conntrack_broadcast 12589 1 nf_conntrack_netbios_ns
ip6t_rpfilter 12595 1
ipt_REJECT 12541 4
nf_reject_ipv4 13373 1 ipt_REJECT
ip6t_REJECT 12625 2
nf_reject_ipv6 13717 1 ip6t_REJECT
xt_conntrack 12760 36
ip_set 36439 0
nfnetlink 14696 1 ip_set
ebtable_nat 12807 1
ebtable_broute 12731 1
bridge 107106 1 ebtable_broute
stp 12976 1 bridge
llc 14552 2 stp,bridge
ip6table_nat 12864 1
nf_conntrack_ipv6 18894 19
nf_defrag_ipv6 35104 1 nf_conntrack_ipv6
nf_nat_ipv6 14131 1 ip6table_nat
ip6table_mangle 12700 1
ip6table_security 12710 1
ip6table_raw 12683 1
iptable_nat 12875 1
nf_conntrack_ipv4 19108 19
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
nf_nat_ipv4 14115 1 iptable_nat
nf_nat 26147 3 nf_nat_ipv4,nf_nat_ipv6,nf_nat_masquerade_ipv4
nf_conntrack 111302 9 nf_conntrack_netbios_ns,nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_mangle 12695 1
iptable_security 12705 1
iptable_raw 12678 1
ebtable_filter 12827 1
ebtables 35009 3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_filter 12815 1
ip6_tables 26901 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_filter 12810 1
vmw_vsock_vmci_transport 30577 0
vsock 34855 5 vmw_vsock_vmci_transport
dm_mirror 22135 0
dm_region_hash 20862 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
dm_mod 114430 2 dm_log,dm_mirror
snd_seq_midi 13565 0
snd_seq_midi_event 14899 1 snd_seq_midi
intel_powerclamp 14419 0
coretemp 13444 0
iosf_mbi 13523 0
crc32_pclmul 13113 0
ghash_clmulni_intel 13259 0
aesni_intel 69884 0
lrw 13286 1 aesni_intel
gf128mul 14951 1 lrw
glue_helper 13990 1 aesni_intel
ablk_helper 13597 1 aesni_intel
cryptd 20359 3 ghash_clmulni_intel,aesni_intel,ablk_helper
ppdev 17671 0
snd_ens1371 25243 3
snd_rawmidi 31343 2 snd_ens1371,snd_seq_midi
snd_ac97_codec 130605 1 snd_ens1371
vmw_balloon 18190 0
ac97_bus 12730 1 snd_ac97_codec
pcspkr 12718 0
snd_seq 66747 2 snd_seq_midi_event,snd_seq_midi
snd_seq_device 14356 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_pcm 106416 2 snd_ac97_codec,snd_ens1371
snd_timer 29819 2 snd_pcm,snd_seq
snd 83432 13 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device
soundcore 15047 1 snd
sg 40721 0
nfit 39625 0
libnvdimm 126631 1 nfit
parport_pc 28165 0
parport 42348 3 lp,ppdev,parport_pc
shpchp 37032 0
i2c_piix4 22106 0
vmw_vmci 67106 1 vmw_vsock_vmci_transport
nfsd 333626 1
auth_rpcgss 59323 1 nfsd
nfs_acl 12837 1 nfsd
lockd 93573 1 nfsd
grace 13515 2 nfsd,lockd
sunrpc 334343 7 nfsd,auth_rpcgss,lockd,nfs_acl
ip_tables 27115 5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
xfs 985426 2
libcrc32c 12644 1 xfs
sd_mod 46322 4
crc_t10dif 12714 1 sd_mod
crct10dif_generic 12647 0
sr_mod 22416 0
cdrom 42556 1 sr_mod
ata_generic 12910 0
pata_acpi 13038 0
crct10dif_pclmul 14289 1
crct10dif_common 12595 3 crct10dif_pclmul,crct10dif_generic,crc_t10dif
crc32c_intel 22079 1
serio_raw 13462 0
vmwgfx 235043 2
drm_kms_helper 146456 1 vmwgfx
mptspi 22542 3
scsi_transport_spi 30732 1 mptspi
syscopyarea 12529 1 drm_kms_helper
sysfillrect 12701 1 drm_kms_helper
mptscsih 40150 1 mptspi
sysimgblt 12640 1 drm_kms_helper
e1000 137544 0
fb_sys_fops 12703 1 drm_kms_helper
mptbase 105960 2 mptspi,mptscsih
ttm 93908 1 vmwgfx
drm 372540 5 ttm,drm_kms_helper,vmwgfx
ata_piix 35038 0
libata 247095 3 pata_acpi,ata_generic,ata_piix
i2c_core 40756 3 drm,i2c_piix4,drm_kms_helper
fjes 32197 0
Code: Select all
Module Size Used by
bnep 20480 2
snd_hrtimer 16384 1
bluetooth 479232 7 bnep
zram 24576 3
lz4_compress 16384 1 zram
vmw_vsock_vmci_transport 32768 1
vsock 32768 2 vmw_vsock_vmci_transport
coretemp 16384 0
snd_ens1371 24576 2
snd_ac97_codec 106496 1 snd_ens1371
kvm_intel 167936 0
kvm 479232 1 kvm_intel
gameport 16384 1 snd_ens1371
ac97_bus 16384 1 snd_ac97_codec
snd_pcm 94208 2 snd_ac97_codec,snd_ens1371
irqbypass 16384 1 kvm
crc32_pclmul 16384 0
aesni_intel 20480 0
aes_i586 20480 1 aesni_intel
snd_seq_midi 16384 0
xts 16384 1 aesni_intel
snd_seq_midi_event 16384 1 snd_seq_midi
lrw 16384 1 aesni_intel
snd_rawmidi 28672 2 snd_ens1371,snd_seq_midi
snd_seq 57344 3 snd_seq_midi_event,snd_seq_midi
input_leds 16384 0
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 3 snd_hrtimer,snd_pcm,snd_seq
gf128mul 16384 2 lrw,xts
vmw_balloon 20480 0
snd 69632 12 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device
joydev 20480 0
ablk_helper 16384 1 aesni_intel
cryptd 20480 1 ablk_helper
soundcore 16384 1 snd
serio_raw 16384 0
shpchp 32768 0
nfit 28672 0
i2c_piix4 20480 0
vmw_vmci 61440 2 vmw_vsock_vmci_transport,vmw_balloon
8250_fintek 16384 0
mac_hid 16384 0
cuse 16384 3
parport_pc 32768 1
ppdev 20480 0
lp 20480 0
parport 45056 3 lp,ppdev,parport_pc
autofs4 40960 2
vmw_pvscsi 24576 0
vmxnet3 49152 0
hid_generic 16384 0
usbhid 49152 0
hid 98304 2 hid_generic,usbhid
vmwgfx 204800 2
psmouse 118784 0
ttm 90112 1 vmwgfx
drm_kms_helper 139264 1 vmwgfx
mptspi 24576 3
syscopyarea 16384 1 drm_kms_helper
pata_acpi 16384 0
sysfillrect 16384 1 drm_kms_helper
mptscsih 40960 1 mptspi
sysimgblt 16384 1 drm_kms_helper
mptbase 98304 2 mptspi,mptscsih
fb_sys_fops 16384 1 drm_kms_helper
drm 311296 5 ttm,drm_kms_helper,vmwgfx
scsi_transport_spi 28672 1 mptspi
ahci 36864 0
pcnet32 40960 0
libahci 32768 1 ahci
mii 16384 1 pcnet32
floppy 61440 0
fjes 28672 0
Which driver handle the Shared Folder in Ubuntu 16.04?
with regards
Ch. Hanisch
Re: Shared Folder unable in VMware Player
No. That is simply not true. These are not the same thing - these have quite different Kernels. The vmware driver is NOT kernel agnostic (otherwise you wouldn't have to recompile it).It must be a Bug in CentOS because in Fedora or Ubuntu the Shared Folder works well in VMware Player.
Don't know, maybe they renamed it. It was once called vmhgfs (see http://www.vmware.com/pdf/vmserver2.pdf)Which driver handle the Shared Folder in Ubuntu 16.04?
If it's a big problem for you, VMW offers support, ask them - it's their code. Both workstation and fusion (used to be) paid for and thus you get support.
Perhaps before you contact VMW support, check the compatibility matrix to ensure it's supposed to work.
Re: Shared Folder unable in VMware Player
To make shared folder work on CentOS 7.3-1611 you need an updated Vmware Tools, the version 10.1.0
Download from here: https://my.vmware.com/group/vmware/deta ... ductId=491 (needs login)
Extract the linux.iso, mount, unpack the new tools, and run the installer.
Shared folder appeared for me in the /mnt/hgfs/ right after I installed it.
The bug fixed by the shared folder developer Steve Goddard here: https://communities.vmware.com/message/2637118#2637118
As I experienced the main Tools installer jumped over silently a compilation error. When I ran the vmware-config-tools.pl script that compiles the vmhgfs-only (or someting like this) kernel module, then experienced the compilation error). Somebody fixed by himself, but of course it's the most simple is:
Install the updated VMware Tools.
Download from here: https://my.vmware.com/group/vmware/deta ... ductId=491 (needs login)
Extract the linux.iso, mount, unpack the new tools, and run the installer.
Shared folder appeared for me in the /mnt/hgfs/ right after I installed it.
The bug fixed by the shared folder developer Steve Goddard here: https://communities.vmware.com/message/2637118#2637118
As I experienced the main Tools installer jumped over silently a compilation error. When I ran the vmware-config-tools.pl script that compiles the vmhgfs-only (or someting like this) kernel module, then experienced the compilation error). Somebody fixed by himself, but of course it's the most simple is:
Install the updated VMware Tools.