Skip to main content

USB Flash Drives RAID 0 on Linux - Pair of SanDisk Ultra 32gb CZ48 USB 3.0

I was able to create a Linux RAID 0 Array with two (2) SanDisk 32gb Ultra USB 3.0 Flash Drives.  I opted for RAID 0 - Striping as it would give me one logical 64gb Drive with theoretically 'double' the speed.



Due to the Linux Test Machine having only USB 2.0 ports, the theoretical max it could achieve is limited by USB 2.0 max speed of 480mbits/sec (roughly 60mb/sec).  Initial test of Single USB Flash Drive -- 30mb/sec Read Speed.


Create RAID 0
I installed mdadm.  It was conveniently located in the Ubuntu Software Center.  Reviewed other users guides and none worked exactly as described, but after reviewing each one, I was able to piece together the necessary terminal commands and steps to take.

Steps Taken:
  1. sudo -s
  2. Enter Admin Password
  3. mdadm -Cv /dev/md0 -l0 -n2 /dev/sdc /dev/sdd
  4. mke2fs /dev/md0
  5. mount /dev/md0 /mnt/samsung
I had to also mess around in disks to get things to work.  And then renamed the Lost+Found folder to 'USB Files' as that was only folder that allowed me to edit data on the new RAID Array.

End Result - Yes it's faster
It did improve speeds by 50% on READ to 46mb/sec.  This might be the most I can expect on USB 2.0 ports and perhaps on a USB 3.0 machine I could see some serious boost.  I was experiencing about 75mb/sec READ on a Windows PC w/ USB 3.0 ports and perhaps it would enjoy 150mb/sec + if that were a Linux machine!



The plus-side, I now have a logical 64gb USB Flash Drive and don't feel 'as bad' in buying two (2) 32gb drives...when I should have gotten another bad-ass 64gb CZ80 Extreme.  To make it even better...this running RAID 0 makes it technically faster than the a single CZ80 could have ever been in a USB 2.0 port.  And perhaps make it on par in READ speed at least on a USB 3.0 port.

Is this Practical?  Not Yet.
This isn't practical at the moment.  One technical problem I haven't figured out is how to automatically get the RAID Array identified and mounted properly without having to manually access it in the DISKS utility.  If that were automated and allow the USB Flash Drives to instantly build the RAID Array mount...that be awesome. 



The other downside...the USB Flash Drives must work as a pair and on a Linux Environment that can recognize them.  Maybe that's okay as I'll only use these in the Lab.

Disks Benchmark
I tried the Disks Utility - Benchmark and it gave me results of 70mb/sec READ and 20mb/sec WRITE.  I'm skeptical of the READ speed as I was only able to get at most 54mb/sec, but the WRITE speed seems reasonable and I did observe that on actual file transfers.


Another possibility of why I'm not observing 70mb/sec READ speeds is maybe the laptop's HDD is the bottleneck?  The WD 250gb HDD is giving me about 47mb/sec which is what I was observing in the data transfer from the RAID USB's.


And for comparison...I also did a Benchmark of a single USB Flash Drive.  The RAID improved the READ speed, however...interestingly the Avg Access Time is better on the single USB Flash Drive vs. the RAID.





Comments

Popular posts from this blog

Sony MDR-ZX100 vs ZX-110 vs ZX310 Series Headphones

By happenstance I own several Sony ZX Series Headphones: ZX-100 ZX-110 ZX-310 Build Quality (ZX-310 Wins) They use mostly a Plastic Build that is quite durable; the ZX-100 I've had for over 2 1/2 years and been thrown about in my Backpack & Car.  The ONLY issue with the lower model ZX-100 & ZX-110 Series are the crappy Earpads that disintegrate and create a flaky vinyl mess.  Those flakes then get stuck to your ears & hair.  The ZX-310 wins in that regard with much better quality Earpads. Cost (ZX-100/110 Wins) ZX-310's cost about twice that of the ZX-100/110 and I've been able to find several 310's for about $18 at Discount Retailers.  ZX-110's should go for about $10. Specs They are all 30mm Drivers.  The ZX-310 has a wider Frequency Range of 10 ~ 24,000 Hz and a Gold 1/8" Plug.  The ZX-100/110 are roughly identical going 12 ~ 22,000 Hz. Sound (ZX-100 Wins) Surprisingly, I prefer the ZX-100's Sound Signature vs. the 110 and 31

Casio G-Shock 5600 vs 6900 vs 9000

Having now owned several G-Shocks I've come to appreciate certain features of various models.  For most part all I care about primarily is 'size'.  Features are secondary and so long as it has World Time, I'm happy. Size (5600 wins) In terms of size the 5600's are my favorite, but the convenience of the illumination button front and center on the 6900 is beautiful. The compromise?  It has to go to the 9000 series Mudman.  While the buttons are difficult to press it is the right size and button arrangement that just connects with me as one of my favorite G-Shocks thus far.  Now Module versions this is probably a bad selection to compare as I have a GLX, G and DW types.  But form factor wise they are roughly equivalent representatives of their model series.  There are certainly much larger G-Shocks, but for me the 6900 is where I will draw the line for now. Features (G9000 Wins, GLX5600 Good Second) Most G-Shocks have the standard basics down pat and all I car

Eton Microlink FR160 Radio -- Sticky Residue

I bought an Eton Microlink FR160 Handcrank Radio for my Emergency Kit a few years ago and it's great, except for one thing....over time a sticky residue coats the radio's external surface.  It was driving me nuts and I thought something was wrong. Fortunately, rather than dump it I researched online and learned Eton Radios are coated with a substance to make them easier to grip, but over time it degrades and becomes a sticky mess.  Some isopropyl alcohol and cotton balls can clean most of the gunk.  Some paint maybe lost in the process, but the radio at least is not sticky anymore.