For anyone that has this problem, here’s a link to the answer: https://aws.amazon.com/premiumsupport/knowledge-center/ebs-volume-size-increase/
Summary
- Run
df -h
to verify your root partition is full (100%) - Run
lsblk
and thenlsblk -f
to get block device details sudo mount -o size=10M,rw,nodev,nosuid -t tmpfs tmpfs /tmp
sudo growpart /dev/DEVICE_ID PARTITION_NUMBER
lsblk
to verify partition has expandedsudo resize2fs /dev/DEVICE_IDPARTITION_NUMBER
- Run
df -h
to verify your resized disk sudo umount /tmp
Via: https://stackoverflow.com/questions/59420015/unable-to-growpart-because-no-space-left
Other articles you might like;