Gentoo Archives: gentoo-user

From: Mark Shields <laebshade@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to unmount bind-mounted /dev?
Date: Sat, 30 Apr 2011 23:24:23
Message-Id: BANLkTin=46v+n+4-DBh1OYWjNDrbyO2BPg@mail.gmail.com
In Reply to: Re: [gentoo-user] How to unmount bind-mounted /dev? by Alex Schuster
1 On Sat, Apr 30, 2011 at 5:15 AM, Alex Schuster <wonko@×××××××××.org> wrote:
2
3 > I just wrote:
4 >
5 > > Thomas Ulrich Nockmann writes:
6 > >
7 > >> On Saturday 30 April 2011 Alex Schuster wrote:
8 > >
9 > >>> weird ~ # umount /32/dev
10 > >>> umount: /32/dev: device is busy.
11 > >>> (In some cases useful info about processes that use
12 > >>> the device is found by lsof(8) or fuser(1))
13 > >> try 'umount -l /32/de'
14 > >
15 > > Cool, this does the trick!
16 >
17 > But it does not help :( After unmounting /32/dev, I can finally unmount
18 > /32, but now the fsck fails:
19 >
20 > weird ~ # fsck -Cf /dev/mapper/32
21 > fsck from util-linux 2.19
22 > e2fsck 1.41.14 (22-Dec-2010)
23 > fsck.ext3: Device or resource busy while trying to open /dev/mapper/32
24 > Filesystem mounted or opened exclusively by another program?
25 >
26 > lsof and fuser report nothing. I guess I will have to reboot then.
27 >
28 > Wonko
29 >
30 >
31 Try a lazy umount, or forced umount?
32
33 # umount -f
34 # umount -l

Replies

Subject Author
Re: [gentoo-user] How to unmount bind-mounted /dev? Alex Schuster <wonko@×××××××××.org>