Re: umount fails with device is busy

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

 



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@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