Increase EBS size

From wikieduonline
Jump to navigation Jump to search

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/modify-ebs-volume-on-instance.html

0) Modify EBS size and execute lsblk
1) growpart
growpart /dev/nvme0n1 1
2) resize2fs
resize2fs /dev/root
resize2fs 1.46.5 (30-Dec-2021)
Filesystem at /dev/root is mounted on /; on-line resizing required
old_desc_blocks = 25, new_desc_blocks = 50
The filesystem on /dev/root is now 104829179 (4k) blocks long.

Related[edit]

See also[edit]

Advertising: