Changes

From Amahi Wiki
Jump to: navigation, search
243 bytes added ,  02:03, 18 November 2010
m
Reverted edits by Acecydoxose (Talk) to last revision by Mithran
Linux is capable of setting up software RAID Linear, 0, 1, 4, or 5 arrays via the mdadm command. Doing this requires two or more similar size Linux raid autodetect partitions to be worthwhile (technically you can use the mdadm command on a single partition, but it wouldn't be much of an array then).
=Partitioning Your Drives=
I would recommend using drives that are all the same size and giving them each a single partitionunless you just wish to use the Linear function of mdadm. If you are ready for a more complicated arrangement, you probably don't need this section of the guide anyway.
Run fdisk as root on the first drive you wish to use in your array (you can type in fdisk -l to get device name and size information if you aren't sure what the drives you wish to use are called). In my case, that looked like this:
$ fdisk /dev/sdb
Then you're ready to put a file system on it (a simple 'mkfs -t ext3 /dev/md0' in my case), and perhaps mount the array as your HDA's default path for shares as talked about in the article on [http://wiki.amahi.org/index.php/Adding_a_second_hard_drive_to_your_HDA Adding a Second Hard Drive to your HDA].
 
This [http://www.networknewz.com/2003/0113.html mdadm guide] and the people of #fedora on freenode were very helpful to me in collecting this information.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits