Created
October 20, 2016 18:58
-
-
Save graham-thomson/8acdfc145186d99af7207d80d0985b9f to your computer and use it in GitHub Desktop.
raid two ebs volumes on ec2
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
sudo mdadm --create --verbose /dev/md0 --level=0 --name=MY_RAID --raid-devices=2 /dev/xvdb /dev/xvdc | |
sudo cat /proc/mdstat | |
sudo mdadm --detail /dev/md0 | |
sudo mkfs.ext4 -L MY_RAID /dev/md0 | |
sudo mkdir -p /data/raid | |
sudo mount LABEL=MY_RAID /data/raid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment