[Bug 648609] Re: unable to unmount broken cifs mount

Launchpad Bug Tracker 648609 at bugs.launchpad.net
Sat Jan 3 00:43:45 UTC 2015


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cifs-utils (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cifs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/648609

Title:
  unable to unmount broken cifs mount

Status in cifs-utils package in Ubuntu:
  Confirmed

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 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/648609/+subscriptions



More information about the foundations-bugs mailing list