Quantcast

umount fails with device is busy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

umount fails with device is busy

stress_buster
I'm trying to run xfs_repair on my filesystem:
Firstly to unmount the fs

umount /myfs
umount: /myfs: device is busy
umount: /myfs: device is busy  

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

#umount -l /dev/sda  

but then when I try to run xfs_repair

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
Loading...