<div>Hello</div>
<div> </div>
<div>I'm setting drbd + ha + iscsi-target + ESX, the drbd0 for iscsi-target without format it (it for ESX) and the drbd1 for iscsi-target files.</div>
<div> </div>
<div>The following my drbd.conf and haresources setting:</div>
<div> </div>
<div>drbd.conf</div>
<div> </div>
<div>global {<br> usage-count yes;<br>}</div>
<div>common {<br> syncer { rate 30M; }<br>}</div>
<div>resource r0 {<br> protocol C;<br> startup {<br> wfc-timeout 0;<br> degr-wfc-timeout 120;<br> }</div>
<div> disk {<br> on-io-error detach;<br> # no-disk-flushes;<br> # no-md-flushes<br> # size 1G;<br> }</div>
<div> net {<br> }</div>
<div>on abc01 {<br> device /dev/drbd0;<br> disk /dev/sda5;<br> address <a href="http://192.168.80.28:7789">192.168.80.28:7789</a>;<br> meta-disk internal;<br> }</div>
<div>on abc02 {<br> device /dev/drbd0;<br> disk /dev/sda5;<br> address <a href="http://192.168.80.29:7789">192.168.80.29:7789</a>;<br> meta-disk internal;<br> }<br>}</div>
<div>resource r1 {<br> protocol C;<br> startup {<br> wfc-timeout 0;<br> degr-wfc-timeout 120;<br> }</div>
<div> disk {<br> on-io-error detach;<br> # no-disk-flushes;<br> # no-md-flushes<br> # size 1G;<br> }</div>
<div> net {<br> }</div>
<div>on abc01 {<br> device /dev/drbd1;<br> disk /dev/sda6;<br> address <a href="http://192.168.80.28:7790">192.168.80.28:7790</a>;<br> meta-disk internal;<br> }</div>
<div>on abc02 {<br> device /dev/drbd1;<br> disk /dev/sda6;<br> address <a href="http://192.168.80.29:7790">192.168.80.29:7790</a>;<br> meta-disk internal;<br> }<br>}<br></div>
<div>haresources:</div>
<div> </div>
<div>abc01 IPaddr::<a href="http://192.168.80.30/24/eth0">192.168.80.30/24/eth0</a> drbddisk::r0 Filesystem::/dev/drbd0 iscsi-target<br>abc01 IPaddr::<a href="http://192.168.80.30/24/eth0">192.168.80.30/24/eth0</a> drbddisk::r1 Filesystem::/dev/drbd1::/test::ext3</div>
<div> </div>
<div> </div>
<div>Thanks !!</div>
<div> </div>