From: Hubert Verstraete <hubskml@free.fr>
To: linux-raid@vger.kernel.org
Subject: RAID5 initial resync: faster vs more secure
Date: Thu, 20 Mar 2008 17:58:19 +0100 [thread overview]
Message-ID: <47E297AB.8020001@free.fr> (raw)
Hi list
Each time I create a RAID5 array, by default, as a degraded array with a
spare, I cannot stop and restart the array unless the initial resync has
completed. If I do so, the resync is not resumed when the array is
re-assembled.
Is this due to the fact that one disk is a spare, but md actually
doesn't know which of the disks is the spare one ?
Assuming that there is no bug and no workaround about this issue, I
think the following: when one cannot guarantee the array won't be
stopped until the resync completes, one should better create the RAID5
array with the -f option. Indeed, when I use -f, I can stop the array
and restart it, the resync will be resumed where it had stopped.
The cost of this is that the initial resync runs slower.
Comments are welcome.
Thanks,
Hubert
PS: the reshape patch from Neil on 03/03/08 does not fix the issue.
next reply other threads:[~2008-03-20 16:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-20 16:58 Hubert Verstraete [this message]
2008-03-25 5:15 ` RAID5 initial resync: faster vs more secure Neil Brown
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=47E297AB.8020001@free.fr \
--to=hubskml@free.fr \
--cc=linux-raid@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).