- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot create a volume group
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
10-04-2001 06:35 AM
10-04-2001 06:35 AM
vgcreate vgbpcsdb /dev/dsk/c3t0d0
Increased the number of physical extents per physical volume to 34109.
vgcreate: Volume group "/dev/vgbpcsdb" could not be created:
File too large
Any suggestions??
Thank you,
John
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 06:39 AM
10-04-2001 06:39 AM
Re: Cannot create a volume group
140G at a PE size of 4 MB is just too many extents for the Vg. You need to increase the PE size up from 4 MB - possibly you will have to go up to 16 MB in order to be able to create the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 06:42 AM
10-04-2001 06:42 AM
Re: Cannot create a volume group
The LVM structures must fit into one physical disk extent. This is the "file too large" error. You can adjust your 'pe_size', 'max_pv', and 'max_lv' to accomodate this. See the man pages for 'vgcreate' for more details.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 06:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 06:45 AM
10-04-2001 06:45 AM
Re: Cannot create a volume group
While the size of your VG is not too big, you need to increase the size of physical extents using the -s vgcreate argument from the default 4MB to perhaps 16 or 32MB. Remember the -s arg must be a power of two.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2001 06:50 AM
10-04-2001 06:50 AM
Re: Cannot create a volume group
vgcreate error: file too large
DocId: KBRC00000716
Updated: 3/23/01 7:43:00 AM
PROBLEM
When attempting to create a new volume group with vgcreate, an error occurs: file too large
CONFIGURATION
HP-UX 10.X, 11.X
RESOLUTION
Since the LVM data structures must fit into a single extent on the disk, the "file too large" error occurs when the extent size is smaller than the LVM data structures.
As disks continue to increase in size, there is not enough room in the header files to create a table large enough to track all the physical extents.
On the one hand, you can reduce the size of the LVM data structure by reducing the maximum number of logical volumes the volume group can contain (max_lv), or, the maximum number of physical volumes the volume group can contain (max_pv).
On the other hand, you can increase the size of the physical extents (pe_size) so that the LVM data structure will fit into a single extent.
# vgcreate -l (number of max logical volumes) -p (number of max physical volumes) -s (size in megabytes of physical extent) /dev/vg## /dev/dsk/c#t#d#
By default, these parameters are set to:
max_lv 255
max_pv 16
pe_size 4MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2001 08:42 AM
10-05-2001 08:42 AM
Re: Cannot create a volume group
this question pops up quite often, and the answer is
always: Use bigger PEs, not more of them!
If you would "search" the forums, you would find a lot
of explanantions and recommendations (even from Bill
Hassel himself) to use bigger PEs. Since the defaults
were made back in time of HP-UX 9(!), when disks were
much smaller, they have never been increased (or call it
adpated to reality). But that does not tell you to stick
with them. When the first steam locomotives run, there
was a discussion, wether the human body would actually
survive the speed of more than 30km/h - do we still drive
only that fast today?
AFAIK is the maximum size for PEs 256MB/PE and that is
supported! So you may use it! So do it!
The drawbacks are slightly bigger LVs (they need to be
multiples of the PE-size) and sometimes slower a slower
re-mirroring after a "lvsplit" or break. Is that tolerable
for you?
Kind regards,
Wodisch
PS: I am still wondering why those great features of
todays UN*Xs (like HP-UX 11.*) are not used more often:
PEsize up to 256MB, POPS of up to 256MB/page - really
great and useful stuff! W.