<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY><!--ppd1000010-->
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>On two Centos 5.2
(2.6.18-92.1.10.el5) servers, I did the following:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>created
logical partition /dev/sda5</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>created
PV, volume group VG01, and logical volume LV01</SPAN></FONT></DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>created
drbd resource with the following options:</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN
class=825330315-12102008>device
/dev/drbd0;</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008><FONT
face="Courier New">disk
/dev/vg01/lv01;<BR></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></SPAN></FONT>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>This worked fine.
Server 1 is now primary, server 2 is secondary, both are up to
date.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>When trying to
prepare my DRBD resource for use as a PV, I issued the
command:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>pvcreate
/dev/drbd0</SPAN></FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>And
got:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>Failed to
write physical volume "/dev/drbd0"</SPAN></FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>I
ran:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>parted
-l</SPAN></FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>And
got:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN
class=825330315-12102008>Number Start
End Size
Type File system
Flags<BR> 1 32.3kB 83.9GB
83.9GB primary ext3<BR> 2
83.9GB 92.5GB 8587MB primary
linux-swap<BR> 3 92.5GB 92.6GB
123MB primary
ext3
boot<BR> 4 92.6GB 1198GB
1105GB
extended
lba<BR> 5 92.6GB 1198GB
1105GB logical<BR></SPAN></FONT></DIV>
<DIV><FONT size=2><SPAN class=825330315-12102008><FONT
face="Courier New">Error: Unable to open /dev/md0 - unrecognised disk
label.<BR></FONT></DIV></BLOCKQUOTE></SPAN></FONT>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>I ran fdisk,
looked at the partition tables, and quit without saving
changes.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>Then I tried
parted again and got:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN
class=825330315-12102008>Number Start
End Size
Type File system
Flags<BR> 1 32.3kB 83.9GB
83.9GB primary ext3<BR> 2
83.9GB 92.5GB 8587MB primary
linux-swap<BR> 3 92.5GB 92.6GB
123MB primary
ext3
boot<BR> 4 92.6GB 1198GB
1105GB
extended
lba<BR> 5 92.6GB 1198GB
1105GB logical</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV><FONT face=Verdana
size=2><SPAN class=825330315-12102008>
<DIV><BR><FONT face="Courier New">Error: Unable to open /dev/drbd0 -
unrecognised disk label.</FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New">Error: Unable to open /dev/md0 - unrecognised
disk label.</FONT><BR></SPAN></FONT></DIV></BLOCKQUOTE>
<DIV><SPAN class=825330315-12102008><FONT face=Verdana size=2>NOTE: Now there's
<U>two</U> unrocognized disk labels, one of which is drbd0.</FONT></SPAN></DIV>
<DIV><SPAN class=825330315-12102008><FONT face=Verdana
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>So then I tried
the command again:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>pvcreate
/dev/drbd0</SPAN></FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>And
got:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT face="Courier New" size=2><SPAN class=825330315-12102008>Physical
volume "/dev/drbd0" successfully created</SPAN></FONT></DIV></BLOCKQUOTE>
<DIV><FONT face=Verdana size=2><SPAN
class=825330315-12102008></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=825330315-12102008>What the
heck?</DIV>
<DIV><BR></DIV></SPAN></FONT>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" align=left><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">--<BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Eric Robinson<BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Director of Information
Technology<BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Physician Select Management,
LLC<BR></SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">775.885.2211 x
111</SPAN></P>
<DIV><FONT face=Verdana size=2></FONT> </DIV><BR><BR><FONT color=silver><SPAN style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana"><FONT size=1>Disclaimer - October 12, 2008</FONT></FONT></SPAN></FONT> <P></P><FONT size=1><FONT face=Verdana color=gray><SPAN style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">This email and any files <FONT size=1>transmitted</FONT> with it are confidential and intended solely for <STRONG>drbd-user@lists.linbit.com</STRONG></SPAN></FONT><FONT face=Verdana color=gray><SPAN style="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: Verdana">. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of . Warning: Although has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. <P>This disclaimer was added by Policy Patrol: <A href="http://www.policypatrol.com/">http://www.policypatrol.com</P></A></SPAN></FONT></FONT></BODY></HTML>