LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-15-2003, 04:27 AM   #1
pyfsapple
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 ...

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

Did I miss anything or do anything wrong?

Thanks
pyfsapple
 
Old 04-19-2004, 12:01 PM   #2
fzzy
Member
 
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...
 
  


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 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 07:16 AM
superblock or partition table corrupt? Kristian2 Linux - Newbie 1 05-11-2004 09:34 AM
Mandrake update to 10.0=>corrupt superblock ext2 Norman53 Mandriva 1 04-18-2004 12:17 PM
corrupt superblock problem raven Linux - General 12 11-26-2002 11:42 AM
Corrupt Superblock aliensub Linux - General 0 05-09-2002 11:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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