From: Eric Sandeen <sandeen@sandeen.net>
To: stress_buster <leo1783@yahoo.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: umount fails with device is busy
Date: Mon, 21 Mar 2011 10:45:44 -0500 [thread overview]
Message-ID: <4D8772A8.9050201@sandeen.net> (raw)
In-Reply-To: <31199414.post@talk.nabble.com>
On 3/21/11 5:53 AM, stress_buster wrote:
>
> I'm trying to run xfs_repair on my filesystem:
> Firstly to unmount the fs
>
> Quote:
> umount /myfs
> umount: /myfs: device is busy
> umount: /myfs: device is busy
>
> Quote:
> lsof /dev/sda
>
> -show none ie nothing seems to be 'touching' the disk.
> confused why its still showing device is busy
>
> i did a force unmount then
>
> Quote:
> #umount -l /dev/sda
that's not really enough.
Checking swap is a good idea, as is looking for loopback mounted
files on the fs...
-Eric
> but then when I try to run xfs_repair
>
> Quote:
> xfs_repair -n /dev/sda, it
> xfs_repair: /dev/sda contains a mounted and writable filesystem
>
> fatal error -- couldn't initialize XFS library
>
> lsof /dev/sda
> shows nothing ie nothing seems to be 'touching' the disk.
> makes me wonder whether this is a xfs issue now??
>
>
> Any thoughts???
>
> Thanks
> David
>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2011-03-21 15:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 10:53 umount fails with device is busy stress_buster
2011-03-21 11:29 ` Roger Willcocks
2011-03-21 15:45 ` Eric Sandeen [this message]
2011-03-22 5:13 ` Dave Chinner
2011-04-07 14:45 ` Leo Davis
-- strict thread matches above, loose matches on Subject: below --
2011-03-21 10:54 stress_buster
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=4D8772A8.9050201@sandeen.net \
--to=sandeen@sandeen.net \
--cc=leo1783@yahoo.com \
--cc=linux-xfs@oss.sgi.com \
/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