LinuxQuestions.org
Help answer threads with 0 replies.
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 07-31-2004, 04:26 PM   #1
colmmagoo
LQ Newbie
 
Registered: Jul 2004
Posts: 12

Rep: Reputation: 0
Trying to figure out error in file system check


Hi,

I am seeing a [FAILED] message as my RHAS3 is booting, and I get dropped into a shell to repair the filesystem.

However, it's not clear to me where the error is. I've used fsck for all the partitions (/usr, /export/home, /boot, /tmp), I ran fsck -n on the root parition, and they all seem okay. I get a 'Bad magic number in super-block' message if I try to run fsck on the swap partition, but running fsck on a swap partition doesn't make sense (right?). Apart from all that the only other partition is a zero-length extended partition.

Anyways, I'd be grateful for any pointers with this problem.

Regards,
Colm.
 
Old 07-31-2004, 09:50 PM   #2
osvaldomarques
Member
 
Registered: Jul 2004
Location: Rio de Janeiro - Brazil
Distribution: Conectiva 10 - Conectiva 8 - Slackware 9 - starting with LFS
Posts: 519

Rep: Reputation: 34
Hi coolmmagoo,
You are right. The swap and extended partitions are not fsck'able. The only way I know to identify the partition in error is to stay attempt to the procedure. During the "boot fsck" it displays the partition it is checking. Until today I couldn't see any register in the system log about a file system with problems at boot, even because the system is not fully up.
The right way to check for confidence is to use another media to boot, for example, your rescue cd, then fsck each linux or reiserfs partition using -f to force the check even if the system thinks it is ok. It is not applicable to any windows partition also.
In spite of the modern partitions as ext3 are journaled, the docs recommend us to check the partitions periodically. So, I suggest you to boot your cd, enter 'rescue' mode, enter 'fdisk -l' at the prompt to identify the linux partitions, and enter "e2fsck -f -y <partition>" for each one.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
An error Occurred during the file system check. Dropping you to shell; the system wil aneikei Linux - Newbie 3 02-11-2010 07:38 PM
An error occurred during the file system check oloijuok Linux - Newbie 3 05-29-2009 06:29 AM
error during file system check laurentwahl Linux - General 1 05-21-2005 07:33 PM
file system check GoBoy Linux - Software 1 03-27-2005 04:39 AM
file system check nakkaya Linux - Software 5 03-14-2003 11:28 PM

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

All times are GMT -5. The time now is 03:04 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