Newbie linking TrueNas VM to Jellyfin LXC on Proxmox needs help

Fameni

New Member
Apr 2, 2026
2
0
1
I am going to assume that there are multiple threads on this but apparently my googling skills are terrible.

I'm a beginner to the whole home server scene trying to learn how to link my truenas drives to VMs/containers on proxmox. I was following this Jim's Garage LXC series but I got stuck at the part where he edits the .conf file.


I am using the following for my lxc config file.

Code:
unprivileged: 1
lxc.cgroup2.devices.allow: c 226:0 rwm
lxc.cgroup2.devices.allow: c 226:128 rwm
lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file
lxc.idmap: u 0 100000 65536
lxc.idmap: g 0 100000 44
lxc.idmap: g 44 44 1
lxc.idmap: g 45 100045 62
lxc.idmap: g 107 993 1
lxc.idmap: g 108 100108 65428

My render showed up at 993 unlike the 104 it seems a lot of others had.
In addition, when I use -l /dev/dri D128 is my only graphics as I am using the IGPU off my if-14600K.

This is the error I get when trying to start up the lxc with the above conf file.

Code:
lxc_map_ids: 
245 newgidmap failed to write mapping "newgidmap: gid range [107-108) -> [104-105) not allowed": newgidmap 6698 0 100000 44 44 44 1 45 100045 62 107 104 1 108 100108 65428
lxc_spawn: 1808 Failed to set up id mapping.
__lxc_start: 2127 Failed to spawn container "301"
TASK ERROR: startup for container '301' failed


I've been trying to figure this out for days but I couldn't figure it out.
Would anybody happen to have a suggestion on how to resolve this?

OR

Would anybody have another guide they would recommend to learn how to pass Truenas shares to VMs/ LXC containers?
 
The error message does not match the config you provided.
The config maps 107 in the container to 993 on the host.
The error message indicates you mapping 107 in the container to 104 on the host.
Whichever one you want to map, did you make sure to add either root:104:1 or root:993:1 to /etc/subgid?


Side note: You don’t need to manually edit the config for device passthrough anymore. You can do this via: Container -> Resources -> Add -> Device Passthrough

And when it comes to idmapping for mount points, an easier solution is being worked on:
https://lore.proxmox.com/pve-devel/20260330141021.151921-1-f.schauer@proxmox.com/
 
I've been trying to figure this out for days but I couldn't figure it out.
Would anybody happen to have a suggestion on how to resolve this?

If you install Jellyfin using the Community Scripts from https://community-scripts.org/scripts/jellyfin the menu system walks you through the process of mapping the correct graphics card.

And if you install https://github.com/MacRimi/ProxMenux on the host, that also provides a menu-driven walkthrough of bind mounting a network share inside the LXC container. In that case you must first create the mount of the share on the host system, and then create the bind mount in the LXC.