<div dir="ltr"><div>Hi all,</div><div> </div><div>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.</div>
<div> </div><div>user1@machine1:/dev/vgvoip$ sudo lvdisplay</div><div> --- Logical volume ---</div><div> LV Name /dev/vgvoip/User1-DomU</div><div> VG Name vgvoip</div><div> LV UUID 8ILyLk-dSaj-sIQg-YWb3-FbCp-G3Qn-NQilR1</div>
<div> LV Write Access read/write</div><div> LV Status available</div><div> # open 0</div><div> LV Size 10.00 GiB</div><div> Current LE 2560</div><div> Segments 1</div>
<div> Allocation inherit</div><div> Read ahead sectors auto</div><div> - currently set to 256</div><div> Block device 252:0</div><div> </div><div> --- Logical volume ---</div><div> LV Name /dev/vgvoip/opensuse</div>
<div> VG Name vgvoip</div><div> LV UUID JByS5q-4ed4-3A4v-51qP-dI02-CkHA-KcVJMS</div><div> LV Write Access read/write</div><div> LV Status available</div><div> # open 2</div>
<div> LV Size 4.00 GiB</div><div> Current LE 1024</div><div> Segments 1</div><div> Allocation inherit</div><div> Read ahead sectors auto</div><div> - currently set to 256</div>
<div> Block device 252:1</div><div> </div><div>and here it is my drbd configuration</div><div> </div><div>resource drbd-vm{</div><div> device /dev/drbd1;</div><div> disk /dev/vgvoip/User1-DomU;</div><div>
meta-disk internal;</div><div> on machine1 {</div><div> address <a href="http://10.10.10.1:7789">10.10.10.1:7789</a>;</div><div> }</div><div> on machine2 {</div><div> address <a href="http://10.10.10.3:7789">10.10.10.3:7789</a>;</div>
<div> }</div><div>}</div><div> </div><div>resource drbd-suse{</div><div> device /dev/drbd2;</div><div> disk /dev/vgvoip/opensuse;</div><div>meta-disk internal;</div><div> on machine1 {</div><div> address <a href="http://10.10.10.1:7791">10.10.10.1:7791</a>;</div>
<div> }</div><div> on machine2 {</div><div> address <a href="http://10.10.10.3:7791">10.10.10.3:7791</a>;</div><div> }</div><div>}</div><div> </div><div>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 </div>
<div> </div><div>user1@machine1:/dev/vgvoip$ sudo cat /proc/drbd</div><div>version: 8.3.11 (api:88/proto:86-96)</div><div>GIT-hash: 0de839cee13a4160eed6037c4bddd066645e23c5 build by root@machine1, 2013-04-01 21:45:51</div>
<div> </div><div> 1: cs:Unconfigured</div><div> 2: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate D r-----</div><div> 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</div>
<div> </div><div>however when I start the virtual machine its failed with message </div><div> </div><div>EXT4-fs (xvda2): bad geometry: block count 900096 exceeds size of device (900055 blocks)</div><div> </div><div> </div>
<div style>But if change the VM disk string back to disk = ['phy:/dev/vgvoip/opensuse,xvda,w'] my VM will running well.</div><div style><br></div><div style>Does anybody now how to solve this?</div><div style><br>
</div><div style>Regards,</div><div style><br></div><div style>Agya</div></div>