LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-29-2007, 01:43 PM   #1
RGummi
Member
 
Registered: Nov 2005
Posts: 90

Rep: Reputation: 15
EXT3 rebuild superblock


Hello,

after some hardware problems it seems that the superblock of an ext3 partition is corrupted
Code:
linux:~ # mount /dev/sdc1
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

linux:~ # fsck.ext3 /dev/sdc1
e2fsck 1.39 (29-May-2006)
Couldn't find ext2 superblock, trying backup blocks...
fsck.ext3: Bad magic number in super-block while trying to open /dev/sdc1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
any possiblity to rebuild it (as it is possible with reiserfs) ?

Thanks
RGummi
 
Old 05-29-2007, 02:20 PM   #2
jeenam
Member
 
Registered: Dec 2006
Distribution: Slackware 11
Posts: 144

Rep: Reputation: 15
Read this: http://www.cyberciti.biz/tips/surviv...-failures.html

If just a portion of the partition is corrupt, there may still be a good copy of the superblock elsewhere on the partition.
 
Old 05-29-2007, 02:39 PM   #3
RGummi
Member
 
Registered: Nov 2005
Posts: 90

Original Poster
Rep: Reputation: 15
Hello,

I have fixed the problem! Power cable of the drive was not connected ;-)

Thanks
 
  


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
md0 ext3 superblock file system destroyed! cirogl Linux - Enterprise 0 04-26-2006 11:32 PM
ext2, ext3 bad magic number in superblock shuuhen Linux - General 1 12-13-2005 01:29 AM
Corrupted superblock/filesystem? (Ext3) elrohir_telperi Linux - General 2 05-04-2004 05:29 AM
EXT3-fs: unable to read superblock PLEASE HELP!!!!! Madmanator Linux - General 1 10-06-2002 01:34 PM
ext3 and 2.4.18 kernel rebuild L33t_H4x0R Linux - Software 3 04-16-2002 06:31 AM

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

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