1833758 Members
3159 Online
110063 Solutions
New Discussion

pvdisplay

 
rohit kumar gupta
Occasional Contributor

pvdisplay

hi
i am configuring a Lun as cluster lock .
but i am getting below error message
"Invalid data for cluster lock LUN configuration"
cmcheckconf: Unable to verify cluster file:

when i did "pvdisplay -l" on disk then i am getting below messsage
/dev/dsk/c4t0d0:LVM_Disk=yes

is this have some relation with problem?
7 REPLIES 7
Jupinder Bedi
Respected Contributor

Re: pvdisplay

use pvremove - remove LVM data structure from a physical volume

or use the following command

dd if=/dev/zero of=/dev/rdsk/cXtYdZ bs=128k count=2048
All things excellent are as difficult as they are rare
Jupinder Bedi
Respected Contributor

Re: pvdisplay

You cannot use a PV that has been assigned to an LVM VG as a Lock Lun
You must use a Physical LUN that is not assigned to ANY type of volume manager.
All things excellent are as difficult as they are rare
Michael Steele_2
Honored Contributor

Re: pvdisplay

Hi

When you make a cluster lock you can use either a lun or a local disk. Both need to be in a vg shareable by all nodes, but a lun lock disk can not have any lvol or other data in it. A lock lun can be used to store data.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: pvdisplay

Hi

Geez, ignore the responses above. Use pvcreate to clear data from a pv.
Support Fatherhood - Stop Family Law
Michael Steele_2
Honored Contributor

Re: pvdisplay

"...In an LVM configuration, a disk used as a lock disk is not dedicated for use as the cluster lock; the disk can be employed as part of a normal volume group with user data on it. A lock LUN, on the other hand, is
dedicated to the cluster lock; you cannot store any other data on it..."

"...You specify the cluster lock volume group and physical volume, or the cluster lock LUN, in the cluster configuration file..."

A lock lun can not be used with a 2nd cluster lock.
Support Fatherhood - Stop Family Law
rohit kumar gupta
Occasional Contributor

Re: pvdisplay

thanks for your reply ..
your suggestion really helped me.
AVV
Super Advisor

Re: pvdisplay

Hi,

Remove the lockvg and recreate it from scratch, if that vg does not have any data that you want to save. Ensure that the nodes in cluster have access to this PV/VG.

Normally lockvg does have data in it when considering the cost but not a simple vg with no data also seen.