LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-13-2011, 01:43 PM   #1
mlmack
LQ Newbie
 
Registered: Mar 2011
Posts: 15

Rep: Reputation: 1
failed fsck


I use opensuse 11.3. Tried to fsck root using the latest systemrescuecd and got a bad magic number error message. I tried the suggested alternate superblock command and got the same error message. The command I used was "fsck.ext4 /dev/sdc2". When I tried using tune2fs to force fsck at boot, I got the same error message. The system seems to be working more or less ok. What's going on and what should I do to run fsck on root?
 
Old 05-13-2011, 03:24 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
To start with, what happened that you want to force fsck? Do you suspect some data has been damaged?

Could you post the exact error message you are receiving? Are there any relevant kernel messages when you try and mount the volume or run fsck against it?
 
Old 05-13-2011, 07:43 PM   #3
mlmack
LQ Newbie
 
Registered: Mar 2011
Posts: 15

Original Poster
Rep: Reputation: 1
I can't quote it but the gist of it was 'bad magic number, corrupted superblock'.
The message with tune2fs was similar except it suggested tring an alternate block. That didn't work. Same error.

The only fsck was with / which should not be mounted.

I'm trying because there have been several hard freezes in the last month and today I got an odd mysql error message with my mail program. Seemed like a good time to fsck.

The strange thing is that it's mostly working just fine.

Last edited by mlmack; 05-13-2011 at 07:45 PM.
 
Old 05-13-2011, 08:44 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,941

Rep: Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877Reputation: 1877
How did you determine the alternate superblock to use ?.
fsck from a liveCD is the correct procedure - you might just have to back it up and reformat it.
 
Old 05-13-2011, 09:22 PM   #5
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora
Posts: 1,899

Rep: Reputation: 268Reputation: 268Reputation: 268
Try the boot parameter init 1. Just insert it on the kernel line in grub. Nothing will be mounted but the ramdrive. Type fsck without any device or parameters, and read the instructions! I think you want the "-p" switch.
 
Old 05-14-2011, 11:54 AM   #6
mlmack
LQ Newbie
 
Registered: Mar 2011
Posts: 15

Original Poster
Rep: Reputation: 1
I think I had better look for another forum. Neither one of you read or understood my original post.
 
  


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
fsck failed for at least one filesystem (not /)... linux_2007_ Linux - General 2 01-25-2010 01:57 AM
fsck failed The Redneck Linux - Newbie 4 09-30-2006 12:11 AM
fsck failed laonei Linux - Newbie 9 10-12-2005 10:27 AM
fsck failed blabla Linux - General 2 04-26-2005 06:16 PM
fsck failed befuddled Linux - Newbie 4 02-15-2004 02:11 AM


All times are GMT -5. The time now is 03:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration