Skip to content

Instantly share code, notes, and snippets.

@glavk
Created February 3, 2021 15:17
Show Gist options
  • Save glavk/6f61cc4ffe0e91f92a5ebe125d01e87c to your computer and use it in GitHub Desktop.
Save glavk/6f61cc4ffe0e91f92a5ebe125d01e87c to your computer and use it in GitHub Desktop.
Amazon EBS resize

Old EBS volumes example:

growpart /dev/xvda 1
resize2fs /dev/xvda1

New NVME volumes example:

growpart /dev/nvme0n1 1
resize2fs /dev/nvme0n1p1 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment