problem with raid 1 rebuilding on debian
Iam getting below error after executing below commands to rebuild RAID 1 on debian server
000000000000000000000000000000000000000000000000000000000000000000000000
1) Take out the hard drives of the “bad” machine and put them into some other machine and delete the partitions and reformat them
2) Shutdown one known good machine
3) Take a hard drive out of the good machine and put it into the corresponding slot on the “bad” machine (i.e. slot 0 hdd must go into slot 0 of “bad” machine)
4) Put the wiped clean hard drives into the empty bays of both machines
5) Boot both machines
6) Setup the clean hdd with the proper partitions and add them to the raid (i.e. mdadm /dev/md0 –a /dev/sd#1)
7) After the raid has been recreated (cat /proc/mdstat) run grub on both machines
a. Run the following grub commands on both machines:
device (hd0) /dev/sda
root (hd0,0)
setup (hd0)
device (hd0) /dev/sdb
root (hd0,0)
setup (hd0)
000000000000000000000000000000000000000000000000000000000000000000000000
Iam really confused for how to format.. I did only deletion of partitions and RAID1
Kindly reply.
|