linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arkadiusz Miskiewicz <a.miskiewicz@gmail.com>
To: linux-raid@vger.kernel.org
Subject: bitmap questions
Date: Wed, 13 Oct 2010 18:24:53 +0200	[thread overview]
Message-ID: <201010131824.53363.a.miskiewicz@gmail.com> (raw)

Hi,

I have a question on how bitmap works and what's shown in /proc/mdstat, for 
example:

md2 : active raid10 sdc3[0] sdd3[3] sdb3[2] sda3[1]
      60002560 blocks 64K chunks 2 near-copies [4/4] [UUUU]
      bitmap: 1/1 pages [4KB], 65536KB chunk

- 1 bitmap for 4096 chunks

- if it shows 0/1 pages [0KB] what does it actually mean? Does that mean that 
in case of resync it will resync _all_ 4096 chunks in that page or only chunks 
that require that (for example 7 chunks) ?

- if it will resync all 4096 chunks what's the point of even allowing 1 page 
setup (via mdadm)?

Thanks!
-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
--
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:[~2010-10-13 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13 16:24 Arkadiusz Miskiewicz [this message]
2010-10-14  5:02 ` bitmap questions Paul Clements
2010-10-14  6:00   ` Arkadiusz Miskiewicz
2010-10-14 12:11     ` John Robinson
2010-10-14 12:39     ` Mario 'BitKoenig' Holbe

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=201010131824.53363.a.miskiewicz@gmail.com \
    --to=a.miskiewicz@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).