I’ve followed this guide after setting up an openmediavault LXC using a tteck script. I want to run this container as unprivileged and haven’t been able to get it to see my external USB drive.
Things I’ve tried:
- Using the actual minor number for the device instead of
*
- Using
cgroup2
instead ofcgroup
- changing
create=file
tocreate=dir
- A privileged container
Maybe I’m missing a step after following this guide? To check my success, I go into the Storage→Disks section of openmediavault and see that nothing is listed there. Clicking the ‘Scan for new devices’ icon results in a 500 - Internal Server Error.
Maybe this guide is horribly outdated? It states: “Note: lsusb will not work inside the container because there are no devices there yet” but I am able to install usbutils and lsusb to see all USB devices on my host from within the LXC console.
I’m running omv as a VM currently while I try to figure this out. If I remember correctly, all I had to do was use the proxmox GUI to add the USB device to the VM in the hardware section, then omv was able to see the drive and interact with it just fine.