Score:0

Using Snapshot to upgrade AWS Lightsail instance but server does not reflect new hard drive space

cn flag

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?

Tim avatar
gp flag
Tim
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/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.