[SOLVED] best practice for a proxmox + file sever + media server + nextcloud

usercr70

New Member
Jun 23, 2022
6
0
1
Hi all,

I'm a newbie of proxmox and linux. I've just installed the proxmox server and I would like to add the following VMs/containers: file sever + media server + nextcloud.
I would like to share data between these services.

I have the below disks configuration:
System: 2 x SSD - ZFS RAID 1
Data: 2x NVMe - ZFS RAID 1
Media and other VMs: 2x HDD ZFS RAID 1
My apologies in advance for the silly question ... where is it supposed I should have the data considering I need to use them with different VMs?
At the moment I've created an OMV VM with an ext4 disk.
Is it better to have the data on the proxmox disks (I can format the disks with ext4) or having virtual disk in the VMs?
I'm worried I could lose all the data in case of hardware or software issues.

Any help on this will be very appreciated.
Many thanks in advance.
 
If I understand you correctly you want to use a single virtual disk in multiple VMs simultaneously? That's most likely a very bad idea.
A common way of having data accessible from different machines would be to provide them via a network storage, e.g. NFS.

I think you might be in the wrong forum though, as your question seems to be about Proxmox VE and not the Proxmox Mail Gateway : )
 
If I understand you correctly you want to use a single virtual disk in multiple VMs simultaneously? That's most likely a very bad idea.
A common way of having data accessible from different machines would be to provide them via a network storage, e.g. NFS.

I think you might be in the wrong forum though, as your question seems to be about Proxmox VE and not the Proxmox Mail Gateway : )
Hi Matthias,

thanks a lot for your prompt answer and my apologies for have posted in the wrong forum.
Have a great day
 
There are several way you could do that. If you want a GUI for setting up network shares and storage management I would suggest you use the two NVMe as your VM storage. Put a NAS VM like OpenMediaVault/TrueNAS/Unraid/Xpenology there, a VM with Nextcloud and a emby/Plex/Jellyfin VM.
You could then passthough your two HDDs into that NAS VM and create a software raid inside the VM: https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)
Then you can share those HDDs through NFS/SMB from your NAS VM to your other two VMs.

You could also backup your Mediaserver VM and Nextcloud VM to a SMB/NFS share that NAS VM but you would need to backup your NAS VM system disk to your PVE root filesystem.

But keep in mind that raid will not replace a real backup. So you might want anlther NAS or additilnal external USB disks to backup the data on those two HDDs with for example rsync.
 
Last edited:
There are several way you could do that. If you want a GUI for setting up network shares and storage management I would suggest you use the two NVMe as your VM storage. Put a NAS VM like OpenMediaVault/TrueNAS/Unraid/Xpenology there, a VM with Nextcloud and a emby/Plex/Jellyfin VM.
You could then passthough your two HDDs into that NAS VM and create a software raid inside the VM: https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM)
Then you can share those HDDs through NFS/SMB from your NAS VM to your other two VMs.

You could also backup your Mediaserver VM and Nextcloud VM to a SMB/NFS share that NAS VM but you would need to backup your NAS VM system disk to your PVE root filesystem.

But keep in mind that raid will not replace a real backup. So you might want anlther NAS or additilnal external USB disks to backup the data on those two HDDs with for example rsync.
Hi Dunuin, thanks a lot for your advice.
Much appreciated.
 

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!