My older 2 CPU server (32-bit LV Xeon, centos 5) drives a raid6 array. Since I grew it from 7x2T to 8x2T (I had to CD boot a "more modern" fedora to even do the 82-hour growing, but that's another story) LVM only recognizes 10.92TB of /dev/md0's 12TB, so that I end up with less than a 10 TB file system:
[root@svr ~]# mdadm --detail /dev/md0; pvdisplay /dev/md0; fdisk -l /dev/md0; df -k
/dev/md0:
Version : 0.90
Creation Time : Tue Dec 28 05:26:04 2010
Raid Level : raid6
Array Size : 11721071616 (11178.09 GiB 12002.38 GB)
Used Dev Size : 1953511936 (1863.01 GiB 2000.40 GB)
Raid Devices : 8
Total Devices : 8
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon May 28 17:53:18 2012
State : clean
Active Devices : 8
Working Devices : 8
Failed Devices : 0
Spare Devices : 0
Chunk Size : 64K
UUID : 6de03491:96f53423:b23fa12b:2f674132
Events : 0.51806
Number Major Minor RaidDevice State
0 8 17 0 active sync /dev/sdb1
1 8 33 1 active sync /dev/sdc1
2 8 49 2 active sync /dev/sdd1
3 8 65 3 active sync /dev/sde1
4 8 81 4 active sync /dev/sdf1
5 8 97 5 active sync /dev/sdg1
6 8 129 6 active sync /dev/sdi1
7 8 113 7 active sync /dev/sdh1
--- Physical volume ---
PV Name /dev/md0
VG Name vg0
PV Size 10.92 TB / not usable 2.75 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 2861589
Free PE 0
Allocated PE 2861589
PV UUID KSZAHI-oldy-hpmS-gCk9-9a6z-psGT-2Ui6L8
Disk /dev/md0: 12002.3 GB, 12002377334784 bytes
2 heads, 4 sectors/track, -1364699392 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
75449724 59475364 12079884 84% /
/dev/sda1 101086 62152 33715 65% /boot
tmpfs 5131380 0 5131380 0% /dev/shm
/dev/mapper/vg0-Movies
9767428096 8968488468 798939628 92% /mnt/Movies
[root@svr ~]# uname -a
Linux svr.gheiden.com 2.6.18-308.1.1.el5PAE #1 SMP Wed Mar 7 04:57:46 EST 2012 i686 i686 i386 GNU/Linux
Is there some 32-bit limit to LVM or xfs to produce those 9.8 TB? Would repartitioning the discs help so 2 devices < 10TB are created? Right now I can't do that, no room to backup the data ...
added:
Centos 5.8
[root@svr ~]# xfs_info /mnt/Movies/
meta-data=/dev/vg0/Movies isize=256 agcount=41, agsize=61047232 blks
= sectsz=512 attr=0
data = bsize=4096 blocks=2441889792, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=32768, version=1
= sectsz=512 sunit=0 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
[root@svr ~]# lvdisplay /dev/vg0/Movies
--- Logical volume ---
LV Name /dev/vg0/Movies
VG Name vg0
LV UUID v1ilLf-nUe7-8grx-XcS1-EJXp-hPdl-mcRrb3
LV Write Access read/write
LV Status available
# open 1
LV Size 10.92 TB
Current LE 2861589
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 1536
Block device 253:2
Array Size:11178.09 GiB, and the size of your drives areDev Size:1863.01 GiBan LVM size of 10.92TB is exactly what you would expect. Please remember some tools working on drives display sizes in powers of 10 instead of powers of 2. So the from the size fdisk reports for the array 12002377334784/(2**40)==10.91TiB (where 1TiB is exactly 2**40) – Zoredache May 28 '12 at 20:01xfs_info. – Zoredache May 28 '12 at 20:15