Fran Varas Blog

The history of an incredibly curious guy

a RAID made of pendrives

i have two formatted pendrives, 2Gb each.

mdadm --verbose --create /dev/md0 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1 mdadm --detail /dev/md0 mkfs.ext4 /dev/md0 mkdir /mnt/usbraid mount /dev/md0 /mnt/usbraid/ and a little fun

time dd if=/dev/urandom of=garbage bs=1M count=3

3+0 records in 3+0 records out 3145728 bytes (3.1 MB) copied, 0.687779 s, 4.6 MB/s

real 0m0.691s user 0m0.000s sys 0m0.692s


time dd if=/dev/urandom of=garbage2 bs=1M count=10

10+0 records in 10+0 records out 10485760 bytes (10 MB) copied, 2.29229 s, 4.6 MB/s

real 0m2.295s user 0m0.000s sys 0m2.292s

and then

mdadm --stop /dev/md0

mdadm: stopped /dev/md0

mdadm --verbose --create /dev/md0 --level=0 --raid-devices=2 /dev/sdc1 /dev/sdd1

repeat procedure source