Hello TCLUG,

I have a CentOS vm with a 405 GB disk.  My issue is that there is
about 90 GB missing from an LV.

fdisk reports the size of /dev/sdb1 at 434 GB, pvdisplay reports 405
GB, lvdisplay reports 405 GB, but df -h report 312 GB.

Can anyone point me in the right direction?

I'll put the output of various things below.

Thanks,

Rob

--

[root at db06 Fri Nov 07 @ 10:54:50 ~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      5.8G  1.8G  3.8G  32% /
/dev/sda1              99M   19M   76M  20% /boot
tmpfs                 7.8G     0  7.8G   0% /dev/shm
/dev/mapper/DBDATA-data
                      312G  232G   65G  79% /LVM/data
/dev/mapper/DBDATA-extra
                      119G  188M  112G   1% /LVM/extra

--

[root at db06 Fri Nov 07 @ 10:55:13 ~]$ fdisk -l

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14        1044     8281507+  8e  Linux LVM

Disk /dev/sdb: 434.8 GB, 434865438720 bytes
255 heads, 63 sectors/track, 52869 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       52869   424670211   8e  Linux LVM

Disk /dev/sdc: 128.8 GB, 128849018880 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       15665   125829081   8e  Linux LVM

--

[root at db06 Fri Nov 07 @ 10:55:47 ~]$ pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               DBDATA
  PV Size               405.00 GB / not usable 835.00 KB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              103679
  Free PE               0
  Allocated PE          103679
  PV UUID               95qPah-UTJf-febW-4ZhR-vCev-ILXo-zzdCJI

  --- Physical volume ---
  PV Name               /dev/sdc1
  VG Name               DBDATA
  PV Size               120.00 GB / not usable 3.96 MB
  Allocatable           yes (but full)
  PE Size (KByte)       4096
  Total PE              30719
  Free PE               0
  Allocated PE          30719
  PV UUID               gU3dvV-cYTC-Wkvh-OUhG-oOuP-cWmC-njN0BJ

  --- Physical volume ---
  PV Name               /dev/sda2
  VG Name               VolGroup00
  PV Size               7.90 GB / not usable 23.41 MB
  Allocatable           yes (but full)
  PE Size (KByte)       32768
  Total PE              252
  Free PE               0
  Allocated PE          252
  PV UUID               Wrcluh-it01-DpPH-8ppE-gy7u-s8Qd-tOYLcs

[root at db06 Fri Nov 07 @ 10:56:19 ~]$

--

[root at db06 Fri Nov 07 @ 10:57:18 ~]$ vgdisplay
  --- Volume group ---
  VG Name               DBDATA
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  11
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                2
  Act PV                2
  VG Size               524.99 GB
  PE Size               4.00 MB
  Total PE              134398
  Alloc PE / Size       134398 / 524.99 GB
  Free  PE / Size       0 / 0
  VG UUID               Czj6wk-NLG6-XVRc-f0Ll-r06d-nGFb-l4qq17

  --- Volume group ---
  VG Name               VolGroup00
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               7.88 GB
  PE Size               32.00 MB
  Total PE              252
  Alloc PE / Size       252 / 7.88 GB
  Free  PE / Size       0 / 0
  VG UUID               Boxzpe-Twkz-1Fci-lnfl-dzMI-d93u-RPm2Yr

--

[root at db06 Fri Nov 07 @ 10:57:29 ~]$ lvdisplay
  --- Logical volume ---
  LV Name                /dev/DBDATA/data
  VG Name                DBDATA
  LV UUID                2Fb3ar-CSYP-o1kF-yvws-H6Tv-677L-Ok8IM7
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                405.00 GB
  Current LE             103679
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:2

  --- Logical volume ---
  LV Name                /dev/DBDATA/extra
  VG Name                DBDATA
  LV UUID                ygs7qh-bK3T-4fac-aFbl-SxDM-z9wb-JAIwfm
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                120.00 GB
  Current LE             30719
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:3

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol00
  VG Name                VolGroup00
  LV UUID                eQbwV2-2qsK-U2au-e309-wUe1-SfPy-Z5mBpm
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                5.94 GB
  Current LE             190
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0

  --- Logical volume ---
  LV Name                /dev/VolGroup00/LogVol01
  VG Name                VolGroup00
  LV UUID                g7tx8y-D3ef-CpCk-MQSa-b1jM-7kXK-IHTX55
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.94 GB
  Current LE             62
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1