[CentOS] problem building partitionable RAID-1 on Centos-6

SilverTip257 silvertip257 at gmail.com
Sat Feb 23 18:43:41 UTC 2013


On Sat, Feb 23, 2013 at 8:45 AM, Fred <fred.fredex at gmail.com> wrote:

> On Sat, Feb 23, 2013 at 2:16 AM, Arun Khan <knura9 at gmail.com> wrote:
>
> > On Sat, Feb 23, 2013 at 9:46 AM, Fred <fred.fredex at gmail.com> wrote:
> >
> > > Previously I used a procedure where each partition was part of a
> separate
> > > RAID device, but this time I'm trying the HOWTO from the Centos WIKI on
> > > making a partitionable  RAID pair.
> >
>

I use LVM on top of my softraid arrays.
boot is generally the only physical partition other than the LVM physical
volume.


>  > Although the instructions work, there are pitfalls when one of the disk
> > fails.
> >
> > I sought help in this mailing list way back in June/July 2012 time
> > frame.   I would suggest you search the list archives of that period.
> >
> > I did update dracut to the latest version but removing and restoring a
> > failed disk would not boot.
> >
> > Posted the problem in the madm mailing list as well with no resolution.
> >
> > > or more importantly, how can I solve it?
> >
>

The name of the softraid device is not what your initial ramdisk expects.

I noticed that one of my MDs was detected as md127 instead of md2 on a
recent install of 6.3.  But my softraid array was not the root, so I
stopped it, re-assembled it and updated mdadm.conf.

Check your mdadm.conf config and compare it to the running softraid.
 You'll likely have to boot to a rescue cd, assemble the raid array(s),
update your mdadm.conf, change root your CentOS install, and rebuild your
initial ramdisk (man mkinitrd).



> > See below.
> >
> > > I may have to revert to the other method, but I figured this one was
> > worth
> > > a try.
> >
> > I second the above option, if you have the luxury.  In the "other"
> > method, the system at least boots with one disk gone.
> >
> > Ah, thanks for the tip. Guess I'll quit banging my head on the wall and
> use the same method I did before.
>
> Fred
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //



More information about the CentOS mailing list