Proxmox + Truenas + jellyfin share

teracir

New Member
May 4, 2023
6
0
1
I need some help please, struggling to get jellyfish working?
My setup is proxmox on raid 1 ssd's.
Raid 1 zfs hhd's for storage on proxmox ( VM's and Isos).
I passed through 4 no. Drives to Truenas and setup zfs storage pool. This contains my movies and series.
I have jellyfish LXC container setup but the issue I have is how to link the passed through drives on Truenas to the LXC container.
I am new to linuex and struggling with command line. Any help or tutorials on how I can share storage from Trunas to jellyfish would be appreciated? Is this even possible or do I need to rearrange my data?
 
Last edited:
you can use nfs to connect truenas to the container. u will need command line, of course. It's Linux.
 
And will only work with a privileged LXC after enabling the "NFS" or "CIFS/SMB" feature for that LXC.
Without that you would need to mount that NFS/SMB share on the PVE host and then bind-mount that mountpoint from the host into a unprivileged LXC.
 
Last edited:
you can use nfs to connect truenas to the container. u will need command line, of course. It's Linux.
I have set the trunas share and inlcuded that to promox server as directory. How do I know connect this to the LXC? Is their a tutorial with command lines for this?
 
And will only work with a privileged LXC after enabling the "NFS" or "CIFS/SMB" feature for that LXC.
Without that you would need to mount that NFS/SMB share on the PVE host and then bind-mount that mountpoint from the host into a unprivileged LXC.
I tried changing the option for the LXC but unable to edit it in GUI. I may have to recreate CT again with the privilege option. How do you enable NSF or SMB feature on LXC?
 
I tried changing the option for the LXC but unable to edit it in GUI. I may have to recreate CT again with the privilege option.
When it is greyed out then you are using an unprivileged LXC and therefore can't enable those SMB/NFS features.
 
Its always best to use unprivileged container. Dunuins advice reletes to use a host mounted NFS share. U can of course mount the NFS share direct inside the container as well. U will find the steps in the internet.
 
Last edited:
U can of course mount the NFS share direct inside the container as well.
Yes, but unprivileged LXCs won't allow that because of the additional isolation that makes it more safe.

less secure privileged LXC = directly mount the NFS/SMB share inside the LXC which requires to enable the NFS/SMB feature for the LXc first.
more secure unprivilged LXC = can't mount NFS/SMB share inside LXC, need to mount NFS/SMB share on host and then bind-mount it from host into LXC.

If you care about security, because you want to make your jellyfin public, I would use a VM. That is even more secure than an unprivileged LXC and will also allow you to directly mount that NFS/SMB share inside the VM and you don't have to fight with user/group remapping and rights.
 
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!