Operating System - HP-UX
1830045 Members
10765 Online
109998 Solutions
New Discussion

Strange output from vgdisplay or pvdisplay on HP-UX 11.31 server

 
Infocamere
Occasional Advisor

Strange output from vgdisplay or pvdisplay on HP-UX 11.31 server

Hi,
I have installed five server with hp-ux 11.31
release march 2008 pre-installed.
During installation process , I have renamed the logical volume on boot disk.
When I execute command "pvdisplay " i get the following output :

# pvdisplay -v /dev/disk/disk0_p2
--- Physical volumes ---
PV Name /dev/disk/disk0_p2
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 11
PE Size (Mbytes) 16
Total PE 4319
Free PE 1655
Allocated PE 2664
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
Proactive Polling On

--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/var 250 250
/dev/vg00/varopt 250 250
/dev/vg00/boot 112 112
/dev/vg00/opt 625 625
/dev/vg00/tmp 63 63
/dev/vg00/swap 512 512
/dev/vg00/home 125 125
/dev/vg00/usr 288 288
/dev/vg00/root 64 64
/dev/vg00/spoolsw 125 125
/dev/vg00/crash 250 250

--- Physical extents ---
PE Status LV LE
00000 current /dev/vg00/boot 00000
00001 current /dev/vg00/boot 00001
00002 current /dev/vg00/boot 00002
00003 current /dev/vg00/boot 00003
00004 current /dev/vg00/boot
......
00112 current /dev/vg00/swap 00000
......
00624 current /dev/vg00/root 00000
==============================================

The order list of logical volume that appears in section "Distribution of phisical volume" is random and doesn't follows the order list in section "Phisical extents " where the order is : boot, swap , root , tmp , opt ,etc...

In older version , 11.11 and 11.23 , the output is choerent:

ignite:/#pvdisplay -v /dev/dsk/c1t2d0

--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 8
Total PE 4350
Free PE 2036
Allocated PE 2314
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On

--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 224 224
/dev/vg00/lvol2 256 256
/dev/vg00/lvol3 128 128
/dev/vg00/lvol4 64 64
/dev/vg00/lvol5 14 14
/dev/vg00/lvol6 642 642
/dev/vg00/lvol7 538 538
/dev/vg00/lvol8 448 448

--- Physical extents ---
PE Status LV LE
00000 current /dev/vg00/lvol1 00000
00001 current /dev/vg00/lvol1 00001
00002 current /dev/vg00/lvol1 00002
.....
00224 current /dev/vg00/lvol2 00000
.....
0480 current /dev/vg00/lvol3 00000
.....
==============================================

Can someone explain this differences?

Thanks' in advance.

Maurizio
1 REPLY 1
Steven E. Protter
Exalted Contributor

Re: Strange output from vgdisplay or pvdisplay on HP-UX 11.31 server

Shalom Maurizio,

Perhaps not a satisfying answer, but it would appear some of the logical volumes were extended at some point and the display order is physical no the disk not an ascii sort on the logical volume names.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com