linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Janos Farkas <chexum+dev@gmail.com>
To: linux-raid@vger.kernel.org
Subject: mdadm -X bitmap status off by 2^16
Date: Tue, 18 Jul 2006 08:46:13 +0200	[thread overview]
Message-ID: <priv$efbe06145625$36d67b3763@200607.gmail.com> (raw)

Hi!

Another pseudo-problem :) I've just set up a RAID5 array by creating a
three-disk one from two disks, and later adding the third.  Everything
seems normal, but the mdadm (2.5.2) -X output:

        Filename : /dev/hda3
           Magic : 6d746962
         Version : 4
            UUID : 293ceee6.d1811fb1.a8b316e6.b54abcc7
          Events : 12
  Events Cleared : 12
           State : OK
       Chunksize : 1 MB
          Daemon : 5s flush period
      Write Mode : Normal
       Sync Size : 292784512 (279.22 GiB 299.81 GB)
          Bitmap : 285923 bits (chunks), 65536 dirty (22.9%)

# for i in hdb3 hdd3 hda3 ; mdadm -X /dev/$i|grep map
          Bitmap : 285923 bits (chunks), 0 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 0 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 65536 dirty (22.9%)
# for i in hdb3 hdd3 hda3 ; mdadm -X /dev/$i|grep map
          Bitmap : 285923 bits (chunks), 1 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 1 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 65537 dirty (22.9%)
# for i in hdb3 hdd3 hda3 ; mdadm -X /dev/$i|grep map
          Bitmap : 285923 bits (chunks), 7 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 7 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 65543 dirty (22.9%)
# for i in hdb3 hdd3 hda3 ; mdadm -X /dev/$i|grep map
          Bitmap : 285923 bits (chunks), 0 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 0 dirty (0.0%)
          Bitmap : 285923 bits (chunks), 65536 dirty (22.9%)

# cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4]
md0 : active raid5 hdd3[2] hdb3[0] hda3[1]
      585569024 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]
      bitmap: 0/140 pages [0KB], 1024KB chunk

Is this going to bite me later on, or just a harmless display problem?

Janos

             reply	other threads:[~2006-07-18  6:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-18  6:46 Janos Farkas [this message]
2006-07-18 15:30 ` mdadm -X bitmap status off by 2^16 Paul Clements
2006-07-18 16:54   ` Janos Farkas

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='priv$efbe06145625$36d67b3763@200607.gmail.com' \
    --to=chexum+dev@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).