How I can Recognize a Raid/Mirror in a LXC witg Plex

Pietrogramma

New Member
Nov 27, 2022
5
0
1
Hi everyone, I'm a Proxmox rookie, does anyone want to explain to me - step by step - how to make two HDs in Raid/Mirror (done via software with OpenMediaVault) recognized by a container with Plex?
The two HDs are full of files and therefore I cannot format/partition them.
I tried with the command “qm set 103 -scsi2 /dev/disk/by-id/ata-xxxxxxxxx-xxxxx_xxx”, but the LXC see the two Hds, but not the raid/mirror
I hope so much for you, I have no idea how to proceed
Thanks and ciao
 
You will have to work with NFS/SMB shares and bind-mounts. When passing through the same disks to two guests you will corrupt the data on it.

For a unprivileged LXC:
1.) Create a NFS/SMB share in OMV
2.) create an unprivileged LXC for plex
3.) mount that NFS/SMB share with your media on the PVE host using fstab
4.) create a bind-mount to bring that mountpoint of the NFS/SMB share on the host into the plex LXC. Its described there: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
You will probably have to edit the user remapping in case your NFS/SMB share doesn't got 777 rights.

For a privileged LXC:
1.) Create a NFS/SMB share in OMV
2.) create a privileged LXC for plex
3.) go to your "LXC -> Options -> Features" and check the "NFS" or "CIFS/SMB" checkbox
4.) mount that NFS/SMB share with your media directly in the LXC using fstab
 
Last edited:
Thanks very mutch Danuin.
One last question, but since I'm supposed to use the same OMV, at this point it's not convenient for me to install Plex on the OMV's docker, or if I install Plex on an LXC, will Plex's performance be better?
 
One last question, but since I'm supposed to use the same OMV, at this point it's not convenient for me to install Plex on the OMV's docker, or if I install Plex on an LXC, will Plex's performance be better?
Shouldn't make a big difference. The question is more, why using PVE as a hypervisor at all, when an Unraid or TrueNAS Scale (or even a very limited OMV) as a NAS could also run your VMs/containers? If all you want is to run some containers on top of your NAS, because it is easier to access the files that way?
 
Shouldn't make a big difference. The question is more, why using PVE as a hypervisor at all, when an Unraid or TrueNAS Scale (or even a very limited OMV) as a NAS could also run your VMs/containers? If all you want is to run some containers on top of your NAS, because it is easier to access the files that way?
I've been torn since the beginning whether to use OMV6 and run all the software I'm interested in on its docker (which we did until a few months ago) or use Proxmox.
The problem, for me, is installing Home Assistant on docker/OMV.
I tried to install it on the OMV docker but it always gave me problems (certainly I made a few steps wrong) and then I convinced myself to use Proxmox to have two VMs, one on which OMV runs and the other on which run Home Assistant.
If I could install HA on OMV without problems, I would certainly opt for OMV instead of the excellent Proxmox, since, for what I have to do with it, it's too
 
Last edited:

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!