Last active
December 11, 2015 01:49
-
-
Save rnix/4526356 to your computer and use it in GitHub Desktop.
Amazon AWS EBS mounting
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
mkdir /mnt/{b,c} | |
sudo mkfs.ext4 /dev/xvdb | |
sudo mkfs.ext4 /dev/xvdc | |
sudo mount -a |
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
LABEL=cloudimg-rootfs21/21 ext4 defaults 0 0 | |
/dev/xvdb /mnt/b auto defaults,nobootwait,comment=cloudconfig 0 2 | |
/dev/xvdc /mnt/c auto defaults,nobootwait,comment=cloudconfig 0 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment