Storage type for nextcloud data directory

unholyhumorousunratedoat

Well-Known Member
Sep 18, 2019
46
10
48
29
Hey guys,
I'm new to proxmox and I'd like to virtualise my nextcloud server running on arch linux.
I have 3 Disks in my Server (DELL PowerEdge T20): 120GB SSD (where I installed proxmox on a ZFS filesystem), 1TB Toshiba HDD, 3TB WD Red HDD.

I already created 1 arch VM which I used as template for my other 3 VMs and my nextcloud VM will get that 1TB Toshiba HDD.

Im considering 3 options and I'm not sure which one is the best (this 1TB Toshiba HDD is only used for that nextcloud data directory, dont need it for something else).

1. Passthrough the 1TB HDD to the VM (benefit performance)
2. Create a Directory for the 1TB HDD and then attach it to the VM (benefit easier to backup?!)
3. Create a ZFS Pool with that 1TB HDD (benefit ZFS, easier to backup?!)

What pros and cons do you guys see?

Thank you in advance :)
 
Hi @ solongname

I guess your hdds (1 TB and 3 TB) have almost the same characteristics (excluding the size).

I would create 2 partitions on 3 TB (1 TB and 2 TB). Using hdd 1 TB and the 1 TB part of second disk I would make a zfs mirror. I will use zfs for all the VM (or CT if you want better performance).

The 2 TB part I would use for backup (the VM will slow down durinh this) as directory.

Good luck / bafta
 
Thank you for your answer! I decided to use the 1TB HDD (for the nextcloud data directory) as directory instead of ZFS pool, because the RAM load on the whole node was really high while transfering data to the VM. But I'm using the directory (inside the VM) as raw disk image. Why? They wrote in the manual: "It may, however, be up to 10% faster than the QEMU image format." :)
I'm really happy with the solution now :)
 
@unholyhumorousunratedoat hey man!!! your post is very simular what I have now... however, I have 240SSD (running proxmox and some vm), 1TB and 320GB.... I was thinking to install nextcloud on top of freenas, but want to use 320GB only for nextcloud??? could u explain how did u passthrough ur HD to nextcloud or freenas? also, how do u do ur backups? I have a celeron with 6GB running PBS nad 16GB OS and 500GB on Sata mode.
 
@unholyhumorousunratedoat hey man!!! your post is very simular what I have now... however, I have 240SSD (running proxmox and some vm), 1TB and 320GB.... I was thinking to install nextcloud on top of freenas, but want to use 320GB only for nextcloud??? could u explain how did u passthrough ur HD to nextcloud or freenas? also, how do u do ur backups? I have a celeron with 6GB running PBS nad 16GB OS and 500GB on Sata mode.
Did you get it configured. I am curious as well.
 
Hey there :) I'd recommend setting up two VMs.
First the FreeNAS VM and passthrough the HDD to it. And you can mount SFTP shares via the Nextcloud webinterface. That's how I used it :)
 
Hey there :) I'd recommend setting up two VMs.
First the FreeNAS VM and passthrough the HDD to it. And you can mount SFTP shares via the Nextcloud webinterface. That's how I used it :)
Just passed all 3 hdd and created raidz (WTH) after debating and thinking too much on schedule backup vs redundancy. Now is the next part, understanding user permission and nextcloud. Should i spin nextcloud in proxmox CT outside Treunas and just allow it to use the Treunas pool?
Also, what are your security services on your system.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!