- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Inceasing the MAX PVs
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
08-12-2003 01:18 AM
08-12-2003 01:18 AM
Inceasing the MAX PVs
We are busy with a disk consolidation project.
What I need is to add the new disks to a server and increase the physical volumes on a volume group. How ever most of my volume groups have the default 16 MAX PVs limit and I would like to go beyond that.
As far as I know there is no way to increase this limit. But I have heard rumours that there is a vgmodify script/command that can be downloaded and used for this purpose. Do anyone know of it, if so where can I download if from ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 01:21 AM
08-12-2003 01:21 AM
Re: Inceasing the MAX PVs
you must create the vg with the -p option to increase it. It's the only way
you can make a script knowing this.... but you must to move data betwen disks, split mirrors if you have, etc....
good luck!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 01:27 AM
08-12-2003 01:27 AM
Re: Inceasing the MAX PVs
Take a look at this doc, you will have to recreate the volume group.
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065678171
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 01:29 AM
08-12-2003 01:29 AM
Re: Inceasing the MAX PVs
I'm not sure I understand the question - are you trying to increase this dynamically when the VG is online? The default is certainly 16 but the range can be 1 - 255, see "man vgcreate". I haven't seen any code which can do what you're asking, even from wtec.
Cheers,
James.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 02:54 AM
08-12-2003 02:54 AM
Re: Inceasing the MAX PVs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 03:17 AM
08-12-2003 03:17 AM
Re: Inceasing the MAX PVs
Well, you won't be able to do it when the VG is online. What may work is deactivating the VG and vgexport it. If you can then recreate it using the new value for max pv's without increasing the extent size you will be able to recreate the lvols and mount up the filesystems. There is a formula that determines the required extent size for given parameters but I don't know it offhand, HP should be able to supply it. Goes without saying take a backup etc before doing this. Also, you will need to study the lvdisplay output thoroughly in case you have lvextended or are using stripes etc for when you come to recreate the lvols.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 03:31 AM
08-12-2003 03:31 AM
Re: Inceasing the MAX PVs
If I am not mistaken, you cannot vgextend(such as # vgextend /dev/vgxx /dev/dsk/cxtyd0) a VG which Max PV is equal the Cur PV. That means you cannot add any more disks into that VG.
do a
#vgdisplay -v vgxx|more
to check the Max PV and Cur PV.
If this is your case, you have no choice but to backup the data and recreate the VG with a higher Max PV value
# vgcreate -p x .......
where 'x' is maximum number of PV allowed for this Volume Group.
Regards
twang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 03:34 AM
08-12-2003 03:34 AM
Re: Inceasing the MAX PVs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 04:09 AM
08-12-2003 04:09 AM
Re: Inceasing the MAX PVs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2003 04:36 AM
08-12-2003 04:36 AM
Re: Inceasing the MAX PVs
James is suggesting a very clever trick!.
The 'vgexport' of the volume group removes knowledge of it from 'etc/lvmtab'. The 'vgcreate' of the volume group with '-p max_pv' set to a non-default value will write a new LVM header, but this is the only destructive update that should occur and should fit into one physical disk extent.
The next key to this is to know the exact placement of all logical volumes' extents, both in number and in placement in physical space. Thus, if lvol2 whas orignally created before lvol1 and thus begins at physical extent number-1, then lvol2 must be recreated first, followed by the 'lvcreate' for lvol1. If later, lvol2 was extended and the additional extents were placed after lvol1, then you must repeat the 'lvextend' exactly as it occurred originally.
Do *not* recreate any filesystems, since the data on the disk should be intact, too. The 'lvcreate' simply "lays down" the boundries for the extents of the filesystems.
Regards!
...JRF...