[Bug 648609] [NEW] unable to unmount broken cifs mount

Jon Dowland jmtd at debian.org
Mon Sep 27 09:29:46 BST 2010


Public bug reported:

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 at sobek:~# mount  | grep jon/h
//tower3/home13/njd33 on /home/jon/h type cifs (rw,mand)
root at sobek:~# ls ~jon/h
ls: cannot access /home/jon/h: No such file or directory
root at sobek:~# df -h | grep -C1 jon/h
df: `/home/jon/h': No such file or directory
root at sobek:~# umount.cifs ~jon/h
This utility only unmounts cifs filesystems.
root at 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 at sobek:/home/jon# mkdir h
root at sobek:/home/jon# mount h
Password:
root at sobek:/home/jon# mount | grep jon/h
//tower3/home13/njd33 on /home/jon/h type cifs (rw,mand)
//tower3/home13/njd33 on /home/jon/h type cifs (rw,mand,noexec,nosuid,nodev)


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~dfsg-1ubuntu3.2
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
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
SambaClientRegression: No
SourcePackage: samba

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
unable to unmount broken cifs mount
https://bugs.launchpad.net/bugs/648609
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list