LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-19-2005, 01:46 AM   #1
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
How to fsck / while system running


Hi,
Is there any way to run fsck while the system is running. I'm trying to mount the system ro (ex. mount -o remount,ro /) but it keeps telling me the system is busy. Any ideas? Thanks for your time..
 
Old 07-19-2005, 02:41 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what runlevel are you in? did you offload the filesystem ( unmount /proc, /sys, etc.. whatever is in your /etc/fstab that gets mounted at boot ( do "cat /etc/mtab" to see what is currently mounted))?

Last edited by __J; 07-19-2005 at 02:43 AM.
 
Old 07-19-2005, 10:43 AM   #3
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
I was in runlevel 5. I know if I go to runlevel 1, I can remount ro and run fsck, but I was wondering if it can be done on runlevel 3 or 5.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running fsck clinton Linux - Software 2 01-25-2005 07:12 PM
mount -r while fsck is running? aaccomazzi Linux - Hardware 1 10-20-2004 04:00 PM
Is there any point in running fsck.ext3? Rundi Linux - General 11 03-12-2004 09:28 AM
System shutdown uncleanly; fsck? mac_phil Linux - General 2 11-02-2003 01:18 AM
running fsck rbrooks Linux - Newbie 1 05-16-2002 04:30 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration