Sam Azgor

AWS EC2 Ubuntu instance with EBS storage initially of 8GB.

  1. Run df -h to verify your root partition is full (100%)
  2. Run lsblk and then lsblk -f to get block device details
  3. sudo mount -o size=10M,rw,nodev,nosuid -t tmpfs tmpfs /tmp
  4. sudo growpart /dev/DEVICE_ID PARTITION_NUMBER
  5. lsblk to verify partition has expanded
  6. sudo resize2fs /dev/DEVICE_IDPARTITION_NUMBER
  7. Run df -h to verify your resized disk
  8. sudo umount /tmp

Reference: AWS Docs

--

--

Sam Azgor

Sam Azgor

Webmaster at DigiTechPoint. Blogger, Sys Admin, Tech Lover, #Bangladeshi.