- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: any way at all to change the max pe per pv par...
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
04-13-2006 07:44 PM
04-13-2006 07:44 PM
because of a storage migration, we need to add new pv's to some vg's and do a pvmove -n. It has come to my attention that the sysadmin who did the setup didn't specify the option of max pe per pv on vgcreate, so it is set to the max necessary with the disks at that time. With the ever expanding disk sizes, this is not the way to go, and now, we are in deep trouble. Is there anyway exept a backup-restore with vg recreate to change this parameter?
If there isn't, what's the fastest way to go from situation old vg on old pv's to new vg on new pv's?
cheers,
Geert
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 08:36 PM
04-13-2006 08:36 PM
Solutionyou have two choice.one is backup the whole system with make_tape_recovery,the other is vgmodify.
I have uploaded the vgmodify already.you can download it.
example: reset the MAX pe
vgmodify -e pe_number /dev/vgxx /dev/dsk/cxtxdx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 08:42 PM
04-13-2006 08:42 PM
Re: any way at all to change the max pe per pv parameter without disruption?
If you have a good support contract, call the HP CRC and ask for the vgmodify tool.
more info in this thread.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=619420&admit=-682735245+1145003982630+28353475
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 09:20 PM
04-13-2006 09:20 PM
Re: any way at all to change the max pe per pv parameter without disruption?
can you tell me how to unpack the .null file you uploaded? I don't seem to be able to make something of it.
What is the latest version of this VGModify tool? I found one on the forum dated around 2004, version 1.27. Is the one you uploaded a more current version?
one thing I already found in the readme is following line :
"for each pv, if the new disk based volume group reserved area (VGRA) will not fit before the user data, at the start of the disk, then vgmodify checks if the first PE is free for non-bootable PVs. If it is free, than vgmodify will steal this PE to allow VGRA to be expanded."
How can you check this before running the tool?
cheers,
Geert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 09:59 PM
04-13-2006 09:59 PM
Re: any way at all to change the max pe per pv parameter without disruption?
The null file does not need to be unpacked, it needs to be renamed and made executable with the chomod command.
Normally, you can not change a volume group once it has been created.
Normally, what needs to be done is a vgexport of the volume group and vgcreate.
Its important to add the parameter -p
That some number is set lower than the default which is 255 for max volumes. When the max volumes is set high, the available physical extents is spread over too many disks, leading to the problem you encountered in your volume group.
Since under normal circumstances its not possible to change a vg after creation, its important to set max physical volumes to a figure that is realistic but not likely to be exceeded in the lifetime of the volume group.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2006 10:18 PM
04-13-2006 10:18 PM
Re: any way at all to change the max pe per pv parameter without disruption?
I believe the -p was added, since I'm on a max volumes = 60 value.
I think the -e option wasn't used, which sets the max_physical_extents. at the time, the host was provided with physical volumes of around 20 GB, which resulted in 1230 PE with a pe-size defined at 16 MB. since this is higher than the default 1016, that value was set.
so the max pv value is realistic, but the max pe per pv is not, since 20 GB was ok 3 years ago, but at this point, I want to provide the server with 50 GB volumes.
We are talking about a 1TB SAP database VG here, so that will put a major downtime on my server to perform backup restore.
I'm still willing to try this vgmodify tool on a testserver anyway. Anyone know if it works on 11.23, since the readme said works on 11.11?
thanks for feedback and clarification SEP,
cheers,
Geert