Results 1 to 6 of 6
Having problems auto mounting a CIFS share. These are the errors I get from the kern.log:
20.718374] CIFS VFS: Error connecting to socket. Aborting operation
[ 20.718377] CIFS VFS: cifs_mount ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-02-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 3
CIFS VFS: cifs_mount failed w/return code = -101
Having problems auto mounting a CIFS share. These are the errors I get from the kern.log:
20.718374] CIFS VFS: Error connecting to socket. Aborting operation
[ 20.718377] CIFS VFS: cifs_mount failed w/return code = -101
and here is the fstab entry:
//10.10.1.11/music /rob_diskstation/mnt cifs _netdev,,credentials=/home/randellr/.smbcredentials,uid=1000 0 0
I can mount the share manually...I am I missing something?
Any help would be appreciated.
Thanks.
- 05-03-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,141
I don't understand why you have an empty option in the fstab entry (the dual ,, entry):
//10.10.1.11/music /rob_diskstation/mnt cifs _netdev,,credentials=/home/randellr/.smbcredentials,uid=1000 0 0
should be (I think)
//10.10.1.11/music /rob_diskstation/mnt cifs _netdev,credentials=/home/randellr/.smbcredentials,uid=1000 0 0Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-03-2011 #3Just Joined!
- Join Date
- May 2011
- Posts
- 3
Rubberman...Thanks for the reply. The extra comma in the fstab was a typo. I removed it but the results were the same. Any other suggestion would be greatly appreciated. BTW I'm using 11.04 if that helps.
- 05-03-2011 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,141
Sorry. My latest Ubuntu is 10.10. I'm not brave enough to try 11.04 yet, other than in a virtual machine (when I get around to it).
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 05-03-2011 #5Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,722
You have a socket error...and are trying to mount a network share at bootup...but can mount it after the system boots without a problem.
=> The network is likely not available yet when this mount is attempted.
You may need to delay the mount - possibly put the mount command in the /etc/rc.local file which should run after the "runlevel" is reached.
- 05-04-2011 #6Just Joined!
- Join Date
- May 2011
- Posts
- 3
HROAdmin26 thanks for your help in this matter. Mounting the share drive using the /etc//rc.local file seems to work well and solves my boot problem.


Reply With Quote
