- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing the preset max. number of Physical Volu...
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
Discussions
Discussions
Forums
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
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
тАО11-22-2006 04:17 AM
тАО11-22-2006 04:17 AM
So, i went ahead and created new LUNs on the Virtual array. Now when i hit SAM to increase the VG size and try to add those LUNs into VG01, by extending the VG01 i get the following message:
Volume group VG01 currently contains 16 physical volumes, which is the maximum number of physical volumes it was configured to contain. The volume group cannot be extended.
I have a lot of disks and space. But i cannot extend the VG and hence no space extension possible in the logical volumes that are in the VG01. How to get around this problem?
Any help would be really appreciated.
Thank you
Sam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 04:24 AM
тАО11-22-2006 04:24 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
if the VG was created to support only 16 records does not have as to add to more records you tera that to create another VG and to copy the data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 04:30 AM
тАО11-22-2006 04:30 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
This cannot be modified after creation. You will have to destroy and recreate the VG.
That being said, There have been references in the past on this forum about an unsupported program some HP CE's have called pvmodify. If you have a good relationship with your CE, you might want to ask him/her if they know about it.........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 04:49 AM
тАО11-22-2006 04:49 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
When we copy over stuff, is the permissions get copied too? otherwise, i would think it will be a nightmare..
Any other ideas? Thank you for responding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 05:07 AM
тАО11-22-2006 05:07 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
>> Any other ideas?
Just add a VG02
Create a large LV in there: example: LV05_new
Mount on some tmp mountpoint /tmp/LV05_new
Copy (cp -Pr? tar! ) your largest LV from VG01 (example: LV05_old) to the new LV05_new
Unmount the LV05_old
Unmount /tmp/LV05_new
Mount LV05_new on LV05_old mountpoint
Wait a few hours or days to make sure it all works.
Delete LV LV05_old
Use freeed up space in VG01 to grow other LV's there.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 05:10 AM
тАО11-22-2006 05:10 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
Yes
When you do the copy command use -r to get the subdirectories and -p for permissions
another way - back up the vg to tape, destroy the vg, recreate it and restore from tape
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-22-2006 06:39 AM
тАО11-22-2006 06:39 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
By default the max physical volumes of a volume group is 255. With the size of LUN's nowadays this is pretty ridiculous.
If the -p physical volume parameter was used to build the group this figure could have been lowered.
To change it you must vgexport the volume group and then re-create it with a different number in the -p 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
тАО11-22-2006 04:10 PM
тАО11-22-2006 04:10 PM
SolutionDefault Max PV for a VG is 16 and not 255. I think its a typo by Steven. Using -p parameter u can specify large value.
I would suggest to create VG always using -e (max PE), -s (PE size) and -p (max PV).
I normally create using -e 9000 -s 32 -p 64. Using this you can add a Physical disk of size 288 GB and 64 disks.
As Steven mentioned these days LUNs are pretty huge. You may calculate depending on your environment or thinking of future growth.
For current situation, suggestions were already given. Since you have lot of space easier would be to export VG01, create new VG with better options and import. Then add new disks to this VG. For this you will need downtime. Use -s for vgexport and vgimport so that you may not need to specify all Physical disks while import.
Read man pages before starting.
~Pradeep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2006 05:03 AM
тАО11-30-2006 05:03 AM
Re: Increasing the preset max. number of Physical Volumes for a VG
1. MAX PV and MAX PE per PV==-s
2. 2TB file system size limit assuming OS is 11.X. ==-p
3. size of the single disk==-s
vgcreate -p 50 -s 128 ....for an example
lots planning...
As to data migration, cpio will fail if your have a single file larger than 2GB...cp is too slow if you have over a couple of hundred GB...best bet is backing them up followed by a full restore. You can check if everything is OK on new vg against the old vg..play safe...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 04:58 PM
тАО12-04-2006 04:58 PM
Re: Increasing the preset max. number of Physical Volumes for a VG
Only solution is to backup/restore or copy.
tar or fbackup/frecover is the best for preserving file permissions, access times,etc..
a tar copy on the fly could be as follows
mount the new LV as /newlv for example and your old filesystem as /oldlv
then
tar cvf - /oldlv|tar -C /newlv -xf -
but ofcourse, cp is the fastest way to get it done.