1753494 Members
4933 Online
108794 Solutions
New Discussion юеВ

HPUX/EVA 6000

 
SOLVED
Go to solution
Greg Hutchins
New Member

HPUX/EVA 6000

We have an rp5470 connected to an EVA6000 with 10 disks presented to the OS using the native multipathing so that each disk shows up with 4 paths. Recently, we have moved one of the EVA's controllers fiber connection to a new switch which has caused the paths on the Host systems to change. Our AIX/Linux boxes seemed to handle the new paths with a reboot. However, we are having a problem with HP-UX 11.11. I tried a vgreduce/vgextend to add the new paths in with no luck. Thew paths are recognized with ioscan but am having problems updating the vg's. Any ideas? Sorry if this sounds confusing.

pds [/root]# vgdisplay -v vg02
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 12799
VGDA 8
PE Size (Mbytes) 4
Total PE 51188
Alloc PE 51188
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c15t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.

ioscan -funC disk (new paths)
/dev/dsk/c25t0d7 /dev/rdsk/c25t0d7
disk 60 0/8/0/0.12.13.0.0.1.0 sdisk CLAIMED DEVICE HP H0
/dev/dsk/c25t1d0 /dev/rdsk/c25t1d0
disk 61 0/8/0/0.12.13.0.0.1.1 sdisk CLAIMED DEVICE HP H0
/dev/dsk/c25t1d1 /dev/rdsk/c25t1d1
disk 62 0/8/0/0.12.13.0.0.1.2 sdisk CLAIMED DEVICE HP H0
/dev/dsk/c25t1d2 /dev/rdsk/c25t1d2
8 REPLIES 8
Ganesan R
Honored Contributor

Re: HPUX/EVA 6000

Hi Greg,

Have you tried #vgreduce -f vg02 to forcefully remove the missing pv's ?. After that you can extend with new pv links.
Best wishes,

Ganesh.
Greg Hutchins
New Member

Re: HPUX/EVA 6000

I actually have tried vgreduce -f with no luck.

pds [/root]# vgreduce -f vg02
skip alternate link /dev/dsk/c16t0d7
skip alternate link /dev/dsk/c16t1d0
skip alternate link /dev/dsk/c16t1d1
skip alternate link /dev/dsk/c16t1d2
vgreduce: Couldn't query physical volume "/dev/dsk/c15t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgreduce: Couldn't query physical volume "/dev/dsk/c15t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgreduce: Couldn't query physical volume "/dev/dsk/c15t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgreduce: Couldn't query physical volume "/dev/dsk/c15t1d2":
The specified path does not correspond to physical volume attached to
this volume group
skip alternate link /dev/dsk/c18t0d7
skip alternate link /dev/dsk/c18t1d0
skip alternate link /dev/dsk/c18t1d1
skip alternate link /dev/dsk/c18t1d2
Ganesan R
Honored Contributor
Solution

Re: HPUX/EVA 6000

Hi,

Can you try this?

#vgreduce -l /dev/vg02

Finally you can try this also...

#mv /etc/lvmtab /etc/lvmtab.old
#vgscan -av
Best wishes,

Ganesh.
Greg Hutchins
New Member

Re: HPUX/EVA 6000

Thank-you for the help. I was able to remove the old paths and run the vgscan. The new paths were added in but I am still receiving the same message with the new paths.


pds [/etc]# vgdisplay -v vg02
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 4
Act PV 4
Max PE per PV 12799
VGDA 8
PE Size (Mbytes) 4
Total PE 51188
Alloc PE 51188
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg02/lvbackup
LV Status available/syncd
LV Size (Mbytes) 204752
Current LE 51188
Allocated PE 51188
Used PV 4


--- Physical volumes ---
PV Name /dev/dsk/c17t0d7
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c18t0d7 Alternate Link
PV Name /dev/dsk/c16t0d7 Alternate Link
PV Status available
Total PE 12797
Free PE 0
Autoswitch On

PV Name /dev/dsk/c17t1d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c18t1d0 Alternate Link
PV Name /dev/dsk/c16t1d0 Alternate Link
PV Status available
Total PE 12797
Free PE 0
Autoswitch On

PV Name /dev/dsk/c17t1d1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c18t1d1 Alternate Link
PV Name /dev/dsk/c16t1d1 Alternate Link
PV Status available
Total PE 12797
Free PE 0
Autoswitch On

PV Name /dev/dsk/c17t1d2
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t0d7":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d1":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c25t1d2":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Name /dev/dsk/c18t1d2 Alternate Link
PV Name /dev/dsk/c16t1d2 Alternate Link
PV Status available
Total PE 12797
Free PE 0
Autoswitch On
Greg Hutchins
New Member

Re: HPUX/EVA 6000

i ran the vgchange and lvlnboot and now the problem is fixed. thank-you for the help.
Torsten.
Acclaimed Contributor

Re: HPUX/EVA 6000

A new switch usually means a new domain id and another port. Because of this you get a new hardware path and a new device file in hp-ux up to version 11.23.

11.31 works different.

To adjust this, you can either vgreduce the path in question, change the cables and vgextend again or use vgexport, change cables and vgimport again.

All other operating systems i know do not depend on such connection details.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Steven E. Protter
Exalted Contributor

Re: HPUX/EVA 6000

Shalom,

Sounds to me like its time to vgexport all the volume groups and rebuild.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Greg Hutchins
New Member

Re: HPUX/EVA 6000

No rebuild necessary:


cp /etc/lvmtbab /etc/lvmtab.old
vgscan -av
vgchange -a y
lvlnboot -R