linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Neil Brown <neilb@suse.de>
To: for.poige+linux@gmail.com
Cc: Drew <drew.kay@gmail.com>, linux-raid@vger.kernel.org
Subject: Re: man mdadm regarding --assume-clean says it's OK to use with RAID1 or 10, when creating:
Date: Wed, 26 Aug 2009 08:25:43 +1000	[thread overview]
Message-ID: <19092.25831.449670.747732@notabene.brown> (raw)
In-Reply-To: message from Igor Podlesny on Sunday August 23

On Sunday August 23, for.poige+linux@gmail.com wrote:
> 2009/8/23 NeilBrown <neilb@suse.de>:
> [...]
> > Yes it will be updated.  But if it is updated with a
> > read-modify-write cycle then an old incorrect value will be updated
> > to a new incorrect value, which doesn't help you much.
> 
> 	I see. Thank you for the answer. My assumption was due thinking that
> parity is never being used when RAID5 is in "healthy" mode.
> 	
> 	But anyway, please clear it up: if I've made --asume-clean RAID5
> array, formatted it with some FS (or even LVM), and put OS/data to it,
> then (in idle at night, for e. g.) run "resync", would that be the
> same valid result (overall data integrity) as if I had previously
> created it without "--asume-clean" at all? (Let's suppose hard disks
> were healthy in both cases :-)

If by 'run "resync"' you mean
   echo repair > /sys/block/mdXX/md/sync_action
then yes, what will have the same effect as not using --assume-clean
to start with.

> 
> 	And Neil, using the chance to have your reply :-) I'd like to ask one
> more question: is that true (I think and hope it is!) that MD doesn't
> read/write full chunk size when it's just to read/write another block
> of data and hence chunk size only affects data interleaving on disks.

That is correct - chunk size only affect data layout, not IO size.
md/raid5 always reads or writes a whole page (normally 4K) at a time.

NeilBrown


> 	
> 	P. S. Is there someone on this list who can share his linux-RAID
> archive in mbox format? From time to time I find interesting
> discussions have been going but can't just hit "Reply". If you can
> help me with that, please reply personally (not CC:ing to the list).
> Thanks!
> 
> -- 
> End of message. Next message?
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2009-08-25 22:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-22 14:01 man mdadm regarding --assume-clean says it's OK to use with RAID1 or 10, when creating: Igor Podlesny
2009-08-22 17:46 ` Drew
2009-08-22 17:48   ` Igor Podlesny
2009-08-22 21:19     ` NeilBrown
2009-08-23  5:21       ` Igor Podlesny
2009-08-25 22:25         ` Neil Brown [this message]
2009-08-25 23:34           ` CoolCold
2009-08-26  0:25             ` NeilBrown

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=19092.25831.449670.747732@notabene.brown \
    --to=neilb@suse.de \
    --cc=drew.kay@gmail.com \
    --cc=for.poige+linux@gmail.com \
    --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).