Hi,
I am trying to increase the disk space available to my nextcloud install, originally set up with Snap (during linux install)
I set it up with 200gb, but now I need to give it more.
The install is a virtual machine, so allocating disk space is easy and we already have allocated it more disk space on the VM however the server is not seeing that, how do we go about getting the server to see the additional allocated space?
But, linux/nextcloud won’t automatically allocate this new space.
So does anyone know what I need to type to increase the space?
It strongly depends on what exactly FS are U using in Linux. You have to find this out and provide more data here. Basically almost all current FSs are able to increase they size by simple command. There are few ways, e.g. https://duckduckgo.com/?q=linux+check+filesystem+type. E.g.
Those are “loops” like a virtual sections for a snap containers. Interesting is that sda2 is type of ext4. Do you have only 1 HDD in you virtual machine? I assume yes, then seems it is sda. You have to:
Ensure that you have an up to date backup.
Ensure that you have an up to date backup.
Ensure that you have an up to date backup.
Unmount the filesystem.
Check the filesystem.
Resize filesystem.
Not sure if you can simply do it on a root partition, but you can try (this is vm only). MAKE A BACKUP.
Found few tutorials depends on your system: increase size of ext4 at DuckDuckGo