- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG with 300 GB size (creation error)
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
03-21-2006 03:52 AM
03-21-2006 03:52 AM
I plan to create a big volume group about 300 GB size. vgcreate reports the following error. What should I do? Is there a limitation in size of VG?
Please Advice.
Hasan
# vgcreate /dev/vg_rac /dev/dsk/c9t0d1
Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (127999).
Using only 65535 PEs from this physical volume.
Increased the number of physical extents per physical volume to 65535.
vgcreate: Volume group "/dev/vg_rac" 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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 04:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 04:04 AM
03-21-2006 04:04 AM
Re: VG with 300 GB size (creation error)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 04:30 AM
03-21-2006 04:30 AM
Re: VG with 300 GB size (creation error)
Hasan,
If you are not familar with all of the command line options for vg creation, You can also use SAM to create the VG. The screens within SAM will allow you to customize the VG configuration to allow you to use all of the disk.
Once you have created the VG, you can use command line to extend it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 05:44 PM
03-21-2006 05:44 PM
Re: VG with 300 GB size (creation error)
Allthough there are some limits in LVM but still your case do not fall out of them. There is limitation of using small PE_Size and maxPVs/Max LVs in a VG.
Limits attached for you reference.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2006 05:54 PM
03-21-2006 05:54 PM
Re: VG with 300 GB size (creation error)
You can also create the volume group with less maximum disks. This distributes the 65535 PE's over less disks.
just add this to the create command.
-p 10
Make sure 10 disks is enough for a long time, because it can't be changed on the fly.
The default is 255, which in general is too big and leads to this issue.
Good Luck,
Shmuel
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
12-19-2006 02:40 AM
12-19-2006 02:40 AM
Re: VG with 300 GB size (creation error)
Therefore, giving the option of "-s 32" to vgcreate makes more sense.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 02:50 AM
12-19-2006 02:50 AM
Re: VG with 300 GB size (creation error)
vgcreate -s 64 /dev/vg01 /dev/dsk/c6t0d0
vgextend: Warning: Max_PE_per_PV for the volume group (1199) too small for this PV (1359).
Using only 1199 PEs from this physical volume.
Should I go to "-s 128" or adjust Max_PE_per_PV with the "-e" switch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2006 08:45 AM
12-23-2006 08:45 AM
Re: VG with 300 GB size (creation error)
1. The pe_size needs to be large enough to hold the VGDA. The fix for this is to increase the PE size.
2. The max_pe needs to be large enough to hold all the pe's created by the pe_size. This can be done two ways, use the maximum value of 65535 or divide the disk size by the pe_size.
A 360GB disk equals 368640MB.
Divide 368640MB by the pe size of 4MB = 92160 pe's
Divide 368640MB by the pe size of 8MB = 46080 pe's
So for a 360GB PV the requires a minimum pe_size of 8MB (-s 8) and minimum max_pe of 46080 (-e 47000)
facettst(LOCAL:root)/root # vgdisplay vgdb02
--- Volume groups ---
VG Name /dev/vgdb02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 14
Open LV 14
Max PV 40
Cur PV 1
Act PV 1
Max PE per PV 21875
VGDA 2
PE Size (Mbytes) 16
Total PE 21861
Alloc PE 21861
Free PE 0
Total PVG 1
Total Spare PVs 0
Total Spare PVs in use 0
facettst(LOCAL:root)/root #
facettst(LOCAL:root)/root # diskinfo /dev/rdsk/c8t0d6
SCSI describe of /dev/rdsk/c8t0d6:
vendor: HP
product id: A5277A
type: direct access
size: 358232000 Kbytes
bytes per sector: 512
facettst(LOCAL:root)/root #
vgcreate from man page - 11.00
-A autobackup [default=y n]
Set automatic backup for this invocation of this command
-e max_pe [default=1016, Range 1 - 65535]
Set the maximum number of physical extents that can be allocated from any of the physical volumes in the volume group. 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.
-f Force vg creation
This option will force a volume group to be created with a physical volume which has alternate block(s) already allocated, (i.e. this physical volume was not initialized using pvcreate -f.) This option should be used with extreme caution.
-g pvg_name
Create a new physical volume group with the name pvg_name. All physical volumes specified in the pv_path parameter become a member of the newly created physical volume group. The physical volume group information is stored in an ASCII file,
/etc/lvmpvg.
-l max_lv [default=255]
Set the maximum number of logical volumes that the volume group is allowed to contain.
-p max_pv [default=16]
Set the maximum number of physical volumes that the volume group is allowed to contain.
-s pe_size [default=4, Range 1 - 256]
Sets the number of megabytes in each physical extent, where pe_size is expressed in units of megabytes (MB) in the range 1 to 256.
-x extensibility [defaut=y]
Set the allocation permission for adding physical extents on the physical volumes specified by the pv_path parameter.