How to delete an mdadm RAID Array

Deleting a software RAID array will result in all data stored in the devices being lost. So be careful when you remove a RAID array, take backups in case needed. Before you can remove the software RAID array, you need to unmount it. Where /dev/mdX is the device name for the RAID device you need … Read more

RAID getting created as /dev/md127

When I create software RAID with mdadm, it gets created as /dev/md127, instead of /dev/md0 I specified while creating RAID. To fix this, you need to add RAID definition in /etc/mdadm/mdadm.conf, this can be done with mdadm –detail –scan >> /etc/mdadm/mdadm.conf Now run command update-initramfs -u Reboot the server, after reboot, RAID device will be … Read more

Creating Software RAID 5

RAID 5 Requires 3 or more physical disks. It provides the redundancy of RAID 1 combined with the speed and size benefits of RAID 0. RAID 5 uses striping, like RAID 0, but also stores parity blocks distributed across each member disk. In the event of a failed disk, these parity blocks are used to … Read more