Hi,
I'm running Ceph inside a privileged LXC container on Proxmox. When a new RBD image is created from within the container, the corresponding /dev/rbdX device appears only on the host, not inside the container.
Inside the container, I can see /dev/rbd/ folder, but not the mapped block devices like /dev/rbd0, /dev/rbd1, etc.
Udev is running in the container, and I’ve tried using:
But the devices still don’t appear dynamically.
Does anyone know what I can do to make /dev/rbdX devices dynamically visible in the container?
Also — is it possible to use RBD standalone in LXC (without using it on the host so the RBD will be created inside the LXC)?
Thanks!
I'm running Ceph inside a privileged LXC container on Proxmox. When a new RBD image is created from within the container, the corresponding /dev/rbdX device appears only on the host, not inside the container.
Inside the container, I can see /dev/rbd/ folder, but not the mapped block devices like /dev/rbd0, /dev/rbd1, etc.
Udev is running in the container, and I’ve tried using:
- lxc.autodev = 1
- lxc.cgroup2.devices.allow = b 251:* rwm
- Mounting /run/udev and /dev/rbd into the container
But the devices still don’t appear dynamically.
Does anyone know what I can do to make /dev/rbdX devices dynamically visible in the container?
Also — is it possible to use RBD standalone in LXC (without using it on the host so the RBD will be created inside the LXC)?
Thanks!