Operating System - HP-UX
1748255 Members
3848 Online
108760 Solutions
New Discussion юеВ

Re: vgextend gives file too large?

 
SOLVED
Go to solution
Mark Hoensheid
Advisor

vgextend gives file too large?

I'm trying to get my mirroring setup and when I go to vgextend my vg01 to the target disk is get the following:

vgextend /dev/vg01 $COOK
vgextend: Couldn't install the physical volume "/dev/dsk/c2t2d0".
File too large

Only one logical volume with a size of 30GB on vg01. Both disks are identical in size?

Any ideas from the pro's?
15 REPLIES 15
Pete Randall
Outstanding Contributor

Re: vgextend gives file too large?

I guess I have to ask what $COOK is set to.


Pete

Pete
Mark Hoensheid
Advisor

Re: vgextend gives file too large?

RAW=/dev/rdsk/c2t2d0
COOK=/dev/dsk/c2t2d0

Less typing....
Pete Randall
Outstanding Contributor

Re: vgextend gives file too large?

That certainly seems OK. Can you post a vgdisplay -v output?


Pete

Pete
Thierry Poels_1
Honored Contributor

Re: vgextend gives file too large?

Hi,

I suppose $COOK = /dev/dsk/c2t2d0

A little voice tells me you need some patches. So which HPUX version, and how "recently" has it been patched?

regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
S.K. Chan
Honored Contributor

Re: vgextend gives file too large?

I believe this has something to do with the size of your extent (default 4MB). In a large volume group you would see this problem even during the creation (did you not ?) because you need to increase the PE size from a default 4MB to a larger value (-s option in vgcreate).
Pete Randall
Outstanding Contributor

Re: vgextend gives file too large?

There's some "file too large" info in this thread, have a look:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x566d0fe6d0f7d61190050090279cd0f9,00.html



Pete



Pete
James R. Ferguson
Acclaimed Contributor

Re: vgextend gives file too large?

Hi Mark:

Do a 'pvdisplay' for both disks. Make sure that the 'PE Size' is the same.

Regards!

...JRF...
Mark Hoensheid
Advisor

Re: vgextend gives file too large?

 
Mark Hoensheid
Advisor

Re: vgextend gives file too large?

Running HPUX 11i with December 2002 patch bundles