Increasing AWS EC2 ubuntu instance disk space

Here’s how you do it (pay attention to resize2fs / xfs_growfs commands):

Resizing the Root Disk on a Running EBS Boot EC2 Instance
.

Example:

# In case your Filesystem is either ext2, ext3, or ext4
$ sudo resize2fs /dev/sda1

# Or if you have XFS
$ sudo apt-get install -y xfsprogs
$ sudo xfs_growfs /

Revisions

No comments yet.

Leave a Reply