Softpedia
 

NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
Home > News > Technology and Gadgets > Tips and Tricks

July 16th, 2007, 10:10 GMT · By Alexandru Pancescu

How to Create Your Very Own USB RAID

SHARE:

Adjust text size:


USB sticks
Enlarge picture
RAID is the acronym for "Redundant Arrays of Inexpensive Disks" and is considered to be a pretty important concept for a number of things. First of all it can be used to increase data security, as a form of on the fly data backup is performed. The second most widespread use of the RAID is to increase speed and data bandwidth for systems that are time critical. While a RAID can be made of just about any kind of
storage devices (hard drives are commonly used), this article focuses on building a RAID system based on a few USB sticks.

What is needed: a computer with a USB port, at least two USB sticks (preferably with the same size and speed, but this is not a must), a USB hub and a Linux distribution named Gentoo (I simply love it). While a USB based RAID can be setup equally easy on a Windows machine, this article really uses the Linux approach. The hardware setup is very easy: just plug the USB sticks into the hub then connect the hub to the computer.

Using "fdisk" and the "p" command the USB sticks are transformed into Linux Raid Autodetect sticks.
In order to create a RAID device, the sticks must be grouped. There are several levels of RAID that can be used. Using "mknod /dev/md0 b 9 0" and "mdadm -C -v /dev/md0 -l=5 -n=3 /dev/uba1 /dev/ubb1 /dev/ubc1" it is possible to turn the three USB sticks into a single RAID device. Note the "C"-create, "v"-verbose and "l=5"-level 5 RAID. To use the new RAID device all is needed now is to format and mount it. Formatting a device in Linux is done by the "mk2fs" utility, while mounting is done by the "mount" one with options for the filesystem used, mount point and so on. To view the new device a "df" can be issued.

RAID technology was intended for high performance hard drives. But it seems that is works equally well with a USB stick. While USB sticks are generally much slower that hard drives are, using a RAID setup it could be possible to increase their performance.
FILED UNDER:
RAID
USB
Linux
stick

TELL US WHAT YOU THINK:

26,884 hits · 6 comments · Link to this article · Print article · Send to friend · Subscribe to news

MUST-READ RELATED ARTICLES:


USB Heating Technology

Linux on Chip-like Computer Module

Wireless USB Is Finally Here - But It's Uber-Expensive

The Weirdest USB Gadget: The Tape Dispenser

The USB-RGB Dongle Makes Your Notebook Video Smarter

READER COMMENTS:


Comment #1 by: Sridhar Sarnobat on 01 Jul 2008, 03:45 UTC reply to this comment

Is there anywhere which gives instructions on how to set this up under Windows?


Comment #2 by: Brian on 03 Nov 2009, 08:18 UTC reply to this comment

Hey umm theres a typo " few SUB sticks."


Comment #3 by: Stephen on 07 Jan 2010, 12:21 UTC reply to this comment

Hey umm did you stole the picture of http://cs.joensuu.fi/~mmeri/usbraid/ ?

Comment #3.1 by: Sorin on 07 Jan 2010, 13:25 GMT

Actually, credits are displayed if you click on the image itself.


Comment #4 by: Galane on 28 Apr 2010, 05:28 UTC reply to this comment

I haven't seen anyone make a USB drive raid of any sort on Windows.


Comment #5 by: njmalhq on 30 Apr 2012, 04:47 UTC reply to this comment

Isn't easily possible under windows. Not possible at all on a windows laptop. Microsoft explicitly prevents the latter. Seems you can only do RAID on dyamic drives, which aren't supported on laptops. This bit of truth is very difficult to find even on microsofts own support boards.

Copyright © 2001-2012 Softpedia. Contact/Tip us at

WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM