Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-15-2003, 05:27 AM   #1
LQ Newbie
Registered: Jan 2003
Location: H.K.
Posts: 20

Rep: Reputation: 0
Raid 1 - Superblock is corrupt

Hello all

After I have installed Debian 3.0_r1 with kernal-2.4.18-bf2.4 and lilo 22.2, I got raidtools2 and partitioning a new HDD with type FD.

Then I edited /etc/raidtab as
# /boot
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
device /dev/sdb1
failed-disk 1
device /dev/sda1
raid-disk 0
# /
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
device /dev/sdb3
failed-disk 1
device /dev/sda3
raid-disk 0

Made the Raid:
mkraid /dev/md0
mkraid /dev/md1

cat /proc/mdstat gave the correct answer

mke2fs -j -b 4096 -R stride=8 /dev/md0
mke2fs -j -b 4096 -R stride=8 /dev/md1

Thus cp the files from sda1, sdb3 to sdb1, sdb3.

Modified /etc/fstab:
#/dev/sda1 ...
/dev/md0 ...
#/dev/sda3 ...
/dev/md1 ...

"superblock is corrupt ... give root pwd or (Ctrl-D) to continue:"

Did I miss anything or do anything wrong?

Old 04-19-2004, 01:01 PM   #2
Registered: May 2003
Posts: 31

Rep: Reputation: 15
sw RAID 1 superblock

i have the same problem, but since i'm not booting from the raid i can successfully mount it manully (files intact). it gives me an error during fsck about physical size and filesystem size being different...


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
e2fsck failed Corrupt superblock gasparov Linux - General 1 02-21-2005 08:16 AM
superblock or partition table corrupt? Kristian2 Linux - Newbie 1 05-11-2004 10:34 AM
Mandrake update to 10.0=>corrupt superblock ext2 Norman53 Mandriva 1 04-18-2004 01:17 PM
corrupt superblock problem raven Linux - General 12 11-26-2002 12:42 PM
Corrupt Superblock aliensub Linux - General 0 05-09-2002 12:52 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration