1834303 Members
2795 Online
110066 Solutions
New Discussion

vgextend problem

 
Massimo_48
Occasional Contributor

vgextend problem

Hi all,

I've a HP-UX 11i.
I've created a VG for OVPI installation.
when I've tried to execute the mirror between the first disk and another disk, I've this message:
vgextend /dev/vgovpi /dev/dsk/c4t3d0
vgextend: Couldn't install the physical volume "/dev/dsk/c4t3d0".
File too large

disk size 73 Gb
I've configred two filesystem on first disk
- 6Gb
- 61Gb

Any suggestion?

Thanks in advance
13 REPLIES 13
Slawomir Gora
Honored Contributor

Re: vgextend problem

Hi,

run vgdisplay vg00 and check PE Size,
I think that you have to low value of PE Size.
Slawomir Gora
Honored Contributor

Re: vgextend problem

sorry not vg00 but vgovpi
Sridhar Bhaskarla
Honored Contributor

Re: vgextend problem

Hi Massimo,

Did you run 'pvcreate' on this disk?.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Prashant Zanwar_4
Respected Contributor

Re: vgextend problem

Did you do a pvcreate.

pvcreate -f /dev/dsk/c4t3d0

then do

vgextend -f vg_name pv_name

Hope this helps
Prashant

"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Massimo_48
Occasional Contributor

Re: vgextend problem

the output of command vgdisplay -v vgovpi

--- Volume groups ---
VG Name /dev/vgovpi
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 17501
VGDA 2
PE Size (Mbytes) 4
Total PE 17499
Alloc PE 16896
Free PE 603
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vgovpi/lvol1
LV Status available/syncd
LV Size (Mbytes) 6144
Current LE 1536
Allocated PE 1536
Used PV 1

LV Name /dev/vgovpi/lvol2
LV Status available/syncd
LV Size (Mbytes)
Current LE 15360
Allocated PE 15360
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c4t0d0
PV Status available
Total PE 17499
Free PE 603
Autoswitch On
Pedro Cosmen
Valued Contributor

Re: vgextend problem

Hello Massimo,

run a vgdisplay vgovpi, and the look the PE size and the max PE per PV, maybe your vgovpi was created with disks smaller than the one you are triyng to include and it's too big for your vgovpi.

Regards

P.S: the solution is to create a nes vg and move all your data to this new vg.
Massimo_48
Occasional Contributor

Re: vgextend problem

I execute pvcreate -fB .....
Then I've tried vgextend....
Thierry Poels_1
Honored Contributor

Re: vgextend problem

hi,

vgovpi can handle only disk < 70004MB.
A 73GB disk cannot be used completely in the VG.

regards,
Thierry.

All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Prashant Zanwar_4
Respected Contributor

Re: vgextend problem

Yes seems there is a problem. You can use a 68GB drive and not 73GB.

You will wither have to form a new VG with this PV.
Do the backup of old VG to this new VG. might be using fbackup & frecover.
or cpio.
Then remove the old VG, and join the disk of old VG to new one. Or you may like to do the installation again if it is not time consuming and complicated.

Hope this helps
Thanks
Prashant
"Intellect distinguishes between the possible and the impossible; reason distinguishes between the sensible and the senseless. Even the possible can be senseless."
Sridhar Bhaskarla
Honored Contributor

Re: vgextend problem

And why is -B?..

Just run 'pvcreate /dev/rdsk/c4t3d0'. Use '-f' if it gives you any problem.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sanjay_6
Honored Contributor

Re: vgextend problem

Hi,

This might give you an explanation as well as the solution to your vgextend probem.

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000075725053

the itrc doc id is KBRC00009036.

hope this helps.

Regds
Slawomir Gora
Honored Contributor

Re: vgextend problem

Hi,

I think that you have to:
- configure new vg containing disk c4t3d0 but with greater PE size
- create lvols 1 i 2
- shutdown application
- copy data from vgovpi lvols to new lvols
- modify /etc/fstab with new vg name
- check aplication
- remove vgovpi
- extend new vg with disk of vgovpi
- mirror lvols
erics_1
Honored Contributor

Re: vgextend problem

Regardless of the size of the disk, lvm 'should' allow you to add to the volume group after running pvcreate. Since your vg will only see a disk size of 68gb, lvm should be able to extend the disk in but give a warning that some disk space will be wasted (~5gb). I would try creating a new volume group with the 73gb disk. If that's successful, open a call with HP support to see if there's any known issues or patches which address the problem you're experiencing.

Best Regards,
Eric