Last active
August 29, 2015 14:08
-
-
Save jay-lannister/7349b80c8e98a77b04dd to your computer and use it in GitHub Desktop.
Linux partition management on AWS
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
# references | |
# [Resizing Root Partition on Linux in Amazon EC2](https://linuxacademy.com/blog/linux/resizing-root-partition-on-linux-in-amazon-ec2/) | |
# 1. create a snapshot of the old hdd | |
# 2. create a new volume which has a more storage than the old one from the snapshot | |
# 3. check the new partition name you want to expand by running | |
lsblk | |
# 4. expand the hdd on the fly | |
resize2fs /dev/xvde |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment