[CentOS] building software raid.

Johan Vermeulen jvermeulen at cawdekempen.be
Wed Oct 30 16:31:40 UTC 2013


Op 30-10-13 17:11, Johan Vermeulen schreef:
> 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.
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

some additional info:

I used the standard ( lvm ) partitioning when installing,
than, after reboot, used system-config-lvm to shrink the last lvm.

no I see I have /dev/md/md_d0 /dev/md_d0p1 /dev/md_d0p2
I don't know what is what....

greetings, J.




More information about the CentOS mailing list