Gentoo RAID
From Wiki
Jump to navigationJump to search
For information about an array:
mdadm -D /dev/md1
To fail and remove a drive from an array:
mdadm /dev/md1 --fail /dev/sda1 --remove /dev/sda1
To add a drive to an array:
mdadm /dev/md1 --add /dev/sda1
To copy the partition table from /dev/sda to /dev/sdb:
sfdisk -d /dev/sda | sfdisk /dev/sdb