public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Leo Davis <leo1783@yahoo.com>
To: Dave Chinner <david@fromorbit.com>
Cc: linux-xfs@oss.sgi.com
Subject: Re: umount fails with device is busy
Date: Thu, 7 Apr 2011 07:45:30 -0700 (PDT)	[thread overview]
Message-ID: <18613.58622.qm@web112910.mail.gq1.yahoo.com> (raw)
In-Reply-To: <20110322051353.GA15270@dastard>


[-- Attachment #1.1: Type: text/plain, Size: 1410 bytes --]

missed your reply on this one.... I'd almost given up on this one.....

>Why do you need to do this?
I have an app which occassionally throws errors suggesting the fs is at fault. 
But in most cases, I'm not sure whether it's the fs or the raid underneath thats 
causing it.
So I usually run xfs_repair with the -n switch.

Did you have an oops or a filesystem shutdown? i.e. anything in
syslog of note?

not recently, but in the past had some unclean shutdowns and on one instance I 
did a umount -l on the raid set when it refused to unmount gracefully.
But I had re-raided the server since.



________________________________
From: Dave Chinner <david@fromorbit.com>
To: stress_buster <leo1783@yahoo.com>
Cc: linux-xfs@oss.sgi.com
Sent: Tue, March 22, 2011 10:43:53 AM
Subject: Re: umount fails with device is busy

On Mon, Mar 21, 2011 at 03:53:04AM -0700, stress_buster wrote:
> 
> I'm trying to run xfs_repair on my filesystem:

Why do you need to do this?

> 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

Did you have an oops or a filesystem shutdown? i.e. anything in
syslog of note?

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

[-- Attachment #1.2: Type: text/html, Size: 2317 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

  reply	other threads:[~2011-04-07 14: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
2011-03-22  5:13 ` Dave Chinner
2011-04-07 14:45   ` Leo Davis [this message]
  -- 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=18613.58622.qm@web112910.mail.gq1.yahoo.com \
    --to=leo1783@yahoo.com \
    --cc=david@fromorbit.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