Last active
August 29, 2015 14:06
-
-
Save JCotton1123/367b293581b063919078 to your computer and use it in GitHub Desktop.
mdadm rebuild array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mdadm --manage /dev/md1 --fail /dev/sdd1 | |
mdadm --manage /dev/md1 --remove /dev/sdd1 | |
sfdisk -d /dev/sdc | sfdisk /dev/sdd | |
mdadm --manage /dev/md1 --add /dev/sdd1 | |
watch 'cat /proc/mdstat | grep -A 2 "md1"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment