<br><br><div class="gmail_quote">On Sun, Mar 14, 2010 at 6:59 PM, Cameron Smith <span dir="ltr"><<a href="mailto:velvetpixel@gmail.com">velvetpixel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The partition I want drbd to match to secondary is / and it is at <span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">/dev/sda2.</span><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br>
</span></font></div><div><span style="font-size:13px"></span><font face="arial, sans-serif"><span style="border-collapse:collapse">Is this the correct syntax?<br>
</span></font><br><br>resource r0 {<br> on clst01 {<br> device /;<br> disk /dev/sda2;<br> address <a href="http://10.1.1.31:7789" target="_blank">10.1.1.31:7789</a>;<br> meta-disk internal;<br> }</div><div>
on clst02 {<br>
device /;<br> disk /dev/sda2;<br> address <a href="http://10.1.1.32:7789" target="_blank">10.1.1.32:7789</a>;<br> meta-disk internal;<br>}<br><div><div><br></div><div><br></div><div>Also how do I reference the external location if I am using a<br>
separate partition for drbd meta data?</div></div></div>
</blockquote></div><br><div><br></div><div>OK That must be wrong as I get:</div><div><br></div><div>" drbdadm create-md r0</div><div>/ is not a block device!</div><div>Command 'drbdmeta / v08 /dev/sda2 internal create-md' terminated with exit code 20</div>
<div>drbdadm aborting"</div><div><br></div><div><br></div><div>How do I set root partition to be the source of the resource?</div>