[Slackdocs] RAID howto
Niki Kovacs
info at microlinux.fr
Sun Oct 14 16:17:26 CEST 2012
Le 14/10/2012 13:45, Paul Chavent a écrit :
> I did the same, but as i explained it before, if i do :
> mdadm --create /dev/md2 --level 1 --raid-devices 2 /dev/sda2 /dev/sdb2
>
> I can use the device during the installation, but after reboot, the
> /dev/md2 is NOT mounted.
>
> That because the "not metadata=0.90" arrays are decreasing numbered form
> /dev/md127 ... or named as /dev/md/name
>
> That why i struggle with raid since my first post. I'm looking or the
> right way to do.
I'm running a RAID 1 server with two disks and a RAID 5 server with four
disks here.
Trying to recall how I figured it out.
1) I used the --metadata=0.90 option for every array: md1, md2 and md3.
2) The RAID 5 server was a bit of a struggle. I had a full afternoon of
failed attempts, but in the end, I simply tried and let the
synchronization finish *before* the first reboot. This proved to work well.
3) On startup, I do see something like this in the early boot messages:
/dev/md125 stopped
/dev/md126 stopped
/dev/md127 stopped
But immediately after this come the following lines:
/dev/md1 started
/dev/md2 started
/dev/md3 started
I don't know if my way of setting up a RAID array is orthodox or not.
But hey, it works.
Cheers,
Niki
--
Microlinux - Solutions informatiques 100% Linux et logiciels libres
7, place de l'église - 30730 Montpezat
Web : http://www.microlinux.fr
Mail : info at microlinux.fr
Tél. : 04 66 63 10 32
More information about the Slackdocs
mailing list