Skip to content

Latest commit

 

History

History
27 lines (25 loc) · 753 Bytes

File metadata and controls

27 lines (25 loc) · 753 Bytes
aliases category classification date date_modified draft id image links local_archive_links pinned print series tags title type
resize-an-ec2-linux-file-system-on-aws
aws
public
2019-08-20 03:59:10 -0700
2019-08-20 03:59:10 -0700
false
20190820105910
false
false
aws
ec2
filesystem
linux
Resize an EC2 Linux File System on AWS
tech-note

If you need to resize an EC2 instance, or an additional mounted volume in AWS.

To unmount the drive, you may need to comment out the entry for it in /etc/fstab otherwise it'll be in use when it starts up. Do this, then restart, check it's not mounted and run sudo e2fsck -f /dev/xvdh then if all clean sudo resize2fs /dev/xvdh you can then check it's extended with df -h