Operating System - HP-UX
1846609 Members
1807 Online
110256 Solutions
New Discussion

primary path was gone but now it is back and...

 
SOLVED
Go to solution
Aaron_82
Frequent Advisor

primary path was gone but now it is back and...

is there a way I can add the primary path back to the VG without deactivating the reactivating the VG? Getting the normal warnings with vg commands on this volume group. example:
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c65t2d6":
The specified path does not correspond to physical volume attached to
this volume group
4 REPLIES 4
Pete Randall
Outstanding Contributor
Solution

Re: primary path was gone but now it is back and...

Sanjay_6
Honored Contributor

Re: primary path was gone but now it is back and...

Hi,

If this is the same path that was previously configured, you don't have to do anything.

Just do a "vgchange -a y /dev/vg_name" and it will again activate the vg. You can do this on the fly for an already active VG.

If this path is different than the previously configured path, you can do vgreduce and vgextend. This also can be done on the fly and no need to deactivate / reactivate the vg.

Hope this helps.

Regds
Aaron_82
Frequent Advisor

Re: primary path was gone but now it is back and...

Who knew it would be so easy! Thanks
Alessio_4
Occasional Contributor

Re: primary path was gone but now it is back and...

Hi Aaron,

some times ago I was in the same situation as you. I had vg's configured with double path to an external storage system.
After a power outage one of the path was not reachable at all from the server during the boot stage.
Thus the vg's were activated with a single path: there was no way to re-use the other path. We were forced to de-activate and re-activate all vg's.

Regards,
Alessio