1748180 Members
4127 Online
108759 Solutions
New Discussion юеВ

Re: vgchid problem

 
SOLVED
Go to solution
ChrisHolloway
New Member

vgchid problem

Hi

I have an HPUX server running 11.11. I'm trying to mount a replica of an existing LUN from an external SAN array.

I present the replica LUN from the array and ioscan sees it no problem, then insf -e. When I come to change the new LUN VGID using:

vgchgid /dev/rdsk/c12t0d4

I get the following error:

root /usr/local/bin> vgchgid /dev/rdsk/c12t0d4
vgchgid: physical volume "/dev/rdsk/c12t0d4" must be one of the following.
1. A EMC BCV or EMC RDF2.
2. XP disk array CA_SVOL or XP disk array BC_SVOL.


I am using pvlinks so there are two paths to the array. I am not using an EMC or XP array but I believe the command should work with other array types.

Am I missing something?

Cheers
Chris
7 REPLIES 7
melvyn burnard
Honored Contributor

Re: vgchid problem

To my knowledge, this command is only for use with XP and EMC arrays.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
John Payne_2
Honored Contributor

Re: vgchid problem

The vgchgid command is not just for XP or EMC arrays, but for changing the LVM VG ID on any disk. (The man page just picked a few arrays that did business copy when the man page was around.

I've done it several times with EVA disk with no issues. You have an alternate link to the disk, have you tried running the command against the alternate path? Are you sure this is the relicated lun? (I'm not sure what output you would get from vgchgid if you try to run it off a clean disk...)

John
Spoon!!!!
Tim Nelson
Honored Contributor

Re: vgchid problem

And what happens if you try to vgimport the replica disk ? Does it complain about duplicate vgids ?
ChrisHolloway
New Member

Re: vgchid problem

Thanks for the info:

-I am confident that this is deinfitely the replicated LUN

-I'll give the other suggestions and try and post if I resolve it.

Thanks

Re: vgchid problem

Chris,


Note the following from the vgchgid man page:

It should be noted that for multi-PV volume groups all the physical volumes should be split-off and supplied in a single invocation of the vgchgid command.

Is /dev/rdsk/c12t0d4 the *only* disk in the VG? You have to supply all the disks in the VG at the same time for vgchgid to work. So if the original VG also had other disks in it as well, you need to list those on the vgchgid command line too.

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Prashanth.D.S
Honored Contributor
Solution

Re: vgchid problem

Hi Chris,

Similar issue was reported sometime back,

Root cause: the LVM patch was overwritten by an installation of Mirror/UX
afterwards

Resolution: reinstall LVM patch PHCO_35955 LVM commands cumulative patch

Try it, this should help solving ur issue.

Prashanth
ChrisHolloway
New Member

Re: vgchid problem

Thanks for the info. We applied the fix mentioned above it fixed the problem.

Thanks very much for the help.

Chris