Bug 7088 - mount.cifs and network support
mount.cifs and network support
Product: CifsVFS
Classification: Unclassified
Component: user space tools
x64 Linux
: P3 enhancement
: ---
Assigned To: Jeff Layton
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2010-02-02 12:14 UTC by Derkjan
Modified: 2010-10-05 06:08 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Derkjan 2010-02-02 12:14:10 UTC
I have a SMB network mount in /etc/fstab, which is supposed to be mounted at boot time. This fails most of the the time with errors like these:

CIFS VFS: No response for cmd 114 mid 1
CIFS VFS: cifs_mount failed w/return code = -112

I am fairly certain this is being caused by /etc/fstab being processed when the network isn't up yet, because mounting the share manually afterwards always works.

The regular mount command has the _netdev mount option, which tells mount to hold on until the network has become available.

IMHO it would be a good thing if mount.cifs grew this option too.
Comment 1 Jeff Layton 2010-10-05 06:08:15 UTC
Actually... /bin/mount doesn't do anything with _netdev, it's ignored. That's intended for use by init scripts (at least according to Karel Zak, the util-linux-ng maintainer).

Current versions of mount.cifs and the kernel also ignore it.