1822620 Members
3785 Online
109643 Solutions
New Discussion юеВ

SAN path change - vg00

 
David Silvestri
Advisor

SAN path change - vg00

Hi,

This past weekend the SAN switch that my HP-UX box was plugged into was replaced. This had the effect of having the Domain ID change, and thus changing my hardware definition (ctd #s).

I did a vgextend on the new paths, vgreduce on all the old paths, did a rmsf -H on the old paths.

Then I remembered this server was booting from the san.

so my vg00 right now has only 2 paths (1 HBA and 2 targets).

I do a vgdisplay on vg00 and i get:

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c41t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c43t5d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
.
.
.
--- Physical volumes ---
PV Name /dev/dsk/c60t5d2
PV Name /dev/dsk/c62t5d2 Alternate Link
PV Status available
Total PE 4384
Free PE 1920
Autoswitch On
Proactive Polling On

which are the devices I removed, but forgot to reduce first.

I can't do vgextend, as it doesn't want to add volumes while it feels it is missing things.

I can't seem to vgreduce the missing paths, and a vgreduce -f doesn't work either.

I don't want to take this system down if possible. Is there a way to fix this?
2 REPLIES 2
David Silvestri
Advisor

Re: SAN path change - vg00

Sorry... figured it out...

mv lvmtab lvmtab.old
vgscan -a -v

at this time the vgscan adds the new paths to the lvmtab.

still won't let me do anything with vg00 as it thinks that the new paths are part of the vg, even though they aren't added to the vg definition. so that doesn't work.

rmsf -H the hardware paths of the correct, new, unadded alternate links for the vg00 dev.

mv lvmtab lvmtab.tmp (since I'm blowing it away in a minute)

vgscan -a -v
ioscan -fnC disk
insf -v
vgextend vg (the two alternate links).

closing thread.
David Silvestri
Advisor

Re: SAN path change - vg00

See above.