From: Dan Williams <dan.j.williams@intel.com>
To: Pierre Ossman <pierre-list@ossman.eu>
Cc: neilb@suse.de, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Raid not shutting down when disks are lost?
Date: Sat, 21 Nov 2009 13:58:41 -0700 [thread overview]
Message-ID: <e9c3a7c20911211258r756e044cpad5ae9d613284f8b@mail.gmail.com> (raw)
In-Reply-To: <20091121203645.60d68d11@mjolnir.ossman.eu>
On Sat, Nov 21, 2009 at 12:36 PM, Pierre Ossman <pierre-list@ossman.eu> wrote:
> Or is there perhaps some magic mdadm command to add a lost disk and get
> it up to speed without a complete sync?
If you care about resync speed then look into adding a write intent
bitmap to your configuration; otherwise, look into the --assume-clean
option to recreate the array.
Quoting from the man page:
--assume-clean
Tell mdadm that the array pre-existed and is known to be clean.
It can be useful when trying to recover from a major failure as you
can be sure that no data will be affected unless you actually write to
the array. It can also be used when creating a RAID1 or RAID10 if you
want to avoid the initial resync, however this practice, while
normally safe, is not recommended. Use this only if you really know
what you are doing.
--
Dan
prev parent reply other threads:[~2009-11-21 20:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-08 14:39 Pierre Ossman
2009-11-21 16:03 ` Pierre Ossman
2009-11-21 19:21 ` Dan Williams
2009-11-21 19:36 ` Pierre Ossman
2009-11-21 20:58 ` Dan Williams [this message]
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=e9c3a7c20911211258r756e044cpad5ae9d613284f8b@mail.gmail.com \
--to=dan.j.williams@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=pierre-list@ossman.eu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®