Showing posts with label ESX. Show all posts
Showing posts with label ESX. Show all posts

Wednesday, March 30, 2011

VMware ESX 4.1 smb - How to mount CIFS drive

For shared drive without domain:

[user@system ~]mount -t cifs //192.168.123.123/share /mnt/CIFS -o username=Administrator

For shared drive with domain:

[user@system ~]mount -t cifs //192.168.123.123/share /mnt/CIFS -o username=Administrator,workgroup=Domain


Monday, December 27, 2010

VMware ESX 4.1 smb - mount error 111 = connection refused

If you encounter the following error when you try to mount to a CIFS share on a windows server from service console as shown below:

[root@esx41 mnt]# mount -t cifs //192.168.44.88/shared /mnt/CIFS -o user=administrator
Password:
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


This is probably caused by the ESX firewall issue, to enable Samba client connections:

[root@esx41 samba]# esxcfg-firewall -e smbClient

And this should fix the mount error 111 problem.