xfs
[Top] [All Lists]

umount fails with device is busy

To: linux-xfs@xxxxxxxxxxx
Subject: umount fails with device is busy
From: stress_buster <leo1783@xxxxxxxxx>
Date: Mon, 21 Mar 2011 03:54:09 -0700 (PDT)
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 

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

<Prev in Thread] Current Thread [Next in Thread>