LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-10-2007, 06:19 AM   #1
harshala09
LQ Newbie
 
Registered: Jun 2007
Location: bangalore
Distribution: RHEL
Posts: 9

Rep: Reputation: 0
Unhappy fsck alternative


hi all,...


im new to UNIX..and..

when i turn on my PC, it asks me to run fsck command. it is straining to run manually for longer time.

Kindly let me know of any other command that automatically does this operation.


im using RHEL.


thank you.....

Last edited by harshala09; 09-10-2007 at 06:21 AM.
 
Old 09-10-2007, 08:13 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

If it's asking you to fsck, then the machine probably wasn't shut down cleanly. How do you shut your machine down?

Dave
 
Old 09-11-2007, 05:26 AM   #3
harshala09
LQ Newbie
 
Registered: Jun 2007
Location: bangalore
Distribution: RHEL
Posts: 9

Original Poster
Rep: Reputation: 0
by the shut down option in taskbar
 
Old 09-11-2007, 08:47 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Is fsck just taking a long time to run, or is it dropping you into a terminal shell with instructions to "run fsck manually?" If your problem is the "terminal shell/run manually" one, then the "quick check" run by fsck when the system boots has found some errors in you hard drive(s), and you really need to fix them before proceeding. So you should just run fsck manually to correct any errors it finds. (If it can -- sometimes the errors are that the drive is failing and needs to be replaced.)

On the other hand, if you're complaining that the "quick check" is taking too long, it may just be that fsck is running a "complete check" instead of the usual "quick check." Typically, when you create an ext2 or ext3 file system, fsck is told to run a "complete" check every 20 or 30 times the file system is mounted. (You can change the "complete check" frequency with the tune2fs command.) Let it run to completion and you should not be bothered by fsck until the next "complete check" is run.

Of course, if you have a few hundred partitions attached to you system, even a "quick" fsck can take a long time. But, if you've got that much hardware attached to you system, you really need to read a good book on Linux system administration or take some classes on administration.
 
  


Reply



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
Need help doing a fsck JosephS Slackware 8 08-09-2007 12:18 PM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 07:51 AM
again fsck Toasti Linux - Newbie 2 09-29-2003 01:55 AM
How could I do the fsck? Alasis Linux - General 1 08-09-2002 08:55 PM
fsck leihsun Linux - General 1 07-02-2002 06:47 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration