I have a proxmox ve with a single ZFS, named zpool.
Inside that proxmox ve node, I have a privileged lxc container with PBS installed via proxmox scripts.
When I go into the PBS into storage, I don't see the ZFS storage and I get this error:
Bad Request (400)
command "zpool" "list" "-H" "-p" "-P" failed - status code: 1 - /dev/zfs and /proc/self/mounts are required. Try running 'udevadm trigger' and 'mount -t proc proc /proc' as root.
I have tried with this config
arch: amd64
cores: 4
features: nesting=1
hostname: pbs
memory: 4096
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:51:37:FC,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-zfs:subvol-103-disk-0,size=10G
swap: 512
tags: proxmox-helper-scripts
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
lxc.mount.entry: /rpool rpool none bind,create=dir
lxc.cgroup2.devices.allow: c 10:231 rwm
# lxc.mount.entry: /dev/zfs dev/zfs none bind,optional,create=file
But the last line causes problems, it makes the container do nothing
This was added to /etc/pve/nodes/pve01/lxc/103.conf
Inside that proxmox ve node, I have a privileged lxc container with PBS installed via proxmox scripts.
When I go into the PBS into storage, I don't see the ZFS storage and I get this error:
Bad Request (400)
command "zpool" "list" "-H" "-p" "-P" failed - status code: 1 - /dev/zfs and /proc/self/mounts are required. Try running 'udevadm trigger' and 'mount -t proc proc /proc' as root.
I have tried with this config
arch: amd64
cores: 4
features: nesting=1
hostname: pbs
memory: 4096
net0: name=eth0,bridge=vmbr0,hwaddr=BC:24:11:51:37:FC,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-zfs:subvol-103-disk-0,size=10G
swap: 512
tags: proxmox-helper-scripts
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
lxc.mount.entry: /rpool rpool none bind,create=dir
lxc.cgroup2.devices.allow: c 10:231 rwm
# lxc.mount.entry: /dev/zfs dev/zfs none bind,optional,create=file
But the last line causes problems, it makes the container do nothing
This was added to /etc/pve/nodes/pve01/lxc/103.conf