Gentoo/mdadm: Remove 1 disk from RAID 0 array

Posted by Tim on Server Fault See other posts from Server Fault or by Tim
Published on 2013-11-08T15:41:39Z Indexed on 2013/11/08 15:58 UTC
Read the original article Hit count: 152

Filed under:
|
|

The server has a 7-disk RAID 0 array, and sdf is starting to die.

Is there a way to remove sdf while keeping the array intact?

# df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/md1     14T  6.6T  7.0T  49% /var
[...]

# cat /proc/mdstat
Personalities : [raid0]
md1 : active raid0 sda4[0] sdf1[5] sdd1[3] sdb1[1] sde1[4] sdg1[6] sdc1[2]
      14482788352 blocks 512k chunks

Looking to keep downtime to a minimum.

© Server Fault or respective owner

Related posts about mdadm

Related posts about gentoo