How To Expand an NVMe EBS Volumes After a Disk Resize on Amazon Linux

Published Date Author: , Posted February 19th, 2021 at 9:58:50am

First, use lsblk to see the raw partitions:

Note how the partition at 259:1 is only 20GB, while the entire disk at 259:0 is 40GB. A partition resize is required in this case.

For an EXT4 filesystem, use the resize2fs command instead:

For more information, please visit the AMW Docs: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recognize-expanded-volume-linux.html

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.