- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can we change the Maximum number of PVs in an exis...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:12 AM
06-09-2006 03:12 AM
Can we change the Maximum number of PVs in an existing VG ?
We are trying to extend a VG with a newly created PV. During this process the vgextend command shows and error,
"can't extend volume group,
Too many links"
It seems that the maximum number of PVs for that VG was configured as 16.
Is it possible to increase the number of PVs allocated to the problematic VG, so that I can complete the vgextend with out issues?
Please give a light on this scenario.
Thanks and Regards
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:21 AM
06-09-2006 03:21 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
The answer to your question is no. You cannot change the max PV number for a VG once it is created. you will need to recreate the vg from scratch in order to increase the number of PV's.
That being said, I have seen mentioned a couple times in this forum an UNSUPPORTED program called vgmodify taht some HP ce's have access to. You may want to ask your ce is he has a copy.........
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:41 AM
06-09-2006 03:41 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
Actually here is the VGDISPALY output.
[prd1]: /home/uadmin # vgdisplay /dev/vg_data
--- Volume groups ---
VG Name /dev/vg_data
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 27
Open LV 27
Max PV 16
Cur PV 16
Act PV 16
Max PE per PV 1279
VGDA 32
PE Size (Mbytes) 8
Total PE 20464
Alloc PE 20217
Free PE 247
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Now I am trying to extend this VG with an already created PV. It shows me the followign error.
[prd1]: /home/uadmin # vgextend /dev/vg_data /dev/dsk/c12t2d7
vgextend: Couldn't install the physical volume "/dev/dsk/c12t2d7".
Too many links
I suspect that Max PV and Cur PV are same. (or) Less number of Free PE available.
Gurus,
can you please consider the scenario and help me?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:51 AM
06-09-2006 03:51 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
Sundar,
According to your vgdisplay the current and mx pv's are 16
Max PV 16
Cur PV 16
This means you cannot add any more disks to the vg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:54 AM
06-09-2006 03:54 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
If you can get some downtime you could vgcreate another volume group with all the required number of disk. Then copy all data from the old vg to the new vg.
A quick vgexport and vgimport would not work either as there is no option to modify the max_pv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:59 AM
06-09-2006 03:59 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
As noted by DCE, the only way to change MAX_PV is re-create the volume group with a larger size. Or the unsupported application.......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 04:01 AM
06-09-2006 04:01 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1033809
Result is the same.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 04:18 AM
06-09-2006 04:18 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
I don't think you probably want to do that. But you can verify your alternate links with vgdisplay -v vg## | more.
Its also possible, and I would recommend this course of action to verify first in a lab machine, to use physical volume groups.
/etc/lvmpvg
cat | /etc/lvmpvg
vg01
pvg1
c1t9d0
c1t8d0
pvg0
c0t9d0
c0t8d0
Here the alternates are in pvg0.
# vgcreate -g pvg1 /dev/vg01 /dev/dsk/c1t9d0 /dev/dsk/c1t8d0
# vgcreate -g pvg0 /dev/vg01 /dev/dsk/c0t9d0 /dev/dsk/c0t8d0
And again your alternates are in pvg0.
But there may be some daisy chaining to do, check with your disk array admins. since my notes indicate a non disk array scenario that would use 'redundant disk bus chains'. Also the mirror policy becomes :
PVG-Strict
I don't no if this will reduce your PV links, but the suggestion to me is that you'll cut it in half with lvmpvg.
So experiment in a lab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 04:24 AM
06-09-2006 04:24 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 05:40 AM
06-09-2006 05:40 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
I don't see why it would cause problems. 16 is only the default, but the value can range from 1 to 255.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:57 PM
06-09-2006 01:57 PM
Re: Can we change the Maximum number of PVs in an existing VG ?
The default is set to 16 and can be increased, however for every increase the memory occupied by the LVM structures aslo increases, hence you have to use it with some idea of how much growth will be there in the vg..
regards
albert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2006 08:49 AM
06-12-2006 08:49 AM
Re: Can we change the Maximum number of PVs in an existing VG ?
Phil