A20-OLinuXino-MICRO project – How to set up a raid 1 filesystem


A20-OLinuXino-MICRO-0

Flayol Frédéric submitted on our project page link to his interesting project, he setup Raid 1 file system with two USB Flash drives.

There are also many other interesting projects on his blog!

1 Comment (+add yours?)

  1. Thomas
    Nov 06, 2015 @ 23:06:43

    On a system with an A10 or A20 a RAID-1 made of one SATA and an USB disk would make much more sense to store data. The typical sequential performance for USB and SATA is 30/30 and 40/100 (write/read) when using 2.5″ disks. So it’s a good idea to use the ‘–write-mostly’ switch when creating the RAID so that writes go to both disks but only the SATA disk that is way faster will be used to read from. With mainline kernel the situation improves both regarding throughput as well as flexibility. The best approach with mainline kernel and a RAID-1 containing of USB and SATA is to make use of the UAS protocol, to use mdadm to create the array with reads only from the faster SATA disk and put btrfs with ‘-o noatime,compress=lzo’ mount options on top of it. Some people think about using cheap port multipliers and RAID on the A20. While it might work the whole idea is crap and renders the idea of RAID useless.

    Some background informations:

    http://linux-sunxi.org/USB/UAS
    http://linux-sunxi.org/SATA#Performance
    http://forum.lemaker.org/forum.php?mod=redirect&goto=findpost&ptid=11857&pid=71617

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: