- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel parameter for "Max 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
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
тАО05-26-2009 04:44 PM
тАО05-26-2009 04:44 PM
Kernel parameter for "Max PV"
But when I make VG, this message was printed on my screen.
=============================================
# vgcreate -p 255 /dev/vg01 /dev/dsk/c1t2d1
Increased the number of physical extents per physical volume to 11508.
vgcreate: Volume group "/dev/vg01" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.
==============================================
How can I solve this problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 05:16 PM
тАО05-26-2009 05:16 PM
Re: Kernel parameter for "Max PV"
See:
http://www.docs.hp.com/en/B3921-60631/vgcreate.1M.html
Do you really need 255 physical volumes in your volume group? If so, increase the 'pe_size' with '-s pe_zize'. The default value is four (4). When performing a 'vgcreate' the LVM metadata must fit into _one_ physical disk extent. The 'pe_size' and 'max_pe' have the biggest affect on the size of the extent needed. To a lesser extent, 'max_pv' and 'mac_lv' play a role.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 10:54 PM
тАО05-26-2009 10:54 PM
Re: Kernel parameter for "Max PV"
Change kernel parameter value of max_pv & max_lv then you try with the same command.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 01:43 PM
тАО05-28-2009 01:43 PM
Re: Kernel parameter for "Max PV"
the default extent size is 4MB, this way the VGRA area would be too large and this would be a waste of space. you need to give a larger extent size with the -s option:
# vgcreate -p 255 -s 16 /dev/vg01 /dev/dsk/c1t2d1
if it gives an error, try with a larger extent size, (it should be the power of 2!)
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 02:41 PM
тАО05-28-2009 02:41 PM
Re: Kernel parameter for "Max PV"
And I had to recreate my VG.
Note: First make a backup of the data so you can restore it afterwards, this will destroy the VG and therefore data will be lost.
Example(my case).
1. vgchange -a n /dev/vg02 (deactivate)
2. vgexport /dev/vg02 (delete)
3. mkdir /dev/vg02 (make directory)
4. mknod /dev/vg02/group c 64 0x020000 (create special files)
5. ioscan -fnC disk (see HW path of disks)
pvcreate -f /dev/rdsk/c9t0d0 (readys for LVM)
pvcreate -f /dev/rdsk/c9t0d1 (readys for LVM)
6. vgcreate -s 4 -p 150 /dev/vg02 /dev/dsk/c9t0d0 /dev/dsk/c9t0d1
-s size of physical extents
-p maximum # of physical volumes
Hope this helps.
Remember to assign points for helpful answers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 03:15 PM
тАО05-28-2009 03:15 PM
Re: Kernel parameter for "Max PV"
Unix operates with beer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 03:24 PM
тАО05-28-2009 03:24 PM
Re: Kernel parameter for "Max PV"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 04:32 PM
тАО05-28-2009 04:32 PM
Re: Kernel parameter for "Max PV"
If I have any chance that I can test, I'll reply test result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2009 09:58 AM
тАО06-09-2009 09:58 AM
Re: Kernel parameter for "Max PV"
Unix operates with beer.