Feb 15, 2013

mount error: can not change directory into mount target /mnt/server/


Problem:
mount error: can not change directory into mount target /mnt/server/

Reason:
Either you didn't create your /mnt/server directory or specified it wrong in your mount command.
check the existence of the directory and try the mount command again

Example:
[root@library 20100813143931]# mount -t cifs //192.168.1.2/Release -o username=mohan,domain=priv  /mnt/server/
mount error: can not change directory into mount target /mnt/server/
[root@library 20100813143931]# cd /mnt/server
-bash: cd: /mnt/server: No such file or directory
[root@library 20100813143931]# ls /mnt/
[root@library 20100813143931]# mkdir /mnt/server
[root@library 20100813143931]# mount -t cifs //192.168.1.2/Release -o username=mohan,domain=priv  /mnt/server/
Password:

No comments:

Post a Comment