Temos o Samsung 840Pro 512gb x2 conectado às portas SATA3.0 c600 6gbps da placa-mãe. As partições RAID usam 100% de cada disco:
user@blockparty ~ $ sudo fdisk -lu /dev/sdb
Disk /dev/sdb: 512.1 GB, 512110190592 bytes
255 heads, 63 sectors/track, 62260 cylinders, total 1000215216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000xxxxx
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1000214527 500106240
(/ dev / sda tem o mesmo layout)
Quando eu escrevo um arquivo usando o dd:
user@blockparty ~ $ dd count=1k bs=8M if=/dev/zero of=benchfile.bin
1024+0 records in
1024+0 records out
8589934592 bytes (8.6 GB) copied, 32.341 s, 266 MB/s
São 2gbps. Não exatamente soprando minhas meias aqui.
O problema é o limite da nossa partição RAID?
user@blockparty ~ $ sudo fdisk -lu /dev/md0
Disk /dev/md0: 1024.2 GB, 1024216530944 bytes
255 heads, 63 sectors/track, 124520 cylinders, total 2000422912 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 524288 bytes / 1048576 bytes
Disk identifier: 0x00013891
Device Boot Start End Blocks Id System
/dev/md0p1 63 1992220649 996110293+ 83 Linux
Partition 1 does not start on physical sector boundary.
/dev/md0p2 1992220650 2000413799 4096575 5 Extended
Partition 2 does not start on physical sector boundary.
/dev/md0p5 1992220713 2000413799 4096543+ 82 Linux swap / Solaris
Partition 5 does not start on physical sector boundary.
Mais informações:
user@blockparty ~ $ sudo mdadm -D /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Thu Apr 24 13:50:42 2014
Raid Level : raid0
Array Size : 1000211456 (953.88 GiB 1024.22 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Thu Apr 24 13:50:42 2014
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 512K
Name : ubuntu-test:0
UUID : a4e7ead8:fc9c14e1:70bad27e:78a91cbe
Events : 0
Number Major Minor RaidDevice State
0 8 1 0 active sync /dev/sda1
1 8 17 1 active sync /dev/sdb1