- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcreate fails with larger Physical volume
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
02-18-2003 11:10 PM
02-18-2003 11:10 PM
vgcreate fails with larger Physical volume
I then tried to create the volume group through sam and it worked. As seen from the syslog.log, the command that sam ran to create the VG was :
vgcreate -e 12756 -l 255 -p 16 -s 4 /dev/vguse /dev/dsk/c1t0d1
According to the vgcreate documentation, the default value for max_pe is adjusted to match the physical volume size, which means the -e switch would have taken the value 12756 when I manually ran the command. The value for -l is 255 by default. The only difference is in the -p option.
What might be the reason behind the failure of the command with my supplied arguments?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2003 11:19 PM
02-18-2003 11:19 PM
Re: vgcreate fails with larger Physical volume
I suppose the option -p is
related not for phis.extends, but
for the NUMBER of PV's in VG /32 by default/.
So 50 is very big value.
Regards,Stan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 12:05 AM
02-19-2003 12:05 AM
Re: vgcreate fails with larger Physical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 12:20 AM
02-19-2003 12:20 AM
Re: vgcreate fails with larger Physical volume
pe_size must be equal to a power of 2 (1, 2, 4, 8, etc.). The default value for pe_size is 4 (four megabytes). Even so the limit has been reached with your arguments. The -p 16 is the default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 12:36 AM
02-19-2003 12:36 AM
Re: vgcreate fails with larger Physical volume
In fact it doesn't work simply because you would need too many pe's (VGRA size would be too big). If you increase the pe size (for example to 8 or 16), you will be able to use '-p 50'.
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 12:40 AM
02-19-2003 12:40 AM
Re: vgcreate fails with larger Physical volume
??
Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group. The default value for max_pe is 1016. However, if the size of any physical volume exceeds 1016 times the pe_size, the default value for max_pe is adjusted to match the physical volume size. The maximum number of physical extents can be a value in the range 1 to 65535.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 02:24 AM
02-19-2003 02:24 AM
Re: vgcreate fails with larger Physical volume
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2003 02:56 AM
02-19-2003 02:56 AM
Re: vgcreate fails with larger Physical volume
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2003 01:22 PM
03-01-2003 01:22 PM
Re: vgcreate fails with larger Physical volume
Most of what you need has been presented in the above posts but there is also a formula and a couple of guidelines that you can use for calculating PE_SIZE. Here is the formula:
2 * ( 30 + MAX_PE ) / 1024 = PE_SIZE
Here is one guideline:
If the size of any PV's in the VG exceed 1016 * PE_SIZE then increase MAX_PE, else, ignore MAX_PE.
Here is a 2nd guideline:
If you have smaller PV's already configured in the VG then vgcreate will fail.
And yes, PE_SIZE can only be a power of 2, 1,2,4,8,16,32,64,128,256.
And yes, the default MAX_PE = 1016
This is all you need.