stale cifs mount can't be unmounted: "This utility only unmounts cifs filesystems"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Binary package hint: samba
Hello, I think this is superficially similar to #427896 but I am not certain it's the same thing.
On occasion, perhaps all the time (I do not know - will try to find out) I cannot unmount a CIFS mount. I use mount/umount (thus mount.cifs/
//tower3/
I notice this after resuming from suspend so I presume the mount has become stale. However, I consistently get
# umount ~jon/h
This utility only unmounts cifs filesystems.
the contents of h cannot be enumerated. df -h output shows the mount present, and I believe it is in the mtab but not /proc/mounts (will confirm next time I experience it).
One workaround appears to be to mount something on top of the stale mount, then attempt to remove that. I think. Again, I will confirm this next time I experience it.
package is source samba binary smbfs
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: smbfs 2:3.4.7~
ProcVersionSign
Uname: Linux 2.6.32-
Architecture: i386
CIFSMounts: Error: command ['mount', '|', 'grep', 'cifs'] failed with exit code 1: mount: only root can do that
Date: Thu Aug 19 09:34:18 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SambaClientRegr
SourcePackage: samba
affects: | samba (Ubuntu) → cifs-utils (Ubuntu) |
This seems related to 620382. Not a duplicate, but a similar failure in smbmount (or whatever 'umount' ends up invoking for a cifs filesystem).