Friday, April 20, 2012

Access windows folder from VM Machine

Create a new local mount point, eg:

mkdir /tmp/smbmnt

Enable netfs:

chkconfig netfs on
service netfs start


mount -t cifs -o username=user,password=Welcome //192.168.0.4/audit /tmp/smbmnt/


ln -s /myMountFolder/MyMountPoint /PathOfSymlink

username=user
password=Welcome

chmod 600 /root/smbpass.txt


//192.168.0.4/audit /tmp/smbmnt/ cifs credentials=/root/smbpass.txt 0 0

mount //192.168.0.4/audit

No comments: