[DRBD-user] drbd stops sync on LVM

Lars Ellenberg lars.ellenberg at linbit.com
Wed Sep 8 14:11:17 CEST 2010

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.

On Wed, Sep 08, 2010 at 01:31:02PM +0200, Eric Deschamps wrote:
> Hi list!
> I am trying to sync KVM virtual machines located on LVM spaces.
> The first host is a ubuntu 8.04 amd64 server (host 1) and the second is
> a ubuntu 10.04 amd64 server, both with original kernels. Drbd api are
> not the same on both host  (8.3.0 on host1 and 8.3.7 on host2), but i'm
> not sure it can cause any problem.
> Another point is that I've had to use external metadata, as I'm using
> contiguous LV that I could not extend for some VMs.
> I'd like to first migrate all the VM from the first server to the second
> one, then upgrade the first one to 10.04 and put the VMs back on host1.
> The initial sync works like a charm, but if I stop a VM on host 1 and
> start it on host2, it looks like the system is a snapshot from the
> initial sync.
> Anyway, /proc/drbd on both nodes prints UpToDate/UpToDate as well as
> drbdadm.
> What could cause this problem ? What am i doing wrong ?

Could you post the output of

for vm in $(virsh list --all | awk 'NR > 2 {  print $2  }') ; do
	printf "\n%s\n" $vm;
	virsh dumpxml $vm | sed -e '/<disk/,/<\/disk/!d';

: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
please don't Cc me, but send to list   --   I'm subscribed

More information about the drbd-user mailing list