Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #505

Umount not being done

From Haines Brown <haines@HistoricalMaterialism.info>
Newsgroups comp.os.linux.hardware
Subject Umount not being done
Date 2011-07-21 08:52 -0400
Message-ID <87sjpzzth6.fsf@engels.HistoricalMaterialism.info> (permalink)

Show all headers | View raw


I'm running Debian Squeeze and have encountered a problem in that a
mount point is busy and can't be unmounted. When a USB external
drive (mount point is /media/mirror) is udev is forced
to create a new device file. I can umount these, but 

  $ mount
  ...
  /dev/sdb1 on /media/mirror type ext3 (rw)
  fusectl on /sys/fs/fuse/connections type fusectl (rw)
  /dev/sdc1 on /media/mirror type ext3 (rw)
  /dev/sdd1 on /media/mirror type ext3 (rw)

Subsequent mountings can be unmounted, but sdd1 is hung:

  # umount -fv /dev/sdb1
  umount: cannot umount /dev/sdb1 -- /dev/sdd1 is mounted over it on the
          same point. 

  # umount -fv /dev/sdc1
  umount: cannot umount /dev/sdc1 -- /dev/sdd1 is mounted over it on the
          same point. 

  # umount -fv /dev/sdd1
  umount2: Device or resource busy
  umount: /media/mirror: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
  umount2: Device or resource busy

There were bug reports for mountusb, but in those cases, /proc/mount
showed the mount point not mounted, but in my case they are mounted:

  $ cat /proc/mounts | grep mirror
  /dev/sdb1 /media/mirror ext3 ro,relatime,errors=continue,data=ordered 0 0
  /dev/sdc1 /media/mirror ext3 rw,relatime,errors=continue,data=ordered 0 0
  /dev/sdd1 /media/mirror ext3 rw,relatime,errors=continue,data=ordered 0 0 

Haines Brown

Back to comp.os.linux.hardware | Previous | NextNext in thread | Find similar


Thread

Umount not being done Haines Brown <haines@HistoricalMaterialism.info> - 2011-07-21 08:52 -0400
  Re: Umount not being done Richard Kettlewell <rjk@greenend.org.uk> - 2011-07-21 14:48 +0100
    Re: Umount not being done Haines Brown <haines@HistoricalMaterialism.info> - 2011-07-22 08:39 -0400
      Re: Umount not being done Bill Marcum <bill@lat.localnet> - 2011-07-22 14:11 -0400
        Re: Umount not being done Haines Brown <haines@HistoricalMaterialism.info> - 2011-07-23 04:01 -0400
  Re: Umount not being done notbob <notbob@notbob.invalid> - 2011-07-21 13:55 +0000
    Re: Umount not being done J G Miller <miller@yoyo.ORG> - 2011-07-21 15:15 +0000
      Re: Umount not being done ebenZEROONE@verizon.net (Hactar) - 2011-07-21 14:47 -0400
        Re: Umount not being done Richard Kettlewell <rjk@greenend.org.uk> - 2011-07-22 15:12 +0100
    Re: Umount not being done Haines Brown <haines@HistoricalMaterialism.info> - 2011-07-22 08:56 -0400
      Re: Umount not being done J G Miller <miller@yoyo.ORG> - 2011-07-22 13:18 +0000
      Re: Umount not being done Richard Kettlewell <rjk@greenend.org.uk> - 2011-07-22 14:42 +0100
        Re: Umount not being done ebenZEROONE@verizon.net (Hactar) - 2011-07-22 11:30 -0400
        Re: Umount not being done "Trevor Hemsley" <Trevor.Hemsley@mytrousers.ntlworld.com> - 2011-07-22 17:45 -0500

csiph-web