On Sun, Sep 14, 2014 at 02:30:34PM +0200, Linux-Fan wrote:
> On 09/14/2014 01:42 PM, Linux-Fan wrote:
> > On 09/14/2014 02:06 AM, Dan Ritter wrote:
> 
> [...]
> 
> >> In the meantime, you can:
> >> - add a bitmap file to the RAID, which will speed up rebuilds.
> >> - use the --no-degraded flag, to prevent assembly of a RAID that
> >>   is lacking a disk.
> > 
> > Thank you very much for these hints. I am going to try both.
> 
> Sorry for another mail with a probably too simple question, but I just
> wanted to add "no-degraded" but did not know /where/ to add it. Can it
> be added to mdadm.conf? If yes, where? (Tried to google for it, but my
> search terms did not yield anything interesting).

Inspecting a wheezy system, I see:

/etc/init.d/mdadm-raid
...

        for line in $($MDADM --assemble --scan --auto=yes
--symlink=no 2>&1); do
          IFS=$IFSOLD
...

You'll want to add --no-degraded to the list of flags here.

-dsr-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140914142645.gi13...@randomstring.org

Reply via email to