hi there,
i need to passthrought a disk to an unprivileged container with debian 12.
i have this on the host:
I used the webui to config the passthrought : Resources > Add > Device passthrought
path: /dev/sdb
uid: 0
gid: 0
Access: 0666
after that i have /dev/sdb in CT, but if try to mount the device i get permission denied.
In CT /dev/sdb and the created mountpoint are root owned.
container's root ids are 0:0
why it doesn't work?
thanks in advance.
i need to passthrought a disk to an unprivileged container with debian 12.
i have this on the host:
Code:
root@pve:~# ls -al /dev/sd*
brw-rw---- 1 root disk 8, 0 Jul 31 14:21 /dev/sda
brw-rw---- 1 root disk 8, 1 Jul 31 14:21 /dev/sda1
brw-rw---- 1 root disk 8, 2 Jul 31 14:21 /dev/sda2
brw-rw---- 1 root disk 8, 3 Jul 31 14:21 /dev/sda3
brw-rw---- 1 root disk 8, 16 Jul 31 14:21 /dev/sdb
brw-rw---- 1 root disk 8, 17 Jul 31 14:21 /dev/sdb1
I used the webui to config the passthrought : Resources > Add > Device passthrought
path: /dev/sdb
uid: 0
gid: 0
Access: 0666
after that i have /dev/sdb in CT, but if try to mount the device i get permission denied.
In CT /dev/sdb and the created mountpoint are root owned.
container's root ids are 0:0
why it doesn't work?
thanks in advance.