mdadm --remove /dev/md0 /dev/sdb1

Category: Administration

mdadm --remove /dev/md0 /dev/sdb1

Remove a disk from a RAID array

Detaches /dev/sdb1 from array md0, normally after marking it failed with mdadm --fail. A disk that still holds active data cannot be removed directly. Removing a healthy disk while the array runs is possible but degrades the array.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.