Created
December 8, 2012 17:14
-
-
Save singhj/4241073 to your computer and use it in GitHub Desktop.
Growing an EBS volume with XFS an XFS file system
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
# stop services | |
# sudo service apache2 stop | |
# unmount the file system | |
sudo umount /mnt | |
# detach the volume using AWS console | |
# take a snapshot using AWS console | |
# make a new volume | |
# attach the volume | |
# mount the file system | |
sudo mount /mnt | |
# get XFS utilities | |
sudo apt-get install -y xfsprogs | |
# grow the volume | |
sudo xfs_growfs /mnt | |
# start services |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment