Proxmox zfs share as vm-disk or smb/nfs?

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nexcloud Hub 10 (31.0.13)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Tunrkey 18.1 Debian 12
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • -
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Proxmox Helper-Scripts
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

Hey, I have installed my nextcloud with the poxmox helpe scripts. On my proxmox I have a 5 drives for the storage of the data.

zpool create -f -o ashift=12 <pool> raidz1 <device1> <device2> <device3> <device4> <device5>

zfs create data_tank/backups
zfs create data_tank/images
zfs create data_tank/vm-drives

pvesm set images --is_mountpoint yes
pvesm set backups --is_mountpoint yes
pvesm set vm-drives --is_mountpoint yes

How do I use it in nextcloud? Should I create a additional disk und /vm-drives with 16TB and add it so the vm, oder should I add the share using SMB/NFS? What is the best practice?