LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to mount cifs (windows) partition through fstab (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-mount-cifs-windows-partition-through-fstab-804458/)

pratikp 04-27-2010 03:34 AM

unable to mount cifs (windows) partition through fstab
 
I have mounted window shared partition to my RHEL 5.4 server through following command

Quote:

mount -t cifs //172.20.x.x/download/ -o username=ntusername,password=ntpassword /test
but I'm unable to mount the same via fstab.

172.20.x.x is my windows server
download is my shared folder name.

please help suggest me correct fstab entries

My current fstab entry is as follows


Quote:

//172.20.21.22/download /test cifs username=ntusername,password=ntpassword 0 0

smoker 04-27-2010 06:22 AM

Try this post :
http://www.linuxquestions.org/questi...2/#post3268867

pratikp 05-03-2010 05:39 AM

Quote:

Originally Posted by smoker (Post 3949155)

my problem is different than above one

I am able to mount the partition when I execute mount -a command

But at boot time consle shows message

cifs mount failed
no route to host

michaelk 05-03-2010 05:54 AM

Typically the boot sequence will mount the devices via /etc/fstab prior to the network being activated. There is a option to delay mounting network devices called _netdev. See man mount for more details.

pratikp 05-03-2010 06:11 AM

I have tried _netdev option but still no luck.


dmesg shows following error

CIFS VFS: Error connecting to IPv4 socket. Aborting operation
CIFS VFS: cifs_mount failed w/return code = -113

smoker 05-03-2010 06:47 AM

Maybe you should read that link again - all of it.


All times are GMT -5. The time now is 08:51 PM.