Skip to contentSkip to conversation

umount fails with device is busy

DISCUSSION stress_buster 1 participant 1 message Mar 21, 2011

lore
Share & tools
lore
#0 lore raw

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

Signature · 7 lines
View this message in context: http://old.nabble.com/umount-fails-with-device-is-busy-tp31199421p31199421.html
Sent from the linux-xfs mailing list archive at Nabble.com.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs