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:


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

r...@sobek:/home/jon# mkdir h
r...@sobek:/home/jon# mount h
Password:
r...@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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to