Linux Raid

This page discusses software RAID on Linux using the mdadm command set.

Create
mdadm -C /dev/md0 --level=raid5 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1

Remove Failed Drive
mdadm /dev/md0 -r /dev/sdc1

Add Drive
mdadm /dev/md0 -a /dev/sdc1

Summary
mdadm -Q /dev/md0

Details
mdadm --detail /dev/md0

Removing volumes
umount /data
lvremove VolGroup00

 

Copyright © 2005 Apolonio Enterprises All Rights Reserved