Operating System - HP-UX
1753512 Members
5414 Online
108795 Solutions
New Discussion юеВ

Re: vgchange: Too many links

 

vgchange: Too many links

hi, when i execute this:
vgchange -a n noradata
i have this:
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c21t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query the list of physical volumes.
vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query physical volume "/dev/dsk/c21t0d4":
The specified path does not correspond to physical volume attached to
this volume group
vgchange: Warning: couldn't query the list of physical volumes.
Volume group "noradata" has been successfully changed.

and then, when i active with:
vgchange -a y /dev/noradata

vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c9t0d4":
Too many links
vgchange: Too many links
Activated volume group.
Volume group "/dev/noradata" has

what this mean?, the activate of vg it's ok?

thanks.
4 REPLIES 4
Vivek_Pendse
Valued Contributor

Re: vgchange: Too many links

Hi,

there are missing disks in your vg, eiter the whole disks or the paths.
After vgchange -a y, are you able to mount lvs?
You can compare, vgdisplay o/p with lvmtab.

Thanks,
Vivek
Hiren N Dave
Valued Contributor

Re: vgchange: Too many links

> vgchange: Warning: couldn't query physical volume "/dev/dsk/c9t0d4":

vgchange is not able to find this /dev/dsk/c9t0d4 disk...

It appears that u r using multipathing and one of the path is not working...so u need to verify whether this path exists using strings /etc/lvmtab...may need to check cable connectivity from SAN


> vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c9t0d4":
> Too many links
> vgchange: Too many links
> Activated volume group.

As some path are missing, vgchange is not able to attach another path of the same disk on SAN,
Was there any changes on SAN cable connectivity???

U can either correct the SAN connectivity issue or remove these extra paths from VG by removing corresponding disk paths from VG using vgreduce
I am an HP Employee

Was this post useful? - You may click the KUDOS! star to say thank you.
Manix
Honored Contributor

Re: vgchange: Too many links

This is a error message which VG
displays whenever there is discrepancy with the multiple paths to the same PV.

Run vgscan -v -p -a ( -p is in preview mode )
to see if it`s able to scan the missing links.

If it able to scan all the links then take backup of the old lvtab file and replace it
with the new one created by running vgscan -v -a. ( not -p )

Thanks
Manix

HP-UX been always lovable - Mani Kalra
AwadheshPandey
Honored Contributor

Re: vgchange: Too many links

seems few disks phyiscally removed from server without vgreduce.
check vgdisplay noradata for Max PV and
Cur PV

if both are equal vgreduce -f vgname (noradata)should fix the issue.

if MAX pv and Curr PV differs you need to verify disks availality on server.
It's kind of fun to do the impossible