for some reason my fresh nextcloud installation is not using the entirety of my servers hard drive to store files. I have a 3tb hard drive and nextcloud says that there is only 1GB of space remaining. anyone know why this is happening?
Thats strange… Do you have multiple partitions / mount points? Nextcloud might only show the free space on the partition that contains the data directory.
This command lists all mount points with the free space on it: df -h
If you check screenshot from above, partitions were not correctly set. There was no 3TB partition, only small ones. If you have the same issue, please post here output of following commands:
It is easy
You have 16 GB SD card mounted as root /and it is 100% being used (16GB of 16GB).
Your 3.7 TB HDD is mounted under /media/SATAHD, but seems that you set nextcloud data folder to be on your SD Card, or just used defaults.
Just move your data folder to your HDD and change the config of NC to the new location. Default seems to be/var/snap/nextcloud/common/ what is on your SD card, not HDD.
Thanks so much for this! As a noob to nextcloud/linux though, I wasn’t sure what commands in ubuntu exactly accomplish these, specifically when moving my data folder and changing my config?
Basically you need to move you data to /media/SATAHD. Probably your data folder is under /var/snap/nextcloud/common/nextcloud/data you have to move it to something like /media/SATAHD/data or /media/SATAHD/nextcloud/data. This is valid when you install NC via snap.
Based on your screenshot, looks like you need to extend your LVM logical volume mounted under root. Be careful with partitions under root. You need to execute something like this to extend it to e.g. 500Gb, please read more about.