[Slackdocs] RAID howto

Paul Chavent paul.chavent at fnac.net
Thu Oct 11 22:32:49 CEST 2012


Hello

On 10/11/2012 10:16 PM, John Jenkins wrote:
> On 10/12/2012 09:00 AM, Paul Chavent wrote:
>> On 10/11/2012 09:53 PM, John Jenkins wrote:
>>> On 10/12/2012 07:36 AM, Paul Chavent wrote:
>
>>>> After some subjects on LQ about RAID (i had some naming issues following
>>>> the README_RAID.TXT on the slack iso), i wonder if it would be possible
>>>> to update this readme.
>>>>
>>>
>>> Hi Paul,
>>>
>>> Just wondering....
>>> Do the naming issues disappear if you use metadata=0.90 ?
>>
>> Yes, indeed, my root partition (/dev/md1) was created with the
>> metadata=0.90 and it has been mounted after the first reboot (that's why
>> my system boot).
>>
>> But my home and swap (that wasn't metadata=0.90) haven't been mounted
>> (because they was named /dev/md127, /dev/md126).
>
>
> Yes things get a bit more complex when using the new metadata format
> and/or IMSM.
>
> Usually I just do a mdadm -Ss before creating any arrays and use the
> 0.90 format and all is well.
>
> We'll certainly need to add some things to the README_RAID.TXT and
> probably make some changes in the initrd creation for the next release.
>

Depending on the replies to my thread on LQ (http://www.linuxquestions.org/questions/slackware-14/raid-devices-numbering-and-their-designation-in-fstab-4175431267/#post4801856), i have identified those changes

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).


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 ?


I have a new workstation to setup soon, i will be able to test the updated procedure if needed.

Thank you for your help.

Paul.


>
> Regards
>
> John
>
> _______________________________________________
> Slackdocs mailing list
> Slackdocs at alienbase.nl
> http://lists.alienbase.nl/mailman/listinfo/slackdocs
>



More information about the Slackdocs mailing list