Operating System - HP-UX
1833472 Members
3347 Online
110052 Solutions
New Discussion

Re: difference in disk sizes

 
SOLVED
Go to solution
changee
Occasional Advisor

difference in disk sizes

Hi,

i have a disk from EMC which is of 45Gb size and is a part of a VG.But my diskinfo and pvdisplay shows different sizes.please see the output below:

#diskinfo /dev/rdsk/c22t0d0
SCSI describe of /dev/rdsk/c22t0d0:
vendor: DGC
product id: CX700WDR5
type: direct access
size: 47592448 Kbytes
bytes per sector: 512

#pvdisplay /dev/dsk/c22t0d0
--- Physical volumes ---
PV Name /dev/dsk/c22t0d0
VG Name /dev/app01
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 8
Total PE 1452
Free PE 0
Allocated PE 1452
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On

Why does pvdisplay and diskinfo report different sizes..??
3 REPLIES 3
freddy_21
Respected Contributor

Re: difference in disk sizes

Hello Changee,

could you give me the detail from vgdisplay -v vgapp01?

i have some question:
1. If /dev/dsk/c22t0d0 is the new disk?
2. Did you extend vgapps01 with /dev/dsk/c22t0d0
3. how big your original disk for vgapps01, less than 45 GB? Ig your original vgapps1 ( before you add the c22t0d0 disk less than 45 GB that is the problem )


thanks
freddy
Sandman!
Honored Contributor
Solution

Re: difference in disk sizes

Depends on the values used for "Max PE per PV" and "PE Size" when the VG was created. Those two alone would determine the max PV that can be part of this VG irrespective of the LUN size. In order to reset those values so that the PV size is equal to the LUN size you would have to recreate the /dev/app01 VG.

~cheers
changee
Occasional Advisor

Re: difference in disk sizes

sandman,

Thanks for your reply.
It was the Max.PE / PV restriction which was responsible for showing up the diffrent disk sizes.

thanks
chang.