VMware Cloud Community
Dranizz
Contributor
Contributor

Mount Windows share on host

I had a script on a 3.5 host but now the mount command does not work since I upgraded to VSPhere.

mount -t smbfs -o username=administrator/mydomain,password=whatever //server1/SharedFolder /home/mountpoint

The command now returns this error:

mount: wrong fs type, bad option, bad superblock on //server1/SharedFolder,

missing codepage or other error

In some cases useful info is found in syslog - try

dmesg | tail or so

0 Kudos
3 Replies
Jmammano
Contributor
Contributor

Did you ever find the solution to this?

0 Kudos
lamw
Community Manager
Community Manager

Take a look at this reply for the solution: http://communities.vmware.com/message/1314754#1314754

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

Twitter: @lamw

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Community

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
Jmammano
Contributor
Contributor

Thanks very much. Smiley Happy

0 Kudos