Skip to content

Instantly share code, notes, and snippets.

@camme
Last active January 8, 2021 08:31
Show Gist options
  • Save camme/81ae500e034a42b3297741418e96406d to your computer and use it in GitHub Desktop.
Save camme/81ae500e034a42b3297741418e96406d to your computer and use it in GitHub Desktop.
# to expand /dev/xvdb check out https://github.com/hackoregon/civic-devops/blob/master/docs/HOWTO-extend-EBS-Volume-size.md
# we have used it and it works
# Expand it
sudo growpart /dev/xvda 1
# Check if the the volume had the correct size
lsblk
# Use it
sudo resize2fs /dev/xvda1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment