[CentOS-virt] xen+drbd Question

Mon Aug 25 16:07:57 UTC 2008
Alexandre Biancalana <biancalana at gmail.com>

Hi list,

 I installed two new servers to be our virtualization HA. This servers
have CentOS 5.2, Xen 3.0.3, Drbd 8.2.6. The setup is ok, lvm drbd
resources sincronizing, Guest VM running without any problem.

My only doubt is that I can only use drbd resources inside guest vms
when I specify the disk resource in vms config like this:

disk   = ['phy:/dev/VolGroup00/vappprtem01,hda,w' ]

if I specify de disk like:

disk   = [drbd:vappprtem01,hda,w' ]

The Guest VM found the disk but this appear with zero size.

As far what I read the second way is the correct to live migration
work without any race condiction...

This link say that centos has a problem with block-drbd script
provided by drbd, is anybody aware of that ?

http://lists.xensource.com/archives/html/xen-users/2008-08/msg00176.html

Any hints ?

Best Regards,