[CentOS] Confusing output from pvdisplay

Sun Aug 17 21:40:40 UTC 2008
Stephen Harris <lists at spuddy.org>

/dev/md3 is a raid5 array consisting of 4*500Gb disks

pvs and pvscan both display good info:

  % pvscan | grep /dev/md3
    PV /dev/md3   VG RaidDisk   lvm2 [1.36 TB / 0    free]

  % pvs /dev/md3
    PV         VG       Fmt  Attr PSize PFree
    /dev/md3   RaidDisk lvm2 a-   1.36T    0

But pvdisplay...
  % pvdisplay /dev/md3
    --- Physical volume ---
    PV Name               /dev/md3
    VG Name               RaidDisk
    PV Size               1024.00 GB / not usable 8192.00 EB
    Allocatable           yes (but full)
    PE Size (KByte)       4096
    Total PE              357702
    Free PE               0
    Allocated PE          357702
    PV UUID               tXGBfv-mfhF-FEXV-hjOG-saIz-iAhA-vZ62DW

The "PV Size" line is very odd, indeed!

My other lvm disk (/dev/md4) looks just fine:
  % pvdisplay /dev/md4
    --- Physical volume ---
    PV Name               /dev/md4
    VG Name               Mirror
    PV Size               267.36 GB / not usable 3.50 MB
    Allocatable           yes
    PE Size (KByte)       4096
    Total PE              68444
    Free PE               4352
    Allocated PE          64092
    PV UUID               Bav2oP-nlZB-f6H3-XBow-iIde-AqKI-a0JyYk

Any ideas on why "PV Size" looks so broken on md3 ?