All of lore.kernel.org
 help / color / mirror / Atom feed
From: Norberto Bensa <norberto+linux-kernel@bensa.ath.cx>
To: linux-kernel@vger.kernel.org
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Subject: Re: raidstart used deprecated START_ARRAY ioctl
Date: Fri, 9 Jul 2004 02:30:24 -0300	[thread overview]
Message-ID: <200407090230.24696.norberto+linux-kernel@bensa.ath.cx> (raw)
In-Reply-To: <16622.11173.888745.161113@cse.unsw.edu.au>

Hello Neil,

Neil Brown wrote:
> On Friday July 9, norberto+linux-kernel@bensa.ath.cx wrote:
> > Hello,
> >
> > What does this mean and how do I fix it?
>
> If you have a degraded array, there is at-least and even chance that
> raidstart will not successfully start it for you.

Aha. It didn't start the array when I compiled md and raid0 built-in; that's 
how I discovered this.

It works as modules (weird to me, but I'm not a kernel guru)

> So, you should stop using raidstart.

Ok.

> The options are:
>
>  1/ use "autodetect".  I'm not a big fan of this personally, but it is
>    much more reliable than START_ARRAY.

I already have. But Gentoo uses raidstart (This is pure guessing, I need to 
dig into the init scripts.

>    This is done by set the partition type of all partitions that
>    contain part of an MD array to "Linux Raid Autodetect" (0xFD).
>    Then all arrays are found and assembled at boot time.
>    This requires having all of md (that you need) compiled into the
>    kernel, not as modules.

Did I get that right? Can I get rid of raidstart and the array will be 
"assembled by the kernel"?

>  2/ use mdadm.  Read the man page about ASSEMBLE MODE.
>     You have  an /etc/mdadm.conf that lists
>       - devices (or partitions) to scan
>       - arrays to be started
>       -  UUID of each array
>
>     and mdadm will find and assemble the arrays.

I think I have read something about mdadm in Gentoo docs somewhere. I really 
need to check that out.

Thanks Neil.

Best regards,
Norberto

  reply	other threads:[~2004-07-09  5:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-09  4:35 raidstart used deprecated START_ARRAY ioctl Norberto Bensa
2004-07-09  5:22 ` Neil Brown
2004-07-09  5:30   ` Norberto Bensa [this message]
2004-07-23  3:10     ` Neil Brown
2004-07-23  3:22       ` Norberto Bensa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200407090230.24696.norberto+linux-kernel@bensa.ath.cx \
    --to=norberto+linux-kernel@bensa.ath.cx \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.