okie figured out the part why i was unable to mount the secnodary..<br><br>I simulated a failure on primary, byt rebooting it.. and then made the secondary primary, mounted it and all was good.<br><br>now when the old primary is back up, and i want to make it primary again , what do i do ?
<br><br><br><div><span class="gmail_quote">On 12/18/06, <b class="gmail_sendername">Kamran Nisar</b> <<a href="mailto:mkamrannisar@gmail.com">mkamrannisar@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
OUCH... thanks :D<br><br>the same procedure does not work for the secondary <.. is it allowed to mount the secondary while it is still syncing from the primary ? i actually wanted to use both the nodes as load balanced>
<br><br><br>on the secondary <br><br>test2:/ # mount /dev/drbd0 /repl_test/<br>mount: block device /dev/drbd0 is write-protected, mounting read-only<br>mount: /dev/drbd0 already mounted or /repl_test/ busy<br><br><div><span class="q">
<span class="gmail_quote">
On 12/18/06, <b class="gmail_sendername">Nicolas Bouthors</b> <<a href="mailto:nbouthors@nbi.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">nbouthors@nbi.fr</a>> wrote:</span></span><div>
<span class="e" id="q_10f9592ef033d5a4_2"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le 18/12/2006 17:22, Kamran Nisar écrivait :<br>> test1:~ # mkdir /repl_test<br>> test1:~ # mount /dev/md0 /repl_test<br><br>Please mount the DRBD device NOT (and never ever) the underlying block<br>device.<br><br>
# mount /dev/drbd0 /reml_test<br><br>is what you want<br><br> N<br><br>--<br>Nicolas Bouthors -=- Tel : 06 20 71 62 34 -=- Fax : 01 46 87 21 99<br>NBi SARL -=- <a href="http://nbi.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://nbi.fr</a> -=- <a href="mailto:nbouthors@nbi.fr" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
nbouthors@nbi.fr</a><br></blockquote></span></div></div><span class="sg"><br><br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,
</span></blockquote></div><br><br clear="all"><br>-- <br>Regards<br>M Kamran Nisar,