LinHES Forums
http://forum.linhes.org/

xfs_check question - single user mode or..???
http://forum.linhes.org/viewtopic.php?f=6&t=18599
Page 1 of 1

Author:  graysky [ Sun Jul 20, 2008 11:26 am ]
Post subject:  xfs_check question - single user mode or..???

Damn power went out in the middle of a recording this afternoon and I want to make sure there isn't any damage to my XFS filesystem. As I understand it, one does not use fsck on XFS file systems, but rather xfs_check. According to the xfs_check man page, I have to umount my partition in question all together.

When I attempt a
Code:
#umount /myth
umount: /myth: device is busy
umount: /myth: device is busy


How can I stop all active programs from using my /myth partition so I can use xfs_check?

Author:  tjc [ Sun Jul 20, 2008 11:43 am ]
Post subject: 

Boot into single user mode. You can also get there by using "telinit 1".

Author:  graysky [ Sun Jul 20, 2008 11:55 am ]
Post subject: 

tjc wrote:
Boot into single user mode. You can also get there by using "telinit 1".


Thanks for the quick reply :) I tried that from an ssh console, but seemingly nothing happened (still got busy errors when attempting a umount of my /myth). Is the effect instantaneous or..?

Code:
# telinit 1
# umount /dev/hda3
umount: /myth: device is busy
umount: /myth: device is busy


I found this through google and killed the offending processes. Now I am able to umount it :)

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/