[CentOS] RAID 5 setup?

Robert Heller heller at deepsoft.com
Thu Mar 25 20:36:43 UTC 2010


At Thu, 25 Mar 2010 12:24:57 -0700 (PDT) CentOS mailing list <centos at centos.org> wrote:

> 
> 
> Can anyone provide a tutorial or advice on how to configure a software RAID 5 from the command-line (since I did not install Gnome)?
> 
> I have 8 x 1.5tb Drives.

mdadm --create /dev/md0 --level=5 --raid-devices=7 /dev/sd[abcdefg]1

The above will create a level 5 RAID named /dev/md0 of /dev/sda1
/dev/sdb1 /dev/sda1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1, with
hot-spare /dev/sdg1

Note: RAID5 is not really recomended for such large disks.  You run the
risk of a complete data loss if one disk fails and the another disk
fails during the rebuild.


> 
> -Jason
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>              

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
                               


More information about the CentOS mailing list