OpenVZ Forum


Home » Mailing lists » Users » Running DRBD inside a VE?
Running DRBD inside a VE? [message #9703] Thu, 18 January 2007 02:13 Go to previous message
larsks is currently offline  larsks
Messages: 3
Registered: January 2007
Junior Member
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
 
Read Message
Read Message
Read Message
Previous Topic: Modules iptables
Next Topic: Coming from virtuozzo
Goto Forum:
  


Current Time: Sat Nov 09 00:51:43 GMT 2024

Total time taken to generate the page: 0.03089 seconds