5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Proxmox4.1のLXCコンテナにUSBパススルー

Posted at

参考

設定

デバイスノード番号を確認
$ ls -l /dev/bus/usb/001/
合計 0
crw-rw-r-- 1 root root 189, 0  2月 25 11:39 001
  • c, 189であることがわかる。
/etc/pve/lxc/106.conf
  arch: amd64
  cpulimit: 1
  cpuunits: 1024
  hostname: lxc6
  memory: 1000
  net0: bridge=vmbr0,gw=192.168.0.1,hwaddr=62:39:35:35:62:31,ip=192.168.0.6/24,name=eth0,type=veth
  ostype: ubuntu
  rootfs: local:106/vm-106-disk-1.raw,size=8G
  swap: 512
+ lxc.cgroup.devices.allow = c 189:* rwm

LXCコンテナ内で作業

mkdir -p /dev/bus/usb/001
mknod /dev/bus/usb/001/001 c 189 0
確認
lsusb
5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?