( apal | 2019. 12. 02., h – 11:25 )

hibatűrése 0 (sőt, duplázva van az esélye a sérülésre)

Ennél az én meglátásom szerint a RAID0 is jobb lenne (2 diszknyi hely, jobb performancia), de egy RAID1 tuti.

A fenti szkript kiegeszitese:

# cat /proc/mdstat 
Personalities : [raid1] [raid0] [linear] [multipath] [raid6] [raid5] [raid4] [raid10] 
md42 : active raid5 loop1[2] loop0[0]
      130048 blocks super 1.2 level 5, 512k chunk, algorithm 2 [2/2] [UU]

# dd if=/dev/urandom bs=1M count=64 of=test.bin

# md5sum test.bin
46a763ef483d1ad52038125919fe5078  test.bin
 

# dd if=test.bin of=/dev/md42

# sync

# mdadm --stop /dev/md42

# dd if=/dev/loop1 bs=1M skip=1 count=64 2>/dev/null | md5sum
46a763ef483d1ad52038125919fe5078  -

# dd if=/dev/loop0 bs=1M skip=1 count=64 2>/dev/null | md5sum
46a763ef483d1ad52038125919fe5078  -