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

Sony ZX Series Headphones Review: A Budget-Friendly Sound Choice If you’re on the hunt for budget-friendly headphones with decent quality, the Sony ZX Series is definitely worth considering. I happen to own several models from the lineup: ZX-100 ZX-110 ZX-310 Let’s dive into how they compare in terms of build quality, cost, specs, sound, and overall value. Build Quality: ZX-310 Takes the Lead The Sony ZX series headphones primarily feature a durable plastic construction. My ZX-100 has lasted over 2½ years, enduring countless tosses into my backpack and car without any issues. However, the lower-end ZX-100 and ZX-110 models have a significant downside: poor-quality earpads. Over time, these earpads disintegrate, leaving vinyl flakes that stick to your hair and ears. The ZX-310, on the other hand, comes with upgraded earpads that don’t suffer from this problem, making them a clear winner in the build department. Cost Comparison: ZX-100/110 Wins for Affordability While the ZX-310 model co...

Casio G-Shock 5600 vs 6900 vs 9000

G-Shock Preferences and Favorites After trying out several G-Shock models, I've developed a better sense of the specific features and design elements I appreciate most. While features are always a plus, my main priority is size . Here's how some of the models I've tried stack up. Size Preference: DW-5600 Series For overall size, the DW-5600 series stands out as a favorite due to its compact, comfortable form. It’s slim, lightweight, and fits well on my wrist without being too bulky. Although the 6900 series provides the benefit of a well-placed front illumination button, the 5600 remains the ideal size for everyday wear. Best Compromise: G9000 Mudman Series If I had to choose a balanced option between size, comfort, and functionality, the G9000 Mudman series would be it. The buttons are slightly tough to press, but the layout and form factor resonate with what I prefer in a G-Shock. Despite having different module versions (GLX, G, and DW), I find that these models offe...

Casio MTD 1010 the $30 Submariner Homage

Casio MTD-1010: The Best Budget Submariner Homage If you’re on the hunt for an affordable watch that channels the classic diver aesthetic of the Submariner, look no further than the Casio MTD-1010 . Priced at around $30 on eBay , this model offers incredible value for anyone who loves a good deal. Affordable Elegance The MTD-1010 strikes a balance between style and practicality. While it features a quartz movement , it captures the essence of the iconic Submariner without being a direct replica or knockoff. This watch embodies the classic diver look with its bold dial, rotating bezel, and luminous hands, making it a fantastic choice for both everyday wear and special occasions. Function Over Frills What sets the MTD-1010 apart is its straightforward functionality. Casio focuses on delivering a reliable timepiece that doesn't get bogged down by unnecessary high-end features. This approach ensures that the watch is both accessible and functional, making it ideal for those who appreci...