1753878 Members
7077 Online
108809 Solutions
New Discussion юеВ

VxVM DG Import problem

 
SOLVED
Go to solution
Mohamed Amine
Advisor

VxVM DG Import problem

Hello everyone,

I have a disk group with two disks, I have deported it and want to import it back.
The disk are only visible to one node. But anytime I try to do so, here what happens :

# vxdg import vg_ccbs_crs
VxVM vxdg ERROR V-5-1-10978 Disk group vg_ccbs_crs: import failed:
Disk is sharable, operation not supported

After checking the disk status here what I get :
# vxdisk -s list c8t0d2
Disk: c8t0d2
type: auto
flags: online ready private autoconfig shared autoimport
guid: {1957d08a-1dd2-11b2-9f46-001f290de7e3}
udid: EMC%5FSYMMETRIX%5F104441%5F60060480000290104441533031433338
site: -
diskid: 1251458561.132.andalous
dgname: vg_ccbs_crs
dgid: 1251461116.132.andalous
clusterid: ccbscluster
info: format=cdsdisk,privoffset=128

# vxdisk -s list c8t0d3
Disk: c8t0d3
type: auto
flags: online ready private autoconfig
guid: {1c7b8e3c-1dd2-11b2-9f46-001f290de7e3}
udid: EMC%5FSYMMETRIX%5F104441%5F60060480000290104441533031433430
site: -
diskid: 1251458566.134.andalous
dgname: vg_ccbs_crs
dgid: 1251461116.132.andalous
hostid:
info: format=cdsdisk,privoffset=128

One of the disks is flagged as shared even though it shouldn't.
Anyone has any clue about clearing the flag ?
Thanks.
8 REPLIES 8
Robert-Jan Goossens
Honored Contributor

Re: VxVM DG Import problem

Hi Mohamed,

Have a look at this doc.

http://seer.entsupport.symantec.com/docs/247560.htm

Regards,
Robert-Jan
Mohamed Amine
Advisor

Re: VxVM DG Import problem

Thanks for your prompt answer.
Actually, the node is part of the cluster but this DG is not shared. I don't really know how we managed to get one of the disks shared !

If I try to import the disk in shared mode, it won't work as the second node can't see it

VxVM vxdg ERROR V-5-1-10978 Disk group vg_ccbs_crs: import failed:
Cannot find disk on slave node

Is there any way to clean the shared flag on the disk or to force the import of the DG in shared mode ?

Thanks
Robert-Jan Goossens
Honored Contributor

Re: VxVM DG Import problem

Hi again,

The shared lun /disk is probably configured as the cluster quorum device.

What kind of cluster are you running?

Regards,
Robert-Jan
Mohamed Amine
Advisor

Re: VxVM DG Import problem

Hello,

I'm running SG CFS eRAC on HPUX.
cmgetconf gives me :
FIRST_CLUSTER_LOCK_PV /dev/dsk/c8t7d1
It's not the disk lock seems to be.
Mohamed Amine
Advisor

Re: VxVM DG Import problem

I thought of removing the node from the cluster and trying to import, what do you think ?

Thanks
Michael Steele_2
Honored Contributor

Re: VxVM DG Import problem

Hi

See what is on the disk itself and if there is nothing on it then remove it.

vxprint -l -g group_name
vxdg -g group_name rmdisk disk_name
Support Fatherhood - Stop Family Law
Kapil Jha
Honored Contributor
Solution

Re: VxVM DG Import problem

try
vxdg -Cf import dg_name

BR,
Kapil+
I am in this small bowl, I wane see the real world......
Mohamed Amine
Advisor

Re: VxVM DG Import problem

Thanks a lot. That fixed my problem.
As the disks were only visible on one node, I could just clear the import data on the disk.

I could use "vxdisk clearimport c8t0d2" as well