<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.17080" name=GENERATOR><LINK
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"
rel=stylesheet></HEAD>
<BODY
style="MARGIN-TOP: 10px; FONT-SIZE: 10pt; MARGIN-LEFT: 10px; COLOR: #000000; MARGIN-RIGHT: 10px; FONT-FAMILY: Verdana">
<DIV>Hi: </DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>I have 2 host : one is centstandby , another is centmaster.</DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>On centstandby : /dev/sdc is empty and not parted yet.</DIV>
<DIV>On centmaster : /dev/sdc1 and /dev/sdc2 is formatted as ext3 , and there are some files on /dev/sdc1 and /dev/sdc2 .</DIV>
<DIV>[root@centmaster drbd]# fdisk -l /dev/sdc</DIV>
<DIV></DIV>
<DIV>Disk /dev/sdc: 8589 MB, 8589934592 bytes</DIV>
<DIV>255 heads, 63 sectors/track, 1044 cylinders</DIV>
<DIV>Units = cylinders of 16065 * 512 = 8225280 bytes</DIV>
<DIV></DIV>
<DIV> Device Boot Start End Blocks Id System</DIV>
<DIV>/dev/sdc1 1 300 2409718+ 83 Linux</DIV>
<DIV>/dev/sdc2 301 1044 5976180 83 Linux</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>I configured centmaster as primary and centstandby as secondary , using internal meta data ( meta-disk /dev/sdd1[0] ): </DIV>
<DIV>resource r3 {</DIV>
<DIV> startup {</DIV>
<DIV> degr-wfc-timeout 120;</DIV>
<DIV> }</DIV>
<DIV> disk {</DIV>
<DIV> on-io-error detach;</DIV>
<DIV> }</DIV>
<DIV> net {</DIV>
<DIV> cram-hmac-alg sha1;</DIV>
<DIV> shared-secret "FooFunFactory";</DIV>
<DIV> }</DIV>
<DIV> syncer {</DIV>
<DIV> rate 100M;</DIV>
<DIV> }</DIV>
<DIV> on centmaster {</DIV>
<DIV> device /dev/drbd3;</DIV>
<DIV> disk /dev/sdc;</DIV>
<DIV> address 10.1.1.21:7791;</DIV>
<DIV><STRONG> meta-disk /dev/sdd1[0];</STRONG></DIV>
<DIV> }</DIV>
<DIV> on centstandby {</DIV>
<DIV> device /dev/drbd3;</DIV>
<DIV> disk /dev/sdc;</DIV>
<DIV> address 10.1.1.22:7791;</DIV>
<DIV><STRONG> meta-disk /dev/sdd1[0];</STRONG></DIV>
<DIV> }</DIV>
<DIV>}</DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV>when I start drbd both server and execute
fdisk on /dev/drbd3 : </DIV>
<DIV>[root@centmaster ~]# fdisk -l /dev/drbd3</DIV>
<DIV></DIV>
<DIV>Disk /dev/drbd3: 8589 MB, 8589934592 bytes</DIV>
<DIV>255 heads, 63 sectors/track, 1044 cylinders</DIV>
<DIV>Units = cylinders of 16065 * 512 = 8225280 bytes</DIV>
<DIV></DIV>
<DIV> Device Boot Start End Blocks Id System</DIV>
<DIV>/dev/drbd3p1 1 300 2409718+ 83 Linux</DIV>
<DIV>/dev/drbd3p2 301 1044 5976180 83 Linux</DIV>
<DIV>[root@centmaster ~]#</DIV>
<DIV> </DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>I know that /dev/drbd3p1 = /dev/sdc1 and /dev/drbd3p2 = /dev/sdc2 , </DIV>
<DIV>but <STRONG>there is no drbd3p1 or drbd3p2 in the /dev directory </STRONG>and I cannot mount /dev/drbd3p1 or /dev/drbd3p1 . </DIV>
<DIV>Anyone can tell me how to use /dev/drbd3p1 and /dev/drbd3p2 ?</DIV>
<DIV></DIV>
<DIV></DIV></BODY></HTML>