umount fails with device is busy

Leo Davis leo1783 at yahoo.com
Thu Apr 7 09:45:30 CDT 2011


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 at fromorbit.com>
To: stress_buster <leo1783 at yahoo.com>
Cc: linux-xfs at 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 at fromorbit.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20110407/1b71a09c/attachment.htm>


More information about the xfs mailing list