Re: umount fails with device is busy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx>
To: stress_buster <leo1783@xxxxxxxxx>
Cc: linux-xfs@xxxxxxxxxxx
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@xxxxxxxxxxxxx
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs

[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux