[CentOS] building software raid.

Wed Oct 30 16:11:25 UTC 2013
Johan Vermeulen <jvermeulen at cawdekempen.be>

Op 30-10-13 17:01, SilverTip257 schreef:
> On Wed, Oct 30, 2013 at 11:05 AM, <m.roth at 5-cent.us> wrote:
>
>> Johan Vermeulen wrote:
>>> dear All,
>>>
>>> I'm spending the afternoon trying to build software raid using this (
>>> excellent )  guide :
>>> http://wiki.centos.org/HowTos/Install_On_PartitionaMAILADDRble_RAID1<http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1>
>>>
>>> I'm doing this not only because this machine has no raid controller - I
>>> could go out and buy one - but also because I hope software raid will
>>> provide easier monitoring.
> Make sure to set MAILADDR in /etc/mdadm.conf
> I generally use a system account (generally root which is aliased to a
> proper address in /etc/aliases - don't forget to run newaliases if you
> change /etc/aliases).
>
> * I should probably edit that wiki page and these few notes. ;)
>
>
>>   >
>>> This is a newly installed, updated Centos6.4 standard machine.
>>>
>>> So far I arrived at part1 step 4:
>>> ----->
>>>
>>> mdadm --add /dev/md_d0 /dev/sdb
>>>
>>>
>>> and this is on 16.6 %
>>>
>>> Looking at part 2 , step 2 :
>>>
>>> ------------> Edit /etc/fstab, you must change all mounts from using
>>> LABEL= to explicit device names, like /dev/md_d0p1, /dev/md_d0p2, ...
>>>
>>> I'm wondering where I can find the names md_d0p1, p2 and so on.
>>>
>>> Can anyone help me on this?
>> cat /proc/mdstat
>>
> +1
> When you set up the software raid arrays, you'd be setting the device names.
>
>
>>        mark
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>

Hello All,

maybe something went wrong.

The optional step 4 is finished.
I now have

/cat /proc/mdstat//
//
//Personalities : (raid0) ( raid1 ) enz....//
//md_d0 : active raid1 sdb (1) sda (0)//
//          488386496 blocks (2/2) ( uu )//
//
//unused devices : none/

that's it. no p1, p2 names.
Is this because I used lvm?

Greetings and thanks, J.