Hi guys,
I've been dealing with this issue for a while by just using noauto on the cifs fstab entries but i am sick of mounting the drives after booting is finished and restarting dropbox (since the dropbox app is linked to 1 of those shares and complains since it's not there) everytime i turn on my computer so I guess I'll finally ask for help. Whats weird is that i just removed the noauto option from the following fstab entries
Code:
//192.168.0.5/fat32 /media/fat32 cifs _netdev,noexec,credentials=/etc/samba/.credentials,nounix,uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
//192.168.0.50/public /mnt/circle cifs _netdev,noexec,username=daniel,password=,nounix,uid=1000,gid=1000,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
and now the computer doesn't hang permanently anymore (it used to which is why I added the noauto option) but it does make it hang for about 1 minute before it continues.
When I boot up Xubuntu 12.04.3 running kernel 3.7.0-030700-generic I see the following errors which is when it hangs
Code:
CIFS VFS: Error connecting to socket. Aborting operation
[ 16.876072] CIFS VFS: cifs_mount failed w/return code = -101
[ 16.876538] CIFS VFS: Error connecting to socket. Aborting operation
[ 16.876615] CIFS VFS: cifs_mount failed w/return code = -101
[ 16.930552] NFS: Registering the id_resolver key type
[ 16.930565] Key type id_resolver registered
[ 16.930566] Key type id_legacy registered
[ 16.946148] EXT4-fs (sda6): mounted filesystem with ordered data mode. Opts: (null)
[ 16.952197] CIFS VFS: Error connecting to socket. Aborting operation
[ 16.952395] CIFS VFS: Error connecting to socket. Aborting operation
[ 16.952472] CIFS VFS: cifs_mount failed w/return code = -101
[ 16.952722] CIFS VFS: cifs_mount failed w/return code = -101
[ 17.059344] CIFS VFS: Error connecting to socket. Aborting operation
[ 17.059419] CIFS VFS: cifs_mount failed w/return code = -101
[ 17.060055] CIFS VFS: Error connecting to socket. Aborting operation
[ 17.060135] CIFS VFS: cifs_mount failed w/return code = -101
It's almost as if it's trying to mount the shares before the network it up. The boot process continues after around 1 minute. Is there anything I should fix in my fstab? I know it's not a huge deal to wait an extra 1 minute but that's not the point, it should be booting up correctly and quickly. Any help would be appreciated.