LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-04-2003, 05:19 PM   #1
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Rep: Reputation: 30
How do I run fsck? RedHat 9


I thought this was it but I was wrong
/sbin/fsck /dev/hda*
That doesn't scan it just shows info.
 
Old 09-04-2003, 05:23 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
/sbin/fsck /dev/hda
 
Old 09-04-2003, 05:30 PM   #3
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Original Poster
Rep: Reputation: 30
that doesn't RUN it.....................

I need to scan /dev/hda2!!!!
and all that does is show some info in like .3 sec
 
Old 09-04-2003, 05:39 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
man fsck - as always, the man pages always have the answer..

Code:
-a     Automatically  repair  the  file system without any 
questions (use this  option  with caution).  Note that  e2fsck(8)  
supports -a for backwards compati_bility only.  This option is 
mapped to e2fsck's  -p option  which  is safe to use, unlike the -a 
option that most file system checkers support.

-r     Interactively repair the filesystem (ask for  con_firmations). 
Note:  It is generally a bad idea to use this option if multiple 
fsck's are being run in parallel.  Also note that this is e2fsck's 
default behavior; it supports  this  option  for backwards 
compatibility reasons only.
 
Old 09-04-2003, 06:35 PM   #5
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Be careful if you try to run it, I have tried and i get a message saying that it is not necessary and dangerous. I beleive it is ran automatically at bootup anyway.
 
1 members found this post helpful.
Old 09-05-2003, 02:11 AM   #6
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
yes, it is ran automatically at boot up if found any error in your HD
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in partition. Unexpected Inconsistency, won't let me run fsck! mlsbraves Slackware 2 04-15-2005 09:03 PM
Run fsck regularly? macnut Linux - General 1 12-27-2004 07:36 AM
Run fsck on root (/) at boot Sako73 Linux - Newbie 2 12-02-2004 02:14 PM
How run fsck? lectraplayer Linux - Newbie 1 10-05-2003 08:38 PM
How to run fsck? EnVoy Linux - General 2 03-20-2003 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:59 AM.

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