public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to unmount bind-mounted /dev?
Date: Sun, 1 May 2011 08:54:10 +0100	[thread overview]
Message-ID: <201105010854.30963.michaelkintzios@gmail.com> (raw)
In-Reply-To: <4DBC9FD6.1070106@wonkology.org>

[-- Attachment #1: Type: Text/Plain, Size: 1428 bytes --]

On Sunday 01 May 2011 00:48:38 Alex Schuster wrote:
> Mark Shields writes:
> > On Sat, Apr 30, 2011 at 5:15 AM, Alex Schuster <wonko@wonkology.org
> > 
> > <mailto:wonko@wonkology.org>> wrote:
> >     I just wrote:
> >     > Thomas Ulrich Nockmann writes:
> >     >> try 'umount -l /32/de'
> >     > 
> >     > Cool, this does the trick!
> >     
> >     But it does not help :(  After unmounting /32/dev, I can finally
> >     unmount /32, but now the fsck fails:
> >     
> >     weird ~ # fsck -Cf /dev/mapper/32
> >     fsck from util-linux 2.19
> >     e2fsck 1.41.14 (22-Dec-2010)
> >     fsck.ext3: Device or resource busy while trying to open
> >     /dev/mapper/32 Filesystem mounted or opened exclusively by another
> >     program?
> >     
> >     lsof and fuser report nothing. I guess I will have to reboot then.
> > 
> > Try a lazy umount, or forced umount?
> > 
> > # umount -f
> > # umount -l
> 
> The lazy unmount was Thomas' hint already and worked, the partition is
> no longer mounted. But I cannot fsck it, it is still in use. cryptsetup
> luksClose works neither.
> It's no big trouble, but still I'm curious why this is.
> 
> 	Wonko

Asking the obvious:  could this message be there because this partition is 
still mounted?  Did you check that this partition has been unmounted from all 
mount points, both original mount point and bind-mount?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2011-05-01  7:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 23:42 [gentoo-user] How to unmount bind-mounted /dev? Alex Schuster
2011-04-30  6:10 ` Thomas Ulrich Nockmann
2011-04-30  9:57   ` Alex Schuster
2011-04-30 10:15     ` Alex Schuster
2011-04-30 23:22       ` Mark Shields
2011-04-30 23:48         ` Alex Schuster
2011-05-01  7:54           ` Mick [this message]
2011-05-01 13:08             ` Alex Schuster
2011-05-01 14:42               ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201105010854.30963.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox