Created
July 7, 2014 10:29
-
-
Save v-thomp4/15d28e519ca041b76205 to your computer and use it in GitHub Desktop.
setup raid
This file contains hidden or 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 fdisk /dev/svdb | |
sudo fdisk /dev/svdc | |
... | |
apt-get install -y mdadm | |
mdadm --create --verbose --auto=yes /dev/md0 --level=0 --raid-devices=2 /dev/xvdb1 /dev/xvdc1 | |
mkfs.ext4 /dev/md0 | |
sudo mkdir -p /data | |
mount /dev/md0 /data | |
vim /etc/fstab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment