[Users] OpenVz + DRBD

Jorge Cabello jorge at aspl.es
Wed Oct 17 07:31:50 EDT 2007


Hi, 

Sorry for the delay in the answer but I have been working in other
proyects.

I granted permissions to the virtual node using:
 HN# vzctl set 202 --devices b:147:0:rw

If I dont load manually the kernel module in the hardware node when I
start drbd in the virtual node I get the following:

  Starting DRBD resources:    Can not load the drbd module.

But if I start the kernel module manually before starting drbd there is
a kernel Ooops (kernel log in attachment) and the virtual node reports:

  Starting DRBD resources:    No response from the DRBD driver! Is the
module loaded?
  Error code 10943 unknown.
  You should updated the drbd userland tools.

With the same tools version (8.0.6) drbd works properly inside hardware
node.

Anyone has been able to run drbd inside a virtual node?


El sáb, 21-07-2007 a las 20:42 +1000, Daniel Pittman escribió:
> Jorge Cabello <jorge at aspl.es> writes:
> 
> > Im trying to use DRBD inside an OpenVz Virtual Node but I can't access
> > the kernel module from inside the node.
> 
> [...]
> 
> > Im probably missing something, as I'm just starting to use these
> > tools, but I can't find what it is.
> 
> You didn't mention using the vzctl tool to grant read/write permissions
> to the DRBD device anywhere in your notes.  See the manual page for the
> 'devnodes' or 'devices' arguments.
> 
> Regards,
>         Daniel
-------------- next part --------------
stone kernel: CR2: 0000000000000016
Oct 17 13:13:56 stone kernel: Unable to handle kernel NULL pointer dereference at 0000000000000016 RIP: 
Oct 17 13:13:56 stone kernel:  [<ffffffff88026eed>] :drbd:drbd_nl_disk_conf+0x1dd/0x760
Oct 17 13:13:56 stone kernel: PGD 32789067 PUD 30abb067 PMD 0 
Oct 17 13:13:56 stone kernel: Oops: 0000 [1] 
Oct 17 13:13:56 stone kernel: CPU: 0 
Oct 17 13:13:56 stone kernel: Modules linked in: drbd simfs vznetdev vzethdev vzdquota vzmon vzdev bridge llc forcedeth
Oct 17 13:13:56 stone kernel: Pid: 161, comm: cqueue/0 Not tainted 2.6.20-ovz007 #2
Oct 17 13:13:56 stone kernel: RIP: 0060:[<ffffffff88026eed>]  [<ffffffff88026eed>] :drbd:drbd_nl_disk_conf+0x1dd/0x760
Oct 17 13:13:56 stone kernel: RSP: 0068:ffff810037c05d90  EFLAGS: 00010282
Oct 17 13:13:56 stone kernel: RAX: fffffffffffffffe RBX: ffff810036be4000 RCX: 0000000000000282
Oct 17 13:13:56 stone kernel: RDX: fffffffffffffffe RSI: ffffffff80281f00 RDI: ffff810030f96080
Oct 17 13:13:56 stone kernel: RBP: 0000000000000068 R08: 0000000000000001 R09: 0000000000000000
Oct 17 13:13:56 stone kernel: R10: 0000000000000000 R11: 00000000000000aa R12: ffff8100316abe24
Oct 17 13:13:56 stone kernel: R13: ffff8100379459c0 R14: ffff8100379459c0 R15: ffff8100354edb54
Oct 17 13:13:56 stone kernel: FS:  00002abf425ab6d0(0000) GS:ffffffff80597000(0000) knlGS:0000000000000000
Oct 17 13:13:56 stone kernel: CS:  0060 DS: 0018 ES: 0018 CR0: 000000008005003b
Oct 17 13:13:56 stone kernel: CR2: 0000000000000016 CR3: 0000000030533000 CR4: 00000000000006e0
Oct 17 13:13:56 stone kernel: Process cqueue/0 (pid: 161, veid=0, threadinfo ffff810037c04000, task ffff810037e55000)
Oct 17 13:13:56 stone kernel: Stack:  0000000000000000 0000000000000000 ffff8100316abe24 0000000000000030
Oct 17 13:13:56 stone kernel:  ffff8100354edb40 ffff8100316abe24 ffff8100316abe10 ffff810036be4000
Oct 17 13:13:56 stone kernel:  ffffffff8803e010 ffffffff880286cd ffff810037c05e60 ffff810031bca568
Oct 17 13:13:56 stone kernel: Call Trace:
Oct 17 13:13:56 stone kernel:  [<ffffffff880286cd>] :drbd:drbd_connector_callback+0xfd/0x1a0
Oct 17 13:13:56 stone kernel:  [<ffffffff80385ddc>] cn_queue_wrapper+0x1c/0x50
Oct 17 13:13:56 stone kernel:  [<ffffffff80385dc0>] cn_queue_wrapper+0x0/0x50
Oct 17 13:13:56 stone kernel:  [<ffffffff8023d504>] run_workqueue+0x94/0x130
Oct 17 13:13:56 stone kernel:  [<ffffffff8023d6f8>] worker_thread+0x158/0x1a0
Oct 17 13:13:56 stone kernel:  [<ffffffff80225e10>] default_wake_function+0x0/0x10
Oct 17 13:13:56 stone kernel:  [<ffffffff80225e10>] default_wake_function+0x0/0x10
Oct 17 13:13:56 stone kernel:  [<ffffffff8023d5a0>] worker_thread+0x0/0x1a0
Oct 17 13:13:56 stone kernel:  [<ffffffff8023d5a0>] worker_thread+0x0/0x1a0
Oct 17 13:13:56 stone kernel:  [<ffffffff802413ff>] kthread+0x8f/0xd0
Oct 17 13:13:56 stone kernel:  [<ffffffff8020a428>] child_rip+0xa/0x12
Oct 17 13:13:56 stone kernel:  [<ffffffff80241370>] kthread+0x0/0xd0
Oct 17 13:13:56 stone kernel:  [<ffffffff8020a41e>] child_rip+0x0/0x12
Oct 17 13:13:56 stone kernel: 
Oct 17 13:13:56 stone kernel: 
Oct 17 13:13:56 stone kernel: Code: 48 8b 40 18 bd 6b 00 00 00 4c 8b 60 08 41 0f b7 84 24 b2 00 
Oct 17 13:13:56 stone kernel: RIP  [<ffffffff88026eed>] :drbd:drbd_nl_disk_conf+0x1dd/0x760
Oct 17 13:13:56 stone kernel:  RSP <ffff810037c05d90>
Oct 17 13:13:56 stone kernel: CR2: 0000000000000016



More information about the Users mailing list