unable to unmount broken cifs mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Binary package hint: samba
I mount a CIFS share and from time to time the mount becomes invalid and cannot be unmounted. The utility complains that it can only unmount CIFS filesystems:
root@sobek:~# mount | grep jon/h
//tower3/
root@sobek:~# ls ~jon/h
ls: cannot access /home/jon/h: No such file or directory
root@sobek:~# df -h | grep -C1 jon/h
df: `/home/jon/h': No such file or directory
root@sobek:~# umount.cifs ~jon/h
This utility only unmounts cifs filesystems.
root@sobek:~# umount ~jon/h
This utility only unmounts cifs filesystems.
This utility only unmounts cifs filesystems.
The bizarre thing is, I can mkdir ~jon/h, and re-mount on top.
How on earth did my mount directory get removed, even with a mount on top? I have not done this intentionally myself.
root@sobek:
root@sobek:
Password:
root@sobek:
//tower3/
//tower3/
I normally try to mount this on login via libpam-mount (and the hung mount in the example above is one such mount, after a cold boot and single login). However I have seen the unmountable stuck filesystem occur even with a hand-made mount.
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: Mon Sep 27 09:20:02 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) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Could you attach the configuration and outline the steps used to mount the cifs share?