Bug 716339

Summary: CIFS shares not mounted at boot
Product: [Fedora] Fedora Reporter: Brad Watson <watsonbrad>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 15:47:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brad Watson 2011-06-24 03:21:13 UTC
I have the following in /etc/fstab:

//BRAD/BigbubbaBackup   /mnt/BigbubbaBackup   cifs   auto,user=xxx,password=xxx   0 0
//BRAD/Brad1.5TB        /mnt/Brad1500         cifs   auto,user=xxx,password=xxx   0 0
//BRAD/Brad750GB        /mnt/Brad750          cifs   auto,user=xxx,password=xxx   0 0
//BRAD/BradW            /mnt/BradW            cifs   auto,user=xxx,password=xxx   0 0

dmesg has the following at its end:

[   22.565265] CIFS VFS: Error connecting to socket. Aborting operation
[   22.565275] CIFS VFS: cifs_mount failed w/return code = -101
[   22.565301] CIFS VFS: Error connecting to socket. Aborting operation
[   22.565306] CIFS VFS: cifs_mount failed w/return code = -101
[   22.565322] CIFS VFS: Error connecting to socket. Aborting operation
[   22.565327] CIFS VFS: cifs_mount failed w/return code = -101
[   22.569218] CIFS VFS: Error connecting to socket. Aborting operation
[   22.569229] CIFS VFS: cifs_mount failed w/return code = -101
[   22.575290] mount[840]: mount error(101): Network is unreachable
[   22.575299] mount[840]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[   22.578370] r8169 0000:04:00.0: p37p1: link down
[   22.578380] r8169 0000:04:00.0: p37p1: link down
[   22.578681] ADDRCONF(NETDEV_UP): p37p1: link is not ready
[   22.580323] mount[844]: mount error(101): Network is unreachable
[   22.580332] mount[844]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[   22.586143] mount[853]: mount error(101): Network is unreachable
[   22.586154] mount[853]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[   22.592200] mount[849]: mount error(101): Network is unreachable
[   22.592209] mount[849]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[   22.971877] sshd (1016): /proc/1016/oom_adj is deprecated, please use /proc/1016/oom_score_adj instead.
[   25.003860] r8169 0000:04:00.0: p37p1: link up
[   25.004164] ADDRCONF(NETDEV_CHANGE): p37p1: link becomes ready
[   25.791691] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[   25.812121] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
[   25.812127] [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
[   35.394015] p37p1: no IPv6 routers present
[  636.464937] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[ 4336.447342] CIFS VFS: Autodisabling the use of server inode numbers on \\BRAD\BigbubbaBackup. This server doesn't seem to support them properly. Hardlinks will not be recognized on this mount. Consider mounting with the "noserverino" option to silence this message.
[61224.953329] type=1305 audit(1308880718.077:3454): audit_pid=0 old=832 auid=4294967295 ses=4294967295 res=1
[61225.001582] type=1305 audit(1308880718.125:3455): audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1
[61859.938779] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
[61872.234491] fuse init (API version 7.16)
[61873.954992] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[61873.975970] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
[61873.975976] [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
[64078.234746] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
[64227.714160] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)

Clearly the CIFS stuff is happening before "link up." A "mount -a" from the terminal immediately mounts the CIFS shares.

Comment 1 Bill Nottingham 2011-06-24 20:02:47 UTC
I believe this is likely a dup of 692008.

Comment 2 Brad Watson 2011-06-25 00:34:47 UTC
Bill,

Looks like this may be the same as 692008. I have left this comment there:

I'm having a similar problem mounting CIFS shares. I am also using a background script started from rc.local. I end up with my shares mounted by the time I can get to a command prompt to check them. I do have SELinux disabled, but I haven't attempted to determine if that has something to do with this. Certainly seems to be some bugs here.

Is there anything more I can do to help troubleshoot this for the project?

Comment 3 Bill Nottingham 2011-06-27 15:47:12 UTC
Marking as a duplicate, then.

*** This bug has been marked as a duplicate of bug 692008 ***