Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Okay, solve it. DRBD metadata creation seems is the problem. Its working with our first VM with DRBD metadata internal, it will consume some unallocated disk space on its logical volume. However, on this second VM it seem DRBD metadata damage the logical volume. So, I have create another different LV partition and store the DRBD data externally and the opensuse VM boot properly. Somehow, this both internal and external DRBD metadata have its own advantages and disadvantages as we can read the information here http://www.drbd.org/users-guide/ch-internals.html . Regards, Agya On Thu, Apr 18, 2013 at 10:49 PM, agya naila <agya.naila at gmail.com> wrote: > Hi all, > > I use drbd 8.3.11 configured from sources. I managed to use this drbd to > backup two of my virtual machine, however this two virtual machine in the > same volume group LVM. > > user1 at machine1:/dev/vgvoip$ sudo lvdisplay > --- Logical volume --- > LV Name /dev/vgvoip/User1-DomU > VG Name vgvoip > LV UUID 8ILyLk-dSaj-sIQg-YWb3-FbCp-G3Qn-NQilR1 > LV Write Access read/write > LV Status available > # open 0 > LV Size 10.00 GiB > Current LE 2560 > Segments 1 > Allocation inherit > Read ahead sectors auto > - currently set to 256 > Block device 252:0 > > --- Logical volume --- > LV Name /dev/vgvoip/opensuse > VG Name vgvoip > LV UUID JByS5q-4ed4-3A4v-51qP-dI02-CkHA-KcVJMS > LV Write Access read/write > LV Status available > # open 2 > LV Size 4.00 GiB > Current LE 1024 > Segments 1 > Allocation inherit > Read ahead sectors auto > - currently set to 256 > Block device 252:1 > > and here it is my drbd configuration > > resource drbd-vm{ > device /dev/drbd1; > disk /dev/vgvoip/User1-DomU; > meta-disk internal; > on machine1 { > address 10.10.10.1:7789; > } > on machine2 { > address 10.10.10.3:7789; > } > } > > resource drbd-suse{ > device /dev/drbd2; > disk /dev/vgvoip/opensuse; > meta-disk internal; > on machine1 { > address 10.10.10.1:7791; > } > on machine2 { > address 10.10.10.3:7791; > } > } > > The first VM with drbd-vm resources is running perfectly. However my > second machine won't start. Drbd resources fro this drbd-suse can connect > each other > > user1 at machine1:/dev/vgvoip$ sudo cat /proc/drbd > version: 8.3.11 (api:88/proto:86-96) > GIT-hash: 0de839cee13a4160eed6037c4bddd066645e23c5 build by root at machine1, > 2013-04-01 21:45:51 > > 1: cs:Unconfigured > 2: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate D r----- > ns:12 nr:0 dw:12 dr:4207485 al:2 bm:256 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b > def:0 chkpt:1 oos:0 > > however when I start the virtual machine its failed with message > > EXT4-fs (xvda2): bad geometry: block count 900096 exceeds size of device > (900055 blocks) > > > But if change the VM disk string back to disk = > ['phy:/dev/vgvoip/opensuse,xvda,w'] my VM will running well. > > Does anybody now how to solve this? > > Regards, > > Agya > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20130419/979daa68/attachment.htm>