this post was submitted on 17 Sep 2023
7 points (100.0% liked)

Proxmox

966 readers
7 users here now

Proxmox VE is a complete, open-source server management platform for enterprise virtualization. It tightly integrates the KVM hypervisor and Linux Containers (LXC), software-defined storage and networking functionality, on a single platform. With the integrated web-based user interface you can manage VMs and containers, high availability for clusters, or the integrated disaster recovery tools with ease.

Proxmox VE Official site

K3S on Proxmox LXC

founded 1 year ago
MODERATORS
 

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:

  1. Using the actual minor number for the device instead of *
  2. Using cgroup2 instead of cgroup
  3. changing create=file to create=dir
  4. 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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago (1 children)

Is the VM using the USB drive at the same time?

[–] [email protected] 1 points 11 months ago

No, I have an extra USB drive to test it out.