Re: Antwort: Re: clvmd does not create vgs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
On node1, you created the pv /dev/drbd/by-res/repdata (pvcreate) and added it to VG storage_cluster  (vgcreate ....).
 
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.
 
If there was a locking issue, it would complain on node2 that it couldn't activate any LV from  storage_cluster.
 
Can you post the output of pvs on node2 ?
 
 
This is how it works for me
 
Brem

2010/3/8 Bernd Giese <bernd.giese@xxxxxxxxxxxxxxxxxx>

vgchange -ay on both nodes



brem belguebli <brem.belguebli@xxxxxxxxx>
Gesendet von: linux-cluster-bounces@xxxxxxxxxx

08.03.2010 13:49

Bitte antworten zu

linux clustering <linux-cluster@xxxxxxxxxx>

An
linux clustering <linux-cluster@xxxxxxxxxx>
Kopie
Thema
Re: clvmd does not create vgs





have you tried to pvscan/vgscan on node2 after creation on node1 ?


2010/3/8 Michael <st0rm2oo3@xxxxxxxx>:
> no suggestion?
>
> Thanks
>
>
>
> ----- Ursprüngliche Mail ----
> Von: Michael <st0rm2oo3@xxxxxxxx>
> An: linux-cluster@xxxxxxxxxx
> Gesendet: Donnerstag, den 4. März 2010, 11:12:51 Uhr
> Betreff: clvmd does not create vgs
>
> Hi,
>
> 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:
>
> [root@node1 log]# pvcreate /dev/drbd/by-res/repdata
>  Physical volume "/dev/drbd/by-res/repdata" successfully created
>
> [root@node2 tmp]# pvs
>  PV                      VG         Fmt  Attr PSize   PFree
>  /dev/VolGroup00/storage            lvm2 --     1,14T 1,14T
>  /dev/sda2               VolGroup00 lvm2 a-   557,62G    0
>  /dev/sdb1               VolGroup00 lvm2 a-     1,09T    0
>
> Well, /dev/VolGroup00/storage created on both nodes. Fine. Next I want to create a Volume Group:
>
> [root@node1 log]# vgcreate storage_cluster /dev/drbd/by-res/repdata
> vgcreate storage_cluster /dev/drbd0
>  Clustered volume group "storage_cluster" successfully created
>
> [root@node1 log]# vgs
>  VG              #PV #LV #SN Attr   VSize VFree
>  VolGroup00        2   3   0 wz--n- 1,63T    0
>  storage_cluster   1   0   0 wz--nc 1,14T 1,14T
>
>
> [root@node2 tmp]# vgs
>  VG         #PV #LV #SN Attr   VSize VFree
>  VolGroup00   2   3   0 wz--n- 1,63T    0
>
> Hmmm... there is no vg on node2. I restart the whole server but still no vg visible. What could be wrong?
>
> We're using Centos 5.4 with all patches installed.
>
> cman-2.0.115-1.el5_4.9
> lvm2-2.02.46-8.el5_4.2
> lvm2-cluster-2.02.46-8.el5_4.1
>
> Thanks in advanced and best regards,
>
> Michael
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
>
http://mail.yahoo.com
>
>
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
>
https://www.redhat.com/mailman/listinfo/linux-cluster
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
>
http://mail.yahoo.com
>
>
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
>
https://www.redhat.com/mailman/listinfo/linux-cluster
>

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

***********************************************************************************

Diese E-Mail einschließlich Ihrer Anhänge enthält vertrauliche oder rechtlich geschützte

Informationen. Wenn Sie nicht der beabsichtigte Empfänger sind, informieren Sie bitte sofort

den Absender und löschen Sie diese E-Mail. Das unbefugte Kopieren dieser E-Mail oder die

unbefugte Weitergabe der enthaltenen Informationen ist nicht gestattet.

 

The information incl. attachments contained in this message is confidential or protected by

law. If you are not the intended recipient, please contact the sender and delete this message.

Any unauthorised copying of this message or unauthorised distribution of the information

contained herein is prohibited.

***********************************************************************************

 


--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux