Sign in
Migration Mapping Assistant Your Saved List Partners Sell in AWS Marketplace Amazon Web Services Home Help

Volume resize procedure

  • By Adam Adamou
  • on 02/28/2015

Here is the gist to resize your disk after selecting a larger than 8GB volume:

fdisk /dev/xvda
u #Change the display to sectors
p #Print info
d #Delete the partition
n #New partition
p #Primary partition
1 #Partition number
2048 #First sector
Press Enter to accept the default
p #Print info
a #Toggle the bootable flag
1 #Select partition 1
w #Write table to disk and exit


After it comes back do:

resize2fs /dev/xvda1

verify the new disk size:
df -h

There are no comments to display