First of all: I got a Nextcloud running for over 2 years now and people are using it more and more. I’m a really happy user!
The problem I’m facing is not directly connected to Nextcloud, but I thought other people using Nextcloud would face the same underlying problem, so I ask it here in the forum.
The problem: The data folder is saved on a single 3TB harddrive.
Soon the 3TB will be all used and I have to upgrade my setup.
I got some spare harddrives that I could use to increase the space (2x2TB and another 3TB)
How are you guys managing big data folders?
Do you use ZFS? LVM? What’s best practice?
Edit: I know I could use external storages and integrate more space this way, but I don’t want to use that. I just want one big data folder.
I can simply add a new disk of any size and add it to the lvm to make it grow/expand in size.
Though I need to google how but it’s really easy.
Disk sizes get bigger and bigger there are 16Tb disks out there though I wouldn’t know what to do when one of those fails. I might get 8 Tb for backup but will stick to 4Tb disks as max and use lvm
For anyone wondering.
I solved it with ZFS with a RAID-Z 2.
So, 2 disks of the setup can fail and I still don’t loose any data.
The setup consists of 4TB disks and I can always add more 4TB disks as I need more space.
If I ever want to add more disks that are not 4TB I can just spin up another vdev and add it to the pool. Very satisfied with ZFS!