umount fails with device is busy
Eric Sandeen
sandeen at sandeen.net
Mon Mar 21 10:45:44 CDT 2011
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
>
More information about the xfs
mailing list