Mark Haney wrote:
I am having a problem with df reporting the wrong disk size on a
couple of 7TB arrays on a Fedora box we are using. I have an lvm
group on each array of 6.36TB when I run df this is what I get:
/dev/mapper/Volume02-Volume02lv
2.4T 33M 2.3T 1% /mnt/arrays/array2
/dev/mapper/Volume03-Volume03lv
2.4T 950G 1.3T 43% /mnt/arrays/array1
When I run vg display this is what it reports:
pvdisplay PV Name /dev/sdd
pvdisplay VG Name Volume03
pvdisplay PV Size 6.36 TB / not usable 6.00 TB
pvdisplay Allocatable yes (but full)
pvdisplay PE Size (KByte) 4096
pvdisplay Total PE 1666397
pvdisplay Free PE 0
pvdisplay Allocated PE 1666397
pvdisplay PV UUID UlaSJI-9Srm-e3AW-LdNW-g2HG-v6ZE-4yWwPw
pvdisplay
pvdisplay --- Physical volume ---
pvdisplay PV Name /dev/sdc
pvdisplay VG Name Volume02
pvdisplay PV Size 6.36 TB / not usable 6.00 TB
pvdisplay Allocatable yes (but full)
pvdisplay PE Size (KByte) 4096
pvdisplay Total PE 1666397
pvdisplay Free PE 0
pvdisplay Allocated PE 1666397
pvdisplay PV UUID mK7WWj-UV0p-N6Qc-zhx6-EK3J-g0CO-g65ljs
I've looked around for a lvm tool to display the correct sizes, but
can't find one. Is there something I'm missing?
Try "lvdisplay"