- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change the Max PE for PV
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
09-17-2008 11:13 AM
09-17-2008 11:13 AM
So after unmounting the file systems, how come I can't deactivate the volume group? This is data volume group which is on SAN.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 11:21 AM
09-17-2008 11:21 AM
Re: Change the Max PE for PV
Unmounting the filesystems in the volume group is just the first step to deactivating the volume group. You need to do:
# vgchange -a n /dev/vgNN
...then proceed with your 'vgmodify'. To reactivate the volume group, do:
# vgchange -a y /dev/vgNN
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 11:29 AM
09-17-2008 11:29 AM
Re: Change the Max PE for PV
Hope you have a fresh backup in case something fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 11:35 AM
09-17-2008 11:35 AM
Re: Change the Max PE for PV
vgmodify -e 16500 -n /dev/vgas, I got the following:
Vgmodify: This operation can only be completed if PE number zero on /dev/rdsk/c13t0d1" is free.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 11:37 AM
09-17-2008 11:37 AM
Re: Change the Max PE for PV
A new version (I don't remember details at the moment) can do this online. Have to check this ...
With 11.31 you may consider to use LVM version 2.0 or version 2.1 - this works different ...
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
09-17-2008 11:46 AM
09-17-2008 11:46 AM
Re: Change the Max PE for PV
> Vgmodify: This operation can only be completed if PE number zero on /dev/rdsk/c13t0d1" is free.
You need to use 'pvmove' to free the first extent. See:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 12:29 PM
09-17-2008 12:29 PM
Re: Change the Max PE for PV
This is set on the volume group level.
It can not be changed except in HP-UX 11.31
You need on other versions of the OS to vgexport the volume group and recreate the volume group with less physical volumes -p or -s parameter.
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
09-17-2008 12:30 PM
09-17-2008 12:30 PM
Re: Change the Max PE for PV
Actually that isn't true. The vgchange command is available in HP-UX 11.23.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 12:41 PM
09-17-2008 12:41 PM
Re: Change the Max PE for PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 01:13 PM
09-17-2008 01:13 PM
Re: Change the Max PE for PV
what is the command to restore? I have the backup on ignite server. The server I am working is ignite client.... :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 03:56 PM
09-17-2008 03:56 PM
Re: Change the Max PE for PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 03:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 04:10 PM
09-17-2008 04:10 PM
Re: Change the Max PE for PV
I think time to go home. I am working on too many things at the same(moving apps to prod) and working from morning 7:30am EST.
I appreciate your time James..
Thanks again everyone..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:09 PM
09-17-2008 10:09 PM
Re: Change the Max PE for PV
Umounting the filesystems in the volume group is just the first step to deactivating the volume group. You need to do:
# vgchange -a n /dev/vgNN
then use vgextend and modify vg
# vgchange -a y /dev/vgNN
Regards
shelendra shukla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2008 10:18 PM
09-17-2008 10:18 PM
Re: Change the Max PE for PV
New for 11.31 september release:
The vgmodify command supports LUN expansion on a Version 1.0 volume group **without** deactivating the volume group.
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01941067/c01941067.pdf (BSC link updated by admin)
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
09-18-2008 03:52 AM
09-18-2008 03:52 AM
Re: Change the Max PE for PV
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2008 04:11 AM
09-18-2008 04:11 AM
Re: Change the Max PE for PV
> Shelendra: Umounting the filesystems in the volume group is just the first step to deactivating the volume group. You need to do:
COPYING, VERBATIM my opening comment a DAY LATER IS BLATANT PLAGARISM. You added nothing to this thread other than a clear attempt to garner points for yourself.
Pratibha, it is always helpful (and wise) to specify your OS release in posts of this nature. It was clear to me that you were running either 11.31 or 11.23 with the 'vgmodify' patch, but adding the release level would have been very useful, particularly in light of Torsten's last pointer for 11.31.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2008 09:55 AM
09-18-2008 09:55 AM