Operating System - HP-UX
1830657 Members
29857 Online
110015 Solutions
New Discussion

file too large when creating a VG

 
SOLVED
Go to solution
Deepak Seth_1
Regular Advisor

file too large when creating a VG

i have 2 luns of 200 and 67 gb each . i get this error when i trying to create a vg using a 200 Gb lun .

gcreate /dev/vgtest /dev/dsk/c16t0d0
Increased the number of physical extents per physical volume to 51199.
vgcreate: Volume group "/dev/vgtest" could not be created:
File too large

i tried rebooting , changing the minor number etc .

no good so far . do i am missing some LVM patch . System has a patch level of march,2001 and running hpux 11.0
3 REPLIES 3
Calandrello
Trusted Contributor
Solution

Re: file too large when creating a VG

Friend
this this happening which had to the size of the PE that for standard and 4 he tries to use: vgcreate - s 16 /dev/vgtest /dev/dsk/c16t0d0 this must decide its problem
Deepak Seth_1
Regular Advisor

Re: file too large when creating a VG

thanks man. perfect . resolved the issue .
Sandman!
Honored Contributor

Re: file too large when creating a VG

Don't need any patch, just increasing the PE size from the default of 4M will work. The max PE size can be 256M. The reason is that the LVM data structures must fit into a single extent on the disk. So if you choose a PE size of 32M then the num of physical extents of size 32M will be 6400 for a total LUN size of 200G.

~hope it helps