[Users] Running DRBD inside a VE?

Lars Kellogg-Stedman lars at oddbit.com
Wed Jan 17 21:13:11 EST 2007


Is it possible to run DRBD inside a VE?  The drbdsetup command is
getting EPERM when trying to execute an ioctl on a disk device:

  open("/dev/shared0", O_RDWR)            = 4
  fstat64(4, {st_mode=S_IFBLK|0644, st_rdev=makedev(253, 7), ...}) = 0
  open("/dev/shared0", O_RDWR)            = 5
  fstat64(5, {st_mode=S_IFBLK|0644, st_rdev=makedev(253, 7), ...}) = 0
  ioctl(3, 0x40204406, 0xbfeaacb0)        = -1 EPERM (Operation not permitted)

(/dev/shared0 is actually an LVM block device.  The VE has read/write
permissions to this device, and I can successfully create a filesystem
on and mount the device itself)

Thanks,

-- Lars


More information about the Users mailing list