linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wakko Warner <wakko@animx.eu.org>
To: linux-raid@vger.kernel.org
Subject: Creating new raid5 or 6 with --assume-clean
Date: Sun, 1 Dec 2013 22:07:07 -0500	[thread overview]
Message-ID: <20131202030707.GB19621@animx.eu.org> (raw)

This is a general question, but I'll give a specific.

If I create an array with assume clean and proceed to write to the device,
what happens with the parity?

EX:
mdadm -C /dev/md0 -n 4 -l 6 -e 1.0 -b internal -c 128 --assume-clean \
	sdc2 sdd2 sdf2 sde2

Then:
dd if=/dev/zero of=/dev/md0 bs=1M

When it finishes, will all the parity blocks be correct for raid 5 and
raid6?

Would changing md/stripe_cache_size up/down make a difference to the
parities?

-- 
 Microsoft has beaten Volkswagen's world record.  Volkswagen only created 22
 million bugs.

             reply	other threads:[~2013-12-02  3:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02  3:07 Wakko Warner [this message]
2013-12-02  8:48 ` Creating new raid5 or 6 with --assume-clean Robin Hill
2013-12-06 22:52   ` Wakko Warner

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=20131202030707.GB19621@animx.eu.org \
    --to=wakko@animx.eu.org \
    --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).