Last active
October 29, 2018 18:59
-
-
Save colllin/da55ba6513e489fdca2ea42c74b0410b to your computer and use it in GitHub Desktop.
Setting up raid on EC2 instance
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
# xvdg1 and xvdh1 are 2 attached volumes; md0 will be the (virtual) raid volume | |
mdadm -C /dev/md0 -l raid0 -c 64 -n 2 /dev/xvdg1 /dev/xvdh1 | |
mdadm -E /dev/xvd[g-h]1 | |
mdadm --detail /dev/md0 | |
mkfs.ext4 /dev/md0 | |
df -h | |
mount /dev/md0 /mnt/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment