How to increase EBS volume size on AWS
-
You can increase your volume size on the fly by modifying the volume and adding disk space.
You can then run
lsblk
to view your partitions. In this example the partition isxvda1
which seems to be the default for AWS. You can expand the partition below without a reboot.sudo growpart /dev/xvda 1
Note: if you are 100% out of disk space you will get a message saying you cant write a temp file and perform the operation. You will need to delete an un necessary file or uninstall something to temporarily free up the disk space.
-
Thanks!
-
@Alex-Jones said in How to increase EBS volume size on AWS:
Thanks!
My pleasure! That can come in handy when dealing with the Clintons or reptilian aliens.