0

I had a very small aws lightsail ubuntu Apache2 instance that I had to upgrade because the hard drive space was two small. I made a snapshot of the instance and used it to create a new bigger instance. My issue is when I ssh into the instance it still says that the hard drive space is the size of the prior instance and that its almost out of diskspace?

Is there a command I should of ran to make the OS see that the hard dri ve is not bigger?

Jayreis
  • 145
  • 15
  • I expect the file system needs to be extended to use the new disk space. With EC2 when I enlarge the disk then reboot the server it does it itself. Try a reboot before doing anything else. Have a look here, I found this on Google with "Linux extend file system unused disk space" or similar https://www.ryadel.com/en/resize-extend-disk-partition-unallocated-disk-space-linux-centos-rhel-ubuntu-debian/ – Tim Jan 25 '23 at 19:25

0 Answers0