[Pkg-samba-maint] Bug#695533: cifs-utils: mount.cifs errors on mount option _netdev
Hugh Davenport
hugh at davenport.net.nz
Sun Dec 9 21:01:50 UTC 2012
Package: cifs-utils
Version: 2:4.5-2+squeeze1
Severity: important
Hi,
>From mount(8), under "FILESYSTEM INDEPENDENT MOUNT OPTIONS"
there is a mount option "_netdev" which is meant to require
the network to be up before attempting to mount. Full description
is below.
When the system is booted, I get the following in my error log:
Dec 10 09:42:03 fir kernel: [ 21.068520] CIFS: Unknown mount option _netdev
Dec 10 09:42:03 fir kernel: [ 21.116416] CIFS VFS: Error connecting to socket. Aborting operation
Dec 10 09:42:03 fir kernel: [ 21.116423] CIFS VFS: cifs_mount failed w/return code = -111
Dec 10 09:42:03 fir kernel: [ 21.116459] CIFS: Unknown mount option _netdev
The filesystem is not mounted. Once I get a shell, I can `mount -a`
and the mount comes up correctly.
This has worked on mount.nfs, but not on mount.cifs. A bit of
googling found the following bug report in redhat that has been
resolved.
https://bugzilla.redhat.com/show_bug.cgi?id=607309
I also found the following from the debian-users mailing list
which didn't help.
http://comments.gmane.org/gmane.linux.debian.user/391641
Cheers,
Hugh
>From mount(8):
_netdev
The filesystem resides on a device that requires network access
(used to prevent the system from attempting to mount these
filesystems until the network has been enabled on the system).
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cifs-utils depends on:
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libkeyutils1 1.4-1 Linux Key Management Utilities (li
ii libkrb5-3 1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries
ii libtalloc2 2.0.1-1 hierarchical pool based memory all
ii samba-common 2:3.5.6~dfsg-3squeeze8 common files used by both the Samb
cifs-utils recommends no packages.
Versions of packages cifs-utils suggests:
ii smbclient 2:3.5.6~dfsg-3squeeze8 command-line SMB/CIFS clients for
-- no debconf information
More information about the Pkg-samba-maint
mailing list