df, lvm and 6TB arrays oh my!
Mark Haney
mhaney at ercbroadband.org
Sat Feb 11 17:28:25 UTC 2006
Randy Kelsoe wrote:
> 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"
>
I tried that as well, it gives me the same type of data as vgdisplay.
I get the total size of the volume, but not the amount used on it.
--
Interdum feror cupidine partium magnarum Europae vincendarum
Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415
More information about the fedora-list
mailing list