RAID1 on linux with mdadm – Part2

Continued from RAID1 on linux with mdadm – Part1:

Performance results

Without any encryption

$time sudo dd if=/dev/zero of=testfile bs=1G count=10
10+0 records in
10+0 records out
10737418240 bytes (11 GB) copied, 77.2889 s, 139 MB/s

real 1m17.517s
user 0m0.000s
sys 0m22.230s

Truecrypt AES partition

$ time sudo dd if=/dev/zero of=testfile bs=1G count=10
10+0 records in
10+0 records out
10737418240 bytes (11 GB) copied, 78.6724 s, 136 MB/s

real 1m18.837s
user 0m0.000s
sys 0m21.750s

Mark listed device as faulty and remove

This will mark /dev/sdb1 and /dev/sdb2 as faulty devices and will remove them from the array.

$sudo mdadm /dev/md_d0 --manage --fail /dev/sdb1 --remove /dev/sdb1
$sudo mdadm /dev/md_d1 --manage --fail /dev/sdb2 --remove /dev/sdb2

Continue reading “RAID1 on linux with mdadm – Part2”

RAID1 on linux with mdadm – Part1

Due to time restriction, I’m putting a pause to the last two tests of  FakeRAID on ubuntu using dmraid – Part3 and going ahead with software RAID for the next testing phase:

2 HDDs x 1TB each – WD Caviar Black

Ist test:

2Partitions x 493G
RAID1
EXT4/XFS

Second test:

2Partitions x 493G
LVM over RAID1
EXT4/XFS

Third test:

2Partitions x 493G
Encrypted LVM over RAID1
EXT4/XFS

Fourth test:

2Partitions x 493G
Truecrypt partition on top of LVM over RAID1
EXT4/XFS

Continue reading “RAID1 on linux with mdadm – Part1”