Skip to content

Instantly share code, notes, and snippets.

@singhj
Created December 8, 2012 17:14
Show Gist options
  • Save singhj/4241073 to your computer and use it in GitHub Desktop.
Save singhj/4241073 to your computer and use it in GitHub Desktop.
Growing an EBS volume with XFS an XFS file system
# 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