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.
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.
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?
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?