[DRBD-user] drbd lvm error

agya naila agya.naila at gmail.com
Thu Apr 18 22:49:33 CEST 2013

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


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/20130418/692fa172/attachment.htm>


More information about the drbd-user mailing list