<br><br>
<div class="gmail_quote">2010/3/12 Michael <span dir="ltr"><<a href="mailto:st0rm2oo3@yahoo.de">st0rm2oo3@yahoo.de</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div>Hi,<br><br>yes, /dev/VolGroup00/storage is a LV</div></div></div></blockquote>
<div> </div>
<div>So how come it appears in the PV column of your pvs ?</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div>. This is our DRDB device. We configured DRDB as dual primary. So /dev/VolGroup00/storage is equal on both nodes.</div></div></div></blockquote>
<div>You mean the same physical device ?</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div>In serveral Documentations they said that you have to create a pvs/vgs/lvm on DRDB device to use gfs.</div></div></div></blockquote>
<div> </div>
<div>I'm not a DRBD client neither a GFS one, can't help on this</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div>So this the point where we got stuck. The DRDB Device is in sync. So no problem in this configuration. But when we try to create a pv on the device (actually the lv) this doesnt work. I thought if i create a pv/vg/lv on one node, its automatically created on the second node. Is this right?<br>
</div></div></div></blockquote>
<div> </div>
<div>When you create a LVM structure on a physical disk (pvcreate, vgcreate, lvcreate), it will fill the metadata region of your physical device with this information.</div>
<div>If this physical disk is also seen on a different machine, vgscan (if device is not blacklisted) will discover the LVM information written on the disk.</div>
<div>If there are no conflicts (overlapping of VG names, etc...) it will be accepted by the system.  </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div><br>Best regards<br></div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><font face="Tahoma" size="2">
<div class="im">
<hr size="1">
<b><span style="FONT-WEIGHT: bold">Von:</span></b> brem belguebli <<a href="mailto:brem.belguebli@gmail.com" target="_blank">brem.belguebli@gmail.com</a>><br><b><span style="FONT-WEIGHT: bold">An:</span></b> linux clustering <<a href="mailto:linux-cluster@redhat.com" target="_blank">linux-cluster@redhat.com</a>><br>
</div><b><span style="FONT-WEIGHT: bold">Gesendet:</span></b> Mittwoch, den 10. März 2010, 20:02:04 Uhr 
<div>
<div></div>
<div class="h5"><br><b><span style="FONT-WEIGHT: bold">Betreff:</span></b> Re: [Linux-cluster] Antwort: Re: clvmd does not create vgs<br></div></div></font>
<div>
<div></div>
<div class="h5"><br>
<div>It looks there is something I didn't catch from your messages, among them I think I missed the DRBD thing.</div>
<div> </div>
<div>The /dev/VolGroup00/storage are physical devices (pv's) ? </div>
<div> </div>
<div>Strange naming as it confuses me to have a VG (VolGroup00) name in it, I tend to read this naming as being a LV (storage being a LV in VG VolGroup00...).</div>
<div> </div>
<div>Anyway, if possible to have such names for PV's, are you saying that they are different physical devices on each nodes, the one on node1 being the source device of your DRBD setup and the one on node2 being the destination of your DRBD setup ?</div>

<div> </div>
<div>I don't know much DRBD to help you, but were you expecting DRBD to create the VG storage automatically on the destination PV on node2 ?</div>
<div> </div>
<div>Brem</div>
<div>  </div>
<div> </div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">2010/3/9 Michael <span dir="ltr"><<a href="mailto:st0rm2oo3@yahoo.de" target="_blank" rel="nofollow">st0rm2oo3@yahoo.de</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<div>Hi,<br><br>vgchange -ay didnt help. Here is the output from pvs on both nodes <br><br>[root@node1 ~]# pvs 
<div><br>  PV                      VG              Fmt  Attr PSize   PFree<br></div>  /dev/VolGroup00/storage storage_cluster lvm2 a-     1,14T 1,14T 
<div><br>  /dev/sda2               VolGroup00      lvm2 a-   557,62G    0 <br>  /dev/sdb1               VolGroup00      lvm2 a-     1,09T    0 <br><br></div>[root@node2 ~]# pvs 
<div><br>  PV                      VG         Fmt  Attr PSize   PFree<br>  /dev/VolGroup00/storage            lvm2 --     1,14T 1,14T<br>  /dev/sda2               VolGroup00 lvm2 a-   557,62G    0 <br>  /dev/sdb1               VolGroup00 lvm2 a-     1,09T    0 <br>
<br></div>/dev/VolGroup00/storage is my drdb device. I created it on different vg.<br><br><br></div>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><br>
<div style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif"><font face="Tahoma" size="2">
<hr size="1">
<b><span style="FONT-WEIGHT: bold">Von:</span></b> brem belguebli <<a href="mailto:brem.belguebli@gmail.com" target="_blank" rel="nofollow">brem.belguebli@gmail.com</a>> 
<div><br><b><span style="FONT-WEIGHT: bold">An:</span></b> linux clustering <<a href="mailto:linux-cluster@redhat.com" target="_blank" rel="nofollow">linux-cluster@redhat.com</a>><br></div><b><span style="FONT-WEIGHT: bold">Gesendet:</span></b> Montag, den 8. März 2010, 18:04:28 Uhr<br>
<b><span style="FONT-WEIGHT: bold">Betreff:</span></b> Re: [Linux-cluster] Antwort: Re: clvmd does not create vgs<br></font>
<div>
<div></div>
<div><br>
<div>Hi,</div>
<div> </div>
<div>On node1, you created the pv /dev/drbd/by-res/repdata (pvcreate) and added it to VG storage_cluster  (vgcreate ....).</div>
<div> </div>
<div>On node2, as long as the device /dev/drbd/by-res/repdata  is accessible, a simple vgscan would discover the newly created pv and vg.</div>
<div> </div>
<div>If there was a locking issue, it would complain on node2 that it couldn't activate any LV from  storage_cluster.</div>
<div> </div>
<div>Can you post the output of pvs on node2 ?</div>
<div> </div>
<div> </div>
<div>This is how it works for me</div>
<div> </div>
<div>Brem<br><br></div>
<div class="gmail_quote">2010/3/8 Bernd Giese <span dir="ltr"><<a href="mailto:bernd.giese@warburg-invest.com" target="_blank" rel="nofollow">bernd.giese@warburg-invest.com</a>></span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><br><font face="sans-serif" size="2">vgchange -ay on both nodes<br></font><br><br><br>
<table width="100%">
<tbody>
<tr valign="top">
<td width="40%">
<div><font face="sans-serif" size="1"><b>brem belguebli <<a href="mailto:brem.belguebli@gmail.com" target="_blank" rel="nofollow">brem.belguebli@gmail.com</a>></b> </font><br></div><font face="sans-serif" size="1">Gesendet von: <a href="mailto:linux-cluster-bounces@redhat.com" target="_blank" rel="nofollow">linux-cluster-bounces@redhat.com</a></font> 
<p><font face="sans-serif" size="1">08.03.2010 13:49</font> 
<table border="1">
<tbody>
<tr valign="top">
<td bgcolor="white">
<div align="center"><font face="sans-serif" size="1">Bitte antworten zu 
<div><br>linux clustering <<a href="mailto:linux-cluster@redhat.com" target="_blank" rel="nofollow">linux-cluster@redhat.com</a>></div></font></div></td></tr></tbody></table><br></p></td>
<td width="59%">
<table width="100%">
<tbody>
<tr>
<td>
<div align="right"><font face="sans-serif" size="1">An</font></div></td>
<td valign="top">
<div><font face="sans-serif" size="1">linux clustering <<a href="mailto:linux-cluster@redhat.com" target="_blank" rel="nofollow">linux-cluster@redhat.com</a>></font> </div></td></tr>
<tr>
<td>
<div align="right"><font face="sans-serif" size="1">Kopie</font></div></td>
<td valign="top"><br></td></tr>
<tr>
<td>
<div align="right"><font face="sans-serif" size="1">Thema</font></div></td>
<td valign="top"><font face="sans-serif" size="1">Re: [Linux-cluster] clvmd does not create vgs</font></td></tr></tbody></table><br>
<table>
<tbody>
<tr valign="top">
<td><br></td>
<td><br></td></tr></tbody></table><br></td>
<td>
<p></p><br></td></tr></tbody></table>
<div>
<div></div>
<div><br><br><br><tt><font size="2">have you tried to pvscan/vgscan on node2 after creation on node1 ?<br><br><br>2010/3/8 Michael <<a href="mailto:st0rm2oo3@yahoo.de" target="_blank" rel="nofollow">st0rm2oo3@yahoo.de</a>>:<br>
> no suggestion?<br>><br>> Thanks<br>><br>><br>><br>> ----- Ursprüngliche Mail ----<br>> Von: Michael <<a href="mailto:st0rm2oo3@yahoo.de" target="_blank" rel="nofollow">st0rm2oo3@yahoo.de</a>><br>
> An: <a href="mailto:linux-cluster@redhat.com" target="_blank" rel="nofollow">linux-cluster@redhat.com</a><br>> Gesendet: Donnerstag, den 4. März 2010, 11:12:51 Uhr<br>> Betreff: [Linux-cluster] clvmd does not create vgs<br>
><br>> Hi,<br>><br>> we are curenty using cman, clvmd and drbd. The problem occurs when we want to create volume groups. DRBD shows that both nodes are UpToDate. So first I try create a Physical Volume:<br>><br>
> [root@node1 log]# pvcreate /dev/drbd/by-res/repdata<br>>  Physical volume "/dev/drbd/by-res/repdata" successfully created<br>><br>> [root@node2 tmp]# pvs<br>>  PV                      VG         Fmt  Attr PSize   PFree<br>
>  /dev/VolGroup00/storage            lvm2 --     1,14T 1,14T<br>>  /dev/sda2               VolGroup00 lvm2 a-   557,62G    0<br>>  /dev/sdb1               VolGroup00 lvm2 a-     1,09T    0<br>><br>> Well, /dev/VolGroup00/storage created on both nodes. Fine. Next I want to create a Volume Group:<br>
><br>> [root@node1 log]# vgcreate storage_cluster /dev/drbd/by-res/repdata<br>> vgcreate storage_cluster /dev/drbd0<br>>  Clustered volume group "storage_cluster" successfully created<br>><br>> [root@node1 log]# vgs<br>
>  VG              #PV #LV #SN Attr   VSize VFree<br>>  VolGroup00        2   3   0 wz--n- 1,63T    0<br>>  storage_cluster   1   0   0 wz--nc 1,14T 1,14T<br>><br>><br>> [root@node2 tmp]# vgs<br>>  VG         #PV #LV #SN Attr   VSize VFree<br>
>  VolGroup00   2   3   0 wz--n- 1,63T    0<br>><br>> Hmmm... there is no vg on node2. I restart the whole server but still no vg visible. What could be wrong?<br>><br>> We're using Centos 5.4 with all patches installed.<br>
><br>> cman-2.0.115-1.el5_4.9<br>> lvm2-2.02.46-8.el5_4.2<br>> lvm2-cluster-2.02.46-8.el5_4.1<br>><br>> Thanks in advanced and best regards,<br>><br>> Michael<br>><br>> __________________________________________________<br>
> Do You Yahoo!?<br>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.<br>> </font></tt><a href="http://mail.yahoo.com/" target="_blank" rel="nofollow"><tt><font size="2">http://mail.yahoo.com<br>
><br>><br>> --<br>> Linux-cluster mailing list<br>> Linux-cluster@redhat.com<br>> </font></tt></a><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank" rel="nofollow"><tt><font size="2">https://www.redhat.com/mailman/listinfo/linux-cluster<br>
><br>><br>> __________________________________________________<br>> Do You Yahoo!?<br>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.<br>> </font></tt></a><a href="http://mail.yahoo.com/" target="_blank" rel="nofollow"><tt><font size="2">http://mail.yahoo.com<br>
><br>><br>> --<br>> Linux-cluster mailing list<br>> Linux-cluster@redhat.com<br>> </font></tt></a><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank" rel="nofollow"><tt><font size="2">https://www.redhat.com/mailman/listinfo/linux-cluster<br>
><br><br>--<br>Linux-cluster mailing list<br>Linux-cluster@redhat.com<br></font></tt></a><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank" rel="nofollow"><tt><font size="2">https://www.redhat.com/mailman/listinfo/linux-cluster<br>
</font></tt></a><br></div></div>
<p><span style="FONT-SIZE: 8pt">***********************************************************************************</span></p>
<p><span style="FONT-SIZE: 8pt">Diese E-Mail einschließlich Ihrer Anhänge enthält vertrauliche oder rechtlich geschützte</span></p>
<p><span style="FONT-SIZE: 8pt">Informationen. Wenn Sie nicht der beabsichtigte Empfänger sind, informieren Sie bitte sofort </span></p>
<p><span style="FONT-SIZE: 8pt">den Absender und löschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die </span></p>
<p><span style="FONT-SIZE: 8pt">unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet.</span></p>
<p><span style="FONT-SIZE: 8pt"></span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt">The information incl. attachments contained in this message is confidential or protected by</span></p>
<p><span style="FONT-SIZE: 8pt">law. If you are not the intended recipient, please contact the sender and delete this message.</span></p>
<p><span style="FONT-SIZE: 8pt">Any unauthorised copying of this message or unauthorised distribution of the information</span></p>
<p><span style="FONT-SIZE: 8pt">contained herein is prohibited.</span></p>
<p><span style="FONT-SIZE: 8pt">***********************************************************************************</span></p>
<p><span style="FONT-SIZE: 8.2pt"> </span></p><br>--<br>Linux-cluster mailing list<br><a href="mailto:Linux-cluster@redhat.com" target="_blank" rel="nofollow">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank" rel="nofollow">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote></div><br></div></div></div></div></div>
<div>
<div></div>
<div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br><a href="http://mail.yahoo.com/" target="_blank" rel="nofollow">http://mail.yahoo.com</a> </div>
</div></div><br>--<br>Linux-cluster mailing list<br><a href="mailto:Linux-cluster@redhat.com" target="_blank" rel="nofollow">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank" rel="nofollow">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote></div><br></div></div></div></div></div>
<div>
<div></div>
<div class="h5"><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br><a href="http://mail.yahoo.com/" target="_blank">http://mail.yahoo.com</a> </div>
</div></div><br>--<br>Linux-cluster mailing list<br><a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</blockquote></div><br>