Operating System - HP-UX
1827595 Members
2693 Online
109966 Solutions
New Discussion

Re: pvcreate on 9 GB doesnot go thru

 
chander
New Member

pvcreate on 9 GB doesnot go thru

Hello

We have a E55 HP-Risc system with 10.20 OS sys config:4*4GB and 2*2GB they are all single ended disks.I need to replace the 2*4GB with a 9 GB Ulta wide Hard disk with SE converter.I am able to create PV only for 4 GB.Is there any patch available to make the 9 GB sense.

Thanks in advance
9 REPLIES 9
sung-hoon chang
Advisor

Re: pvcreate on 9 GB doesnot go thru

Hello

I'm not sure, how you connect ultra wide 9GB disk with SE adaptor. I think, you need a server and card for ultra wide scsi.

Do you have a scsi convetor ?
If yes, you maybe need a patch.

E55 system support SE scsi and HP-PB fast wide scsi and can not support ultra wide scsi.
sung-hoon chang
Advisor

Re: pvcreate on 9 GB doesnot go thru

Hello

I am not sure, how can you connect the 9GB ultra wide disk with SE adaptor.

Do you have any scsi convertor ?
If yes, you maybe need some patches.

But E55 system support SE scsi and HP-PB fast wide scsi.

I think, you need a server and card for ultra scsi.
Andreas Voss
Honored Contributor

Re: pvcreate on 9 GB doesnot go thru

Hi,

i'm not sure what you have done.
Have you pvcreate ... the 9GB disk and then added with vgextend ... and get the message that only 4GB are added to vg ?
If so your problem is not the disk itself.
Instead the value MAX PE at your vg is the restriction. When creating a vg with 4GB disks and it has been done with no optional parameters then MAX PE is autom. set to the biggest disk (4GB).
So having the fill capacity of your 9GB disk is only sufficient when recreateing the vg.

Regards
Stefan Farrelly
Honored Contributor

Re: pvcreate on 9 GB doesnot go thru


Your E55 is very old, it may need a firmware update in order to 'see' 9 Gb drives. Check for new firmware on the itrcp.hp.com
Im from Palmerston North, New Zealand, but somehow ended up in London...
Marcos Tinoco Garcfa
Occasional Advisor

Re: pvcreate on 9 GB doesnot go thru

ok, if you have 4*4GB disk in a volume group and you want to remplace 2*4GB disk for 2*9GB disk on the same volume group, it's negative, HP-UX do not support different disk size in the same volume group.

I understeand that you want a volume group whith 4 disk (2 disk * 4GB and 2 disk * 9GB)
it's not possible that you can see 2*9GB. Remember that HPUX do not support.
Marcos Tinoco Garcfa
Andreas Voss
Honored Contributor

Re: pvcreate on 9 GB doesnot go thru

Hi,

i disagree with Marcos.
It is possible to have different disk capacity in one volume group.

Regards
Ovidiu D. Raita
Valued Contributor

Re: pvcreate on 9 GB doesnot go thru

do a vgdisplay -v on the vg you want to add the disk to. If you have the PE SIZE=4MB and max PE/PV=1024 you can see only 1024*4MB=4GB.

Then there's no way to add 9GB to that vg.

A good practice is to create the vg with the following options:
# vgcreate -e 5000 -s 32 vgx /dev...
This way you can have 150GB disks in this VG.

Ovidiu
Simple solutions to complex problems
Bill McNAMARA_1
Honored Contributor

Re: pvcreate on 9 GB doesnot go thru

the problem is not the pvcreate, it
is the volumegroup extend.
The Physical extends are limited in number
and size. 1024 by 4MB.
You can try to change it with
vgchange -e
but not online....
this is an lvm limitation.
It works for me (tm)
Jason Luginbuhl
Frequent Advisor

Re: pvcreate on 9 GB doesnot go thru

As mentioned above the Max PE per PV is your problem. A vgdisplay on this vg will show you your Max PE per PV value. Depending on your LVM patch level, the larger disk may or may not be allowed to be added to the vg. At certain patch levels unless all of the physical extents of the disk can be used, it will not be added. Other patches will allow the disk to be added but it will be limited only to the max_pe number of extents resulting in a lot of wasted disk space.

For a more detailed look at this problem see the following two documents in the Technical Knowledge Base:

KBRC00000244 - LVM restrictions to adding a larger disk to a volume group

A5840169 - Sys Adm: adding a 9 GB drive to volume group vg00
"Unfortunately you can't out-program stupidity"