LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-27-2010, 04:34 AM   #1
pratikp
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Rep: Reputation: 0
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
 
Old 04-27-2010, 07:22 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Try this post :
http://www.linuxquestions.org/questi...2/#post3268867
 
Old 05-03-2010, 06:39 AM   #3
pratikp
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by smoker View Post
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
 
Old 05-03-2010, 06:54 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,937

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
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.
 
Old 05-03-2010, 07:11 AM   #5
pratikp
LQ Newbie
 
Registered: Apr 2010
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 05-03-2010, 07:47 AM   #6
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249
Maybe you should read that link again - all of it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 03:48 PM
fstab smbfs mount is really mounting as cifs?? jmpetre Linux - Newbie 1 09-03-2009 06:26 PM
cifs mount & fstab entries JeffC1 Linux - Newbie 15 05-15-2009 07:51 PM
cifs mount in fstab help nitrohuffer2001 Linux - Software 1 04-22-2007 06:09 PM


All times are GMT -5. The time now is 06:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration