Hi.
I'm creating a test lab where I intend to have a privileged (or unprivileged if possible) lxc container. This ct uses tgtd for sharing iscsi luns to other hosts in the bridge. So, in the proxmox host, I have an unused raw disk (/dev/sdb, with an unformatted partition sdb1) whose only purpose is to handle the data. So, I've added the passthrough device in the resources menu to pass the /dev/sdb1 as dev0. In the ct, I can see directly /dev/sdb1, but not only that, all the dev/sdX in the host. I've searched and haven't found accurate info about how to manage passthrough devices, so I've freezed that test and now I'm on the way to do the same with an unprivileged container, because I guess the privileged feature is related. Am I doing wrong assumptions, or have done anything wrong?
Thanks in advance.
I'm creating a test lab where I intend to have a privileged (or unprivileged if possible) lxc container. This ct uses tgtd for sharing iscsi luns to other hosts in the bridge. So, in the proxmox host, I have an unused raw disk (/dev/sdb, with an unformatted partition sdb1) whose only purpose is to handle the data. So, I've added the passthrough device in the resources menu to pass the /dev/sdb1 as dev0. In the ct, I can see directly /dev/sdb1, but not only that, all the dev/sdX in the host. I've searched and haven't found accurate info about how to manage passthrough devices, so I've freezed that test and now I'm on the way to do the same with an unprivileged container, because I guess the privileged feature is related. Am I doing wrong assumptions, or have done anything wrong?
Thanks in advance.