public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* umount fails with device is busy
@ 2011-03-21 10:53 stress_buster
  2011-03-21 11:29 ` Roger Willcocks
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: stress_buster @ 2011-03-21 10:53 UTC (permalink / raw)
  To: linux-xfs


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  

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 

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 6+ messages in thread
* umount fails with device is busy
@ 2011-03-21 10:54 stress_buster
  0 siblings, 0 replies; 6+ messages in thread
From: stress_buster @ 2011-03-21 10:54 UTC (permalink / raw)
  To: linux-xfs


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.

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-07 14:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21 10:53 umount fails with device is busy stress_buster
2011-03-21 11:29 ` Roger Willcocks
2011-03-21 15:45 ` Eric Sandeen
2011-03-22  5:13 ` Dave Chinner
2011-04-07 14:45   ` Leo Davis
  -- strict thread matches above, loose matches on Subject: below --
2011-03-21 10:54 stress_buster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox