home server: nas, nextcloud, plex: questions on storage and backup

schlucke

Member
Nov 27, 2012
3
0
21
hello everyone,

after a few years I am in the process of setting up a proxmox server again and wanted to ask for your opinion how I want to set everything up.

This is a home server with no need for high availability (no raid needed) but backups are of course important. the main services provided by the proxmox machine will be serving as a NAS, Plex and Nextcloud server. Some additional VMs and Containers will be installed and tested (hence why I am using Proxmox).

storage:
The OS sits on an SSD. 2 more HDDs are in the system, leaving me with one more S-ATA port on the motherboard. Each HDD is used to create an LVM, one for storage and one for backup. I use LVMs so I can more easily increase storage capacity should the need arise. I read about ZFS but since HA is not important for me I could not find advantages when using single disks so I think I will stick to my LVM setup. Any objections?

services:
Plex and nextcloud will each get their own containers but what about the NAS. All I really need is a samba server and NFS shares. So far I had that running on the host. However since I can hand over directories to the Containers (Bind Mount Points) I thought maybe it is more beneficial to put that into a Container as well. Are there any dis/-advantages to that approach? If I do not use a "NAS-Container" is it better to have the Plex and Nextcloud Container access their storage directories through NFS? Any other suggestions?

Backup:
so far all I did was rsync my storage share to my second drive on a daily basis and used the web-gui to backup the Containers regularly. My important data is my audio (mp3) collection and personal documents. I am thinking about syncing this offsite as well. I did not find a proxmox specific backup solution for my use scenario since the web-gui only backs up containers and not directories on the host. The most likely thing to happen to my files is accidental deletion, HDD failure or a virus. Is there something Proxmox VE offers that could help me here or am I looking at using an external tool?

AntiVirus:
Do you guys run it on your file servers? I found ClamAV and Sophos as free solutions. Any recommendations?

Any other remarks are appreciated!

thx in advance and kind regards!
schlucke

//edit:
I browsed the webgui and the documentation and found the following approach: I mount 2 virtual disk images to a Container. Inside the container I do my rsync backup from the shared virtual disk A to the backup shared disk B. vdisk A is on LVM A and vdisk B is on LVM B. Each LVM has only one physical drive. What happens if either of the LVM drives bites the bullet? I assume the proxmox host will continue to work? Will the VM work without the (non-root) vdisk? I guess at that point I have to replace the faulty drive in the LVM, create and mount a new vdisk to the VM and finally copy my data back. Would that work?
 
Last edited:
What happens if either of the LVM drives bites the bullet? I assume the proxmox host will continue to work? Will the VM work without the (non-root) vdisk? I guess at that point I have to replace the faulty drive in the LVM, create and mount a new vdisk to the VM and finally copy my data back. Would that work?
The container would continue to run, depending on the services (storage location) in the container, they might not.

And in general, try to break up your post into smaller ones and create threads for each of those topics. This may help in getting your posts more visible.
 

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!