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
|