Re: [OT] how to acquire a clustered vg on a server without lvm2-cluster

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

 



On Tue, Feb 3, 2009 at 1:20 PM, Gianluca Cecchi
<gianluca.cecchi@xxxxxxxxx> wrote:
> If I have a 2-nodes cluster with a clustered VG, that I copy (for
> example dd with cluster switched off), is then possible to acquire
> this VG on a third standalone node, or do I have to install the whole
> cluster layer on this third node too?
>
> This is on a rhel 5.2 server....
>
> At the moment:
> pvscan is ok.
>  pvscan
>  PV /dev/dm-11          VG VG_TEST   lvm2 [10.00 GB / 0    free]
>
> vgscan
>  Reading all physical volumes.  This may take a while...
>  Skipping clustered volume group VG_TEST
>
>
> vgchange -cn VG_TEST
>  Skipping clustered volume group VG_TEST
>


Ok, I found a Red Hat Knowledge Base (DOC-3619) explaining this.

[snip]
However, a local volume group has been incorrectly set up as
clustered, and there is not a cluster set up for the locking, when
unset the cluster flag is attempted to be removed, vgchange will print
out "Skipping cluster volume group."

In order to fix this, edit the /etc/lvm/lvm.conf file and set
locking_type = 0. Then run the command vgchange -cn VolumeGroupName.
After this, change the locking_type in the /etc/lvm/lvm.conf back to
the original value.

It works. Just in case other incurr in the same problem...

Sorry for the rumour,
Gianluca

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux