Results 1 to 2 of 2
Linux newbie here. Software Raid 0 Centos 5.4 box. One of the 4 drives on the box had faults, so it needed to be swapped out. I need to use ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-04-2012 #1
- Join Date
- Sep 2012
Adding swapped out drive to existing Software Raid 0?
Linux newbie here. Software Raid 0 Centos 5.4 box. One of the 4 drives on the box had faults, so it needed to be swapped out. I need to use mdadm to rebuild the new disk but i'm not sure exactly how to alter the steps i've seen in a few tutorials to exactly mimic my environment.
Any help/tips on how to add the new drive into the array?
On boot, the server will get to the point during boot where it "Checking Filesystems" and then it will fail with:
/dev/md3 the superblock could not be read or does not describe a correct ext2 filesystem
an error occurred during the file system check. Dropping you to a shell; the system will reboot when you leave the shell
Give root password for maintenance"
cat /proc/mdstat gives the following output:
md0: active raid1 sda1
104320 blocks [2/1] [U_]
md1: active raid1 sda2
8385856 blocks [2/1] [U_]
md3: inactive sda5 sdd2 sdc2
md2: active raid10 sdd1 sdc1 sda3
67103232 blocks 256k chunks 2 near-copies [4/3] [U_UU]
unused devices: none
Thanks for any assistance on how to proceed.
Last edited by tgaler1; 09-04-2012 at 04:16 PM.
- 09-04-2012 #2
- Join Date
- Apr 2012
- Virginia, USA
Typically speaking, when you drop a disk in RAID 0, the data is toast.
But, since you were keeping good backups of critical data, you just need to reinstall.
How to proceed: Replace failed disk with new disk. Re-install from backups.