First try: sudo resize2fs /dev/xvde If that fails, try: df -h lsblk xvda 202:64 0 64G 0 disk ??xvda1 202:65 0 8G 0 part / fdisk /dev/xvda u p d n p 1 2048 Press Enter to accept the default p a 1 w reboot resize2fs /dev/xvda1
Linux Resize Amazon EC2 Linux Partition
By default, EC2 Instance root partitions come sized at 8GB, regardless of the physical disk size.
These steps will resize it to the full disk size.
Snippet Viewed 1790 times.
Share your Linux code snippets:
- Get some recognition & a link back to your site.
- Create your own code library.
- Help your fellow developers, as they have helped you.