Operating System - HP-UX
1752756 Members
4846 Online
108789 Solutions
New Discussion юеВ

Re: Create Large Disk Volume Group

 
SOLVED
Go to solution
Brent W. Moll
Advisor

Create Large Disk Volume Group

Am attempting to create a volume group with a 384 GB disk.

[sdat2c03][/home/root] #pvcreate -f /dev/rdsk/c15t5d1
Physical volume "/dev/rdsk/c15t5d1" has been successfully created.
[sdat2c03][/home/root] #pvcreate -f /dev/rdsk/c17t5d1
Physical volume "/dev/rdsk/c17t5d1" has been successfully created.
[sdat2c03][/home/root] #vgcreate /dev/vg_pimb1 /dev/dsk/c15t5d1 /dev/dsk/c17t5d1
Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (99262).
Using only 65535 PEs from this physical volume.
Increased the number of physical extents per physical volume to 65535.
vgcreate: Volume group "/dev/vg_pimb1" 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.

[sdat2c03][/home/root] #

(Disks are alternate paths using PV links)

How do I do this ?
3 REPLIES 3
nibble
Super Advisor
Solution

Re: Create Large Disk Volume Group

use the -e option to increase the max pe size.

vgcreate -e 99262 /dev/dsk/1 /dev/dsk2

or increase e and it would be better if you use a value divisible by 8.
RAC_1
Honored Contributor

Re: Create Large Disk Volume Group

The default no. of pes is 65535. With default PE size of 4mb, you can only use (4*65535) of the disk.

Increase the PEs. Check -e option on vgcreate.

What makes you include so large disk in VG

Anil
There is no substitute to HARDWORK
Sundar_7
Honored Contributor

Re: Create Large Disk Volume Group

Hi,

I dont think you can increase the MAX PEs value beyond 65535 atleast not in 11.0.

I happened to have the same problem sometime back.

So you might want to look at increasing the PE Size than the MAX PEs.

Incrase the PE size from default 4MB to 8MB.

This way you wont hit on the MAX PE limit.

use the -s option with vgcreate

# vgcreate -s 8 /dev/vg_pimb1 dev/dsk/c15t5d1 /dev/dsk/c17t5d1
Learn What to do ,How to do and more importantly When to do ?