frank2010
Contributor
Contributor

mounting a windows share

I have vm ware esx i and try mount a windows share to dump an vm image

I am use the following command

mount -t smbfs -o username=domainuser/domainname,password=password //windowserver/share /windows

and error mount: Mounting //apple/backup on /win failed: No such device

The windows share and esx i server are on the same subnet and there is no firewall between the machine.

I can also ping both ways

Please help

0 Kudos
3 Replies
DSTAVERT
Immortal
Immortal

ESXi does not support mounting Windows shares. You can install Windows Services for UNIX and create an NFS share and mount the NFS share as a Datastore.

-- David -- VMware Communities Moderator
0 Kudos
PaulSvirin
Expert
Expert

How to mount NFS share:

[

|http://vmblog.com/archive/2007/01/23/using-windows-based-nfs-in-vi3.aspx]

Type Alt+F1 to get console window.

---

Paul Svirin

StarWind Software developer ( http://www.starwindsoftware.com )

--- iSCSI SAN software http://www.starwindsoftware.com
0 Kudos
zanmk
Enthusiast
Enthusiast

Hi!

Generally I have mounted Windows shares from SC couple of times and got no issues. First I would check if you local mounting point (/windows or /win ???) exists and has apropriate permissions aplied. Check the name carefully as U*X systems are case sensistive. Your mount syntax suggests that your Windows machine is a member of domain. There are some GPO setting that prevents Linux from accessing shares. Although I'm not an expert on AD I heard of it several times. As a last resort I'd try mounting share from "clean", standalone (non-AD) Windows system - this should work.

regards

Martin

0 Kudos