Monday 10 August 2015

How to mount windows system drive/folder in Linux

Temporary mount and unmout:-

Note: create a mount point first:

mkdir /ncm

mount -t cifs -rw -o username=vfshoadmin,password=pass@123 //10.98.130.164/D$ /ncm

umount /ncm

Permanent mount:

vi /etc/fstab

//10.98.130.164/D$ /ncm cifs username=vfshoadmin,password=pass@123,dir_mode=0755,file_mode=0755,uid=500,gid=500 0 0

Verify the same:
mount -a

df -h

No comments:

Post a Comment

Please comment