I am trying to map a ZFS dataset into an LXC. The dataset is a PBS data set I am migrating from bare metal to LXC if that matters. I have read the docs here and there are a few assumptions that I am not understanding.
In that article it talks about user ID 1005. Is that a real user? Like I create that user in /etc/passwd? Considering this is a PBS instance, should I instead map to the backup user created by PBS which seems to be ID 34?
I tried
But that failed on startup saying
So I don't understand how to make this work.
I also don't udnerstand the role of /etc/subuid and subgid - but it seems they are unnecessary as I am doing a 1:1 map?
Any help appreciated.
In that article it talks about user ID 1005. Is that a real user? Like I create that user in /etc/passwd? Considering this is a PBS instance, should I instead map to the backup user created by PBS which seems to be ID 34?
I tried
Code:
lxc.idmap: u 34 34 0
lxc.idmap: g 34 34 0
But that failed on startup saying
Code:
newuidmap: uid range [34-34) -> [34-34) not allowed
So I don't understand how to make this work.
I also don't udnerstand the role of /etc/subuid and subgid - but it seems they are unnecessary as I am doing a 1:1 map?
Any help appreciated.
Last edited: