View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jul 20, 2008 11:26 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Last edited by graysky on Sun Jul 20, 2008 11:48 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 20, 2008 11:43 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Boot into single user mode. You can also get there by using "telinit 1".


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 20, 2008 11:55 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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 :)

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu