Hi.
Bit a of newbie question I suppose:
How do I mount a USB HDD device to a LXC?
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points
These instructions aren't clear.
I can see my USB device on the host (lsusb) under Disks, but I don't know what to do next. Do I mount the USB device on the host under a folder?
I did:
nano /etc/pve/lxc/100.conf
Added:
lxc.cgroup.devices.allow: c 189:385 rwm
lxc.mount.entry: /dev/bus/usb dev/bus/usb none bind,optional,create=dir
On the LXC:
ls -l /dev/bus/usb/004
total 0
crw-rw-r-- 1 nobody nogroup 189, 384 Dec 1 18:35 001
crw-rw-r-- 1 nobody nogroup 189, 385 Dec 4 19:57 002
No idea what to do next.
Bit a of newbie question I suppose:
How do I mount a USB HDD device to a LXC?
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points
These instructions aren't clear.
I can see my USB device on the host (lsusb) under Disks, but I don't know what to do next. Do I mount the USB device on the host under a folder?
I did:
nano /etc/pve/lxc/100.conf
Added:
lxc.cgroup.devices.allow: c 189:385 rwm
lxc.mount.entry: /dev/bus/usb dev/bus/usb none bind,optional,create=dir
On the LXC:
ls -l /dev/bus/usb/004
total 0
crw-rw-r-- 1 nobody nogroup 189, 384 Dec 1 18:35 001
crw-rw-r-- 1 nobody nogroup 189, 385 Dec 4 19:57 002
No idea what to do next.
Last edited: