Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
sorry... -------- Message original -------- Sujet: Re: [DRBD-user] drbd stops sync on LVM Date : Wed, 08 Sep 2010 14:30:21 +0200 De : Eric Deschamps <erdesc at free.fr> Pour : Lars Ellenberg <lars.ellenberg at linbit.com> Le 08/09/2010 14:11, Lars Ellenberg a écrit : > 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'; > done > Of course : On the first host : actes2 Connecting to uri: qemu:///system <disk type='block' device='disk'> <source dev='/dev/rootvol/actes'/> <target dev='hda' bus='ide'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <readonly/> </disk> ltsp Connecting to uri: qemu:///system <disk type='file' device='disk'> <source file='/dev/mapper/rootvol-ltsp'/> <target dev='hda' bus='ide'/> </disk> samba Connecting to uri: qemu:///system <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <readonly/> </disk> <disk type='block' device='disk'> <source dev='/dev/rootvol/samba'/> <target dev='vda' bus='virtio'/> </disk> patients Connecting to uri: qemu:///system <disk type='file' device='disk'> <source file='/dev/mapper/rootvol-patients'/> <target dev='hda' bus='ide'/> </disk> intranet Connecting to uri: qemu:///system <disk type='file' device='disk'> <source file='/dev/mapper/rootvol-intranet'/> <target dev='hda' bus='ide'/> </disk> And on the second host : actes2 <disk type='block' device='disk'> <source dev='/dev/rootvol/actes'/> <target dev='hda' bus='ide'/> </disk> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <readonly/> </disk> intranet <disk type='file' device='disk'> <source file='/dev/mapper/rootvol-intranet'/> <target dev='hda' bus='ide'/> </disk> ltsp <disk type='file' device='disk'> <source file='/dev/mapper/rootvol-ltsp'/> <target dev='hda' bus='ide'/> </disk> patients <disk type='file' device='disk'> <source file='/dev/mapper/rootvol-patients'/> <target dev='hda' bus='ide'/> </disk> samba <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <readonly/> </disk> <disk type='block' device='disk'> <source dev='/dev/rootvol/samba'/> <target dev='vda' bus='virtio'/> </disk> Many thanks! Eric