[Slackdocs] RAID howto

Paul Chavent paul.chavent at fnac.net
Sun Oct 14 13:45:51 CEST 2012


On 10/14/2012 07:33 AM, Niki Kovacs wrote:
> Le 11/10/2012 22:32, Paul Chavent a écrit :
>> So instead of doing
>> Ensure that the partition type is Linux RAID Autodetect (type FD).
>>
>> we should read
>> Ensure that the partition type is Linux RAID Autodetect (type DA).
>
> I have two servers running Slackware 14.0 here, one a production server, the other a sandbox for fiddling around. One is formatted using FD, the other using DA. Both seem to work OK.
>
>>
>>
>> And instead of doing (for instance)
>> mdadm --create /dev/md2 --level 1 --raid-devices 2 /dev/sda2 /dev/sdb2
>>
>> we should read (for instance)
>> mdadm --create /dev/md/swap --level 1 --raid-devices 2 /dev/sda2 /dev/sdb2
>>
>>
>> Can you confirm ?
>
> For consistency's sake, I always use a naming scheme pointing to the underlying devices, e. g. "md1" for the array consisting of sda1, sdb1, sdc1, ..., "md2" for the array consisting of sda2, sdb2, sdc3, and so on. This also works with Slackware 14.0.

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.

>
> Niki
>



More information about the Slackdocs mailing list