You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WHAT : I have some block device in LXC unprivileged container that i want to put under DRBD9.
SO : let's try it wit obvious result
root@debian12:~# drbdadm -vvv adjust zxt
New resource zxt
New minor 1008 (vol:0)
scheduling new-resource(zxt) as [0x62ba99e02510]
scheduling new-minor(zxt) depending on new-resource(zxt)[0x62ba99e02510] as [0x62ba99e02560]
scheduling attach(zxt) depending on new-minor(zxt)[0x62ba99e02560] as [0x62ba99e025b0]
drbdsetup new-resource zxt 0 --on-no-quorum=io-error --quorum=off
zxt: Operation not permitted
Command 'drbdsetup new-resource zxt 0 --on-no-quorum=io-error --quorum=off' terminated with exit code 20
QUESTION : What exactly I should share with container to at allow my block device as part of DRBD9?
EXAMPLE : ZFS folks managed this by presenting /dev/zfs to the whole wide world [ crw-rw-rw- ] and managing permissions inside /dev/zfs [ zfs allow for good days, zfs set zoned=on, zfs zone, zfs unzone for bad days ]
Activity
galeksandrp commentedon Jul 2, 2026
UPDATE: obviously following did not worked