Nextcloud version (eg, 20.0.5): Nextcloud HanssonIT VM (23.0.0)
Operating system and version (eg, Ubuntu 20.04): Ubuntu Server 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.4): 7.4.3
The issue you are facing:
I installed Nextcloud using the nextcloud_install_production.sh script on to a rather small NVMe SSD of just 16GB. I now wish to expand this space with a 4TB USB hard drive so that I can sync files and folders without the risk of very quickly running out of space.
What is the process for doing this? Is the process easily repeatable should I wish to further expand storage again in the future?
This is what lsblk -f
looks like on my system:
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
loop0 squashfs 0 100% /snap/core18/2128
loop1 squashfs 0 100% /snap/lxd/21029
loop2 squashfs 0 100% /snap/core20/1270
loop3 squashfs 0 100% /snap/snapd/12704
loop4 squashfs 0 100% /snap/core18/2253
loop5 squashfs 0 100% /snap/snapd/14295
loop6 squashfs 0 100% /snap/lxd/21835
sda
├─sda1 vfat D9A9-770D 505.8M 1% /boot/efi
├─sda2 ext4 448a741c-8195-4243-b836-974093fc092b 801.7M 11% /boot
└─sda3 LVM2_member UXfhAJ-HTMC-9qBo-X10b-5sYo-wrEl-BQSaJw
└─ubuntu--vg-ubuntu--lv ext4 ed2f1555-a6a7-40c4-9bde-b43af88369a6 5.6G 52% /
sdb iso9660 Debian 11.1.0 amd64 n 2021-10-09-10-10-23-00
├─sdb1 iso9660 Debian 11.1.0 amd64 n 2021-10-09-10-10-23-00
└─sdb2 vfat A4E9-5881
sdc
└─sdc1 ext4 75dd4ff9-93f6-417e-b51a-bf0286011b82
I suppose what I am aiming for is for /sdc1
to be used for Nextcloud data. I don’t know how to achieve this, whether I need to merge the filesystems or if Nextcloud can automatically roll over to the other disk, or if I simply need to reconfigure a config item somewhere to point to that disk.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!): I don’t know what my path to nextcloud is unfortunately.