Analytic

Wednesday, July 27, 2011

Amazon AWS resize the Volume for a Linux instance

Follow these steps:Stop the instance
  • Make a snapshot (MySnap) from volume.
  • Create new volume with new size from your snapshot (MySnap).
  • Detach the old volume
  • Attach the new volume as /dev/sda1
  • Start the instance
  • in terminal resize the partition:
resize2fs -p /dev/xvda1 (see fdisk -l for your partition name)

No comments: