How to remove a drive from RAID array in Linux using mdadm

By angsuman, Gaea News Network
Sunday, December 5, 2010

Sometimes a little code is worth a thousand words, no?

mdadm –manage /dev/md1 –remove /dev/sdb2

Notes:
1. Replace md1 with the name of the raid array
2. Replace sdb2 with the name of the drive

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :