Operating System - HP-UX
1753797 Members
7817 Online
108805 Solutions
New Discussion юеВ

vxdg import fails with VxVM vxdg ERROR V-5-1-587

 
Anuraag
Occasional Advisor

vxdg import fails with VxVM vxdg ERROR V-5-1-587

We have a two node cluster system. Service was running on one of the systems properly. The service was failed over to the other system. The failover failed. Now I am not able to start the service on the first system as well. The import fails with the following error.
VxVM vxdg ERROR V-5-1-587 Disk group omcdg: import failed: No valid disk found containing disk group

Also, the command "vxdisk -o alldgs list" does not list and vxvm disks.
Please help in this scenario. Very urgently required for one of our systems.
8 REPLIES 8
Peter Godron
Honored Contributor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

Hi,
have a look at the vxdg -f option
But use with care !

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.

Your profile indicates you have awarded points to only two of 15 answers.
Anuraag
Occasional Advisor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

Hi Peter,

I am a new user. From now on I will take care of assigning the points. :)
But I wasnt clear abt the answer that you gave me. Pls explain as to what are the risks involved in the same.
Anuraag
Occasional Advisor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

vxdisk -o alldgs list
EVICE TYPE DISK GROUP STATUS
c2t0d0s2 auto:LVM - - LVM
c2t1d0 auto:LVM - - LVM
c4t0d1s2 auto:LVM - - LVM
c4t0d2s2 auto:LVM - - LVM
c4t0d3 auto:LVM - - LVM
c4t0d4 auto:LVM - - LVM
c8t0d1 auto:LVM - - LVM
c8t0d2 auto:LVM - - LVM
c8t0d3 auto:LVM - - LVM
c8t0d4 auto:LVM - - LVM


I dont c a VxVM disk at all.
Alzhy
Honored Contributor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

Then you are using the wrong command.. vxdg import will not work.

What you have sir are LVM managed disks.. so you'll need vgimport and vgchange to do the trick.

Does your cluster not have any documentation ? Is this a production cluster or a non-production one that you as a novice are allowed to manage?

Hakuna Matata.
Anuraag
Occasional Advisor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

I am not a complete novice for Service guard as such. This is not a production cluster. Also I am sure abt the disks, they were configured as VXVM disks. I had only configured them before. The system was running fine since a time period of 5-6 monhts. The service was running properly on both the nodes. What we tried was that a node was built again from scratch to simulate a hardware failure. Then we tried to run the package on this node. The package didnt run on this node. Then I tried to run it on the node that was working fine before. But it didnt start. We have 4 more cluster pairs in out environment and they are all on VXVM disks and running fine.

My main concern is that only how the disks became LVM disks?
Alzhy
Honored Contributor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

Anuraag, apologies I thought you are new to your system.

Other things you can check:

1.) The disks that you listed -- are you sure they are the same disks that you claim *were* VxVM before?

2) If you are, then someone or something initialized them as LVM disks.

3) Try to see if the VGIDs of all the disks are all the same. If they are..trace from your other node(s) where they also show up with the same VGID and check what LVM VG theynow belong to and chase up on your peers, your SAN Admins, etc. on what happened, if there are changes.

4) A distant possibility -- you are in a SAN Twilight Zone...

Hakuna Matata.
Anuraag
Occasional Advisor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

Hi Nelson,
I can list the scenario that led to this situation.
1) Node1 and Node2 were working fine in cluster with the shared file system as VXVM disks.
2) Service was now running on node2.
3) We wanted to try recovery procedures so we created node1 from scratch.
4) Now we failed over the cluster package from node2 to node1.
5) Node1 couldnt start the package. Then we checked the listing and the disks were now shown as LVM.
6) We tried to start the package back on node2 and the package didnt start.
Alzhy
Honored Contributor

Re: vxdg import fails with VxVM vxdg ERROR V-5-1-587

Then somewhere in between.. there was "something" that changed them...

Continue with your hunt... look at the VGIDs of those disks..
Hakuna Matata.