[Slackdocs] RAID howto

John Jenkins goblin at scooter.co.nz
Thu Oct 11 22:44:01 CEST 2012


On 10/12/2012 09:32 AM, Paul Chavent wrote:
> Hello
> 
> On 10/11/2012 10:16 PM, John Jenkins wrote:

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

Correct.

> 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

Yes that looks correct .
Make sure you also add your arrays to /etc/mdadm.conf
I also see mention that we may need mdmon in the installer.

> Can you confirm ?

I've not tested much with the new metadata format so can't give you a
definitive answer but it would be interesting to see your results.


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

Yes please do.

Regards

John



More information about the Slackdocs mailing list