Last active
November 17, 2016 10:40
-
-
Save anubhavsahoo/03889da3f3d5f6b4a666 to your computer and use it in GitHub Desktop.
Tips for managing AWS
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
# | |
# mounting an EBS volume | |
# | |
#Format volume | |
sudo mkfs.ext4 /dev/xvdf #/dev/sdf maps to /dev/xvdf on ubuntu | |
#Mount volume | |
sudo mkdir -m 000 /vol | |
echo "/dev/xvdf /vol auto noatime 0 0" | sudo tee -a /etc/fstab | |
#Unmount Volume | |
sudo mount /vol | |
# IMP - remove fstab entry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment