Operating System - HP-UX
1748148 Members
3718 Online
108758 Solutions
New Discussion юеВ

Re: vgchange: Too many links

 
SOLVED
Go to solution
mjos
Super Advisor

vgchange: Too many links

Hi,
When I do a vgdisplay on one of the VGs, I am getting the below error -

vgdisplay -v /dev/vg_db01


The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c92t2d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c92t7d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c96t2d4":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c96t2d5":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c96t7d0":
The specified path does not correspond to physical volume attached to
this volume group

--- Volume groups ---
VG Name /dev/adop_db01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 2047
VGDA 6
PE Size (Mbytes) 32
Total PE 4093
Alloc PE 4002
Free PE 91
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0



VG Name /dev/vg_db01

--- Physical volumes ---
PV Name /dev/dsk/c70t2d4
PV Name /dev/dsk/c74t2d4 Alternate Link
PV Name /dev/dsk/c94t2d4 Alternate Link
PV Name /dev/dsk/c98t2d4 Alternate Link
PV Name /dev/dsk/c118t2d4 Alternate Link
PV Name /dev/dsk/c122t2d4 Alternate Link
PV Name /dev/dsk/c142t2d4 Alternate Link
PV Name /dev/dsk/c146t2d4 Alternate Link
PV Status available
Total PE 2047
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c70t2d5
PV Name /dev/dsk/c74t2d5 Alternate Link
PV Name /dev/dsk/c94t2d5 Alternate Link
PV Name /dev/dsk/c98t2d5 Alternate Link
PV Name /dev/dsk/c118t2d5 Alternate Link
PV Name /dev/dsk/c122t2d5 Alternate Link
PV Name /dev/dsk/c142t2d5 Alternate Link
PV Name /dev/dsk/c146t2d5 Alternate Link
PV Status available
Total PE 1023
Free PE 0
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c70t7d0
PV Name /dev/dsk/c74t7d0 Alternate Link
PV Name /dev/dsk/c94t7d0 Alternate Link
PV Name /dev/dsk/c98t7d0 Alternate Link
PV Name /dev/dsk/c118t7d0 Alternate Link
PV Name /dev/dsk/c122t7d0 Alternate Link
PV Name /dev/dsk/c142t7d0 Alternate Link
PV Name /dev/dsk/c146t7d0 Alternate Link
PV Status available
Total PE 1023
Free PE 91
Autoswitch On
Proactive Polling On

There are 16 alternate links & I need to add all of them into the VG, so that the above error doesnt show up. I recreated the lvmtab file after moving the /etc/lvmtab file & then did a vgscan & activated the VGs. Again I am getting the same error in vgdisplay.
In vgchange, also I am getting the below error.

# vgchange -a y /dev/adop_db01
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c68t2d4":
Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
vgchange: Too many links
Volume group "/dev/adop_db01" has been successfully changed.

31 REPLIES 31
mjos
Super Advisor

Re: vgchange: Too many links

The VG characteristics are below

--- Volume groups ---
VG Name /dev/vg_db01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 3
Act PV 3
Max PE per PV 2047
VGDA 6
PE Size (Mbytes) 32
Total PE 4093
Alloc PE 4002
Free PE 91
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

OS version is B.11.23 U ia64
Aneesh Mohan
Honored Contributor

Re: vgchange: Too many links


I belive prior to HPUX 11.31 ,only 8 links are possible to a disk.In 11.31 it is 32.

Aneesh
Johnson Punniyalingam
Honored Contributor
Solution

Re: vgchange: Too many links

Please follow official procedures

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf


ITRC member since: October 02, 2007
Last contribution date: November 17, 2009
I have assigned points to 54 of 223 responses to my questions.

The status does't look nice, assign points for the people who share the knowledge and time in suggestions in your problems
Problems are common to all, but attitude makes the difference
mjos
Super Advisor

Re: vgchange: Too many links

Thanks, in that case, how do I remove the too many links message. I did an ioscan for the disks & could not find any disk with no_hw.
mjos
Super Advisor

Re: vgchange: Too many links

Johnson, how did you get that status. As far as I remember, I submit points to most of the solutions that I recieve. I would like to check the stats myself.
Johnson Punniyalingam
Honored Contributor

Re: vgchange: Too many links

follow the above "PDF" file

suspecting your /etc/lvmtab got some issue
Problems are common to all, but attitude makes the difference
mjos
Super Advisor

Re: vgchange: Too many links

Hi, I dont think any disk has gone bad over here. It is a question of adding more alternate links to an VG. Is there a limitation of 8 alternate links in 11.23?
Johnson Punniyalingam
Honored Contributor

Re: vgchange: Too many links

>>Hi, I dont think any disk has gone bad over here. It is a question of adding more alternate links to an VG. Is there a limitation of 8 alternate links in 11.23?

You can specify physical volume links pv-links for a physical volume providing different paths that reference the same physical volume in the pv_path list. The order in which the paths are listed is important. The first path becomes the primary link to the physical volume, and the second becomes an alternate link to the physical volume. The primary link is the default path used to access the physical volume. (see WARNINGS section). If the primary link becomes unavailable, LVM automatically switches to the alternate link to access the physical volume. Currently, LVM supports a maximum of 8 paths to a physical volume (7 alternate and one primary).
Problems are common to all, but attitude makes the difference
mjos
Super Advisor

Re: vgchange: Too many links

Thanks, so that summarized it, only 7 alternate links can be added to the primary path in 11.23