I just assembled a raid 5 on centos using mdadm and with four 4TB drives it is reporting only a 6TB volume! It is reporting everything okay except for the size. Any ideas?
[root@stokenstein backup]# mdadm --detail --scan
ARRAY /dev/md0 level=raid5 num-devices=4 metadata=0.90 UUID=d4940113:183c181c:bf5926c2:5c885161
[root@stokenstein backup]# mdadm --examine /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 0.90.00
UUID : d4940113:183c181c:bf5926c2:5c885161
Creation Time : Mon Jan 13 23:46:23 2014
Raid Level : raid5
Used Dev Size : 2147480704 (2048.00 GiB 2199.02 GB)
Array Size : 6442442112 (6143.99 GiB 6597.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Tue Jan 14 00:28:22 2014
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : d7876239 - correct
Events : 7
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 33 2 active sync /dev/sdc1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
[root@stokenstein backup]# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : d4940113:183c181c:bf5926c2:5c885161
Creation Time : Mon Jan 13 23:46:23 2014
Raid Level : raid5
Used Dev Size : 2147480704 (2048.00 GiB 2199.02 GB)
Array Size : 6442442112 (6143.99 GiB 6597.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Tue Jan 14 00:28:22 2014
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : d7876227 - correct
Events : 7
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 17 1 active sync /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
[root@stokenstein backup]#
Message from syslogd@ at Tue Jan 14 00:52:49 2014 ...
stokenstein kernel: Disabling IRQ #7
[root@stokenstein backup]# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : d4940113:183c181c:bf5926c2:5c885161
Creation Time : Mon Jan 13 23:46:23 2014
Raid Level : raid5
Used Dev Size : 2147480704 (2048.00 GiB 2199.02 GB)
Array Size : 6442442112 (6143.99 GiB 6597.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Tue Jan 14 08:44:47 2014
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : d787d684 - correct
Events : 11
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 17 1 active sync /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
[root@stokenstein backup]#
[root@stokenstein backup]# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 19457 156183930 8e Linux LVM
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sda: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 267349 2147480811 fd Linux raid autodetect
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdb: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 267349 2147480811 fd Linux raid autodetect
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdc: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 267349 2147480811 fd Linux raid autodetect
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdd: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 267349 2147480811 fd Linux raid autodetect
Disk /dev/md0: 6597.0 GB, 6597060722688 bytes
2 heads, 4 sectors/track, 1610610528 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
[root@stokenstein backup]#
[root@stokenstein backup]# mdadm --detail --scan
ARRAY /dev/md0 level=raid5 num-devices=4 metadata=0.90 UUID=d4940113:183c181c:bf5926c2:5c885161
[root@stokenstein backup]# mdadm --examine /dev/sdc1
/dev/sdc1:
Magic : a92b4efc
Version : 0.90.00
UUID : d4940113:183c181c:bf5926c2:5c885161
Creation Time : Mon Jan 13 23:46:23 2014
Raid Level : raid5
Used Dev Size : 2147480704 (2048.00 GiB 2199.02 GB)
Array Size : 6442442112 (6143.99 GiB 6597.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Tue Jan 14 00:28:22 2014
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : d7876239 - correct
Events : 7
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 33 2 active sync /dev/sdc1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
[root@stokenstein backup]# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : d4940113:183c181c:bf5926c2:5c885161
Creation Time : Mon Jan 13 23:46:23 2014
Raid Level : raid5
Used Dev Size : 2147480704 (2048.00 GiB 2199.02 GB)
Array Size : 6442442112 (6143.99 GiB 6597.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Tue Jan 14 00:28:22 2014
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : d7876227 - correct
Events : 7
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 17 1 active sync /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
[root@stokenstein backup]#
Message from syslogd@ at Tue Jan 14 00:52:49 2014 ...
stokenstein kernel: Disabling IRQ #7
[root@stokenstein backup]# mdadm --examine /dev/sdb1
/dev/sdb1:
Magic : a92b4efc
Version : 0.90.00
UUID : d4940113:183c181c:bf5926c2:5c885161
Creation Time : Mon Jan 13 23:46:23 2014
Raid Level : raid5
Used Dev Size : 2147480704 (2048.00 GiB 2199.02 GB)
Array Size : 6442442112 (6143.99 GiB 6597.06 GB)
Raid Devices : 4
Total Devices : 4
Preferred Minor : 0
Update Time : Tue Jan 14 08:44:47 2014
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 0
Spare Devices : 0
Checksum : d787d684 - correct
Events : 11
Layout : left-symmetric
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 8 17 1 active sync /dev/sdb1
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
[root@stokenstein backup]#
[root@stokenstein backup]# fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 19457 156183930 8e Linux LVM
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sda: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 267349 2147480811 fd Linux raid autodetect
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdb: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 267349 2147480811 fd Linux raid autodetect
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdc: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 1 267349 2147480811 fd Linux raid autodetect
WARNING: The size of this disk is 4.0 TB (4000787030016 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID
partition table format (GPT).
Disk /dev/sdd: 4000.7 GB, 4000787030016 bytes
255 heads, 63 sectors/track, 486401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdd1 1 267349 2147480811 fd Linux raid autodetect
Disk /dev/md0: 6597.0 GB, 6597060722688 bytes
2 heads, 4 sectors/track, 1610610528 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Disk /dev/md0 doesn't contain a valid partition table
[root@stokenstein backup]#