linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jon Nelson" <jnelson-linux-raid@jamponi.net>
To: Neil Brown <neilb@suse.de>
Cc: LinuxRaid <linux-raid@vger.kernel.org>
Subject: Re: weird issues with raid1
Date: Fri, 19 Dec 2008 15:18:13 -0600	[thread overview]
Message-ID: <cccedfc60812191318w18de5dfbs28bf476bd5d88359@mail.gmail.com> (raw)
In-Reply-To: <cccedfc60812191240m185d5f49td1ec2070c70c88e4@mail.gmail.com>

A correction: I used:

mdadm --assemble /dev/md11 --scan

to assemble md11.

> 6. --re-add /dev/nbd0
>
> At step 6, the array decided to go into recovery:
>
> Dec 19 14:32:26 turnip kernel: md: bind<nbd0>
> Dec 19 14:32:26 turnip kernel: RAID1 conf printout:
> Dec 19 14:32:26 turnip kernel:  --- wd:1 rd:2
> Dec 19 14:32:26 turnip kernel:  disk 0, wo:1, o:1, dev:nbd0
> Dec 19 14:32:26 turnip kernel:  disk 1, wo:0, o:1, dev:sda
> Dec 19 14:32:26 turnip kernel: md: recovery of RAID array md11
>
> and has some time to go ...
>
>      [=>...................]  recovery =  7.7% (6031360/78123988)
> finish=234.6min speed=5120K/sec

(I bumped the recovery speed up to it's maximum, FYI.)

Going off of the timestamps below, it took about 35 minutes to
recover. That's way faster than the more than 2 hours necessary for a
full sync. Therefore, I must assume that the bitmap is at least
partially working.

Dec 19 15:06:41 turnip kernel: md: md11: recovery done.
Dec 19 15:06:41 turnip kernel: RAID1 conf printout:
Dec 19 15:06:41 turnip kernel:  --- wd:2 rd:2
Dec 19 15:06:41 turnip kernel:  disk 0, wo:0, o:1, dev:nbd0
Dec 19 15:06:41 turnip kernel:  disk 1, wo:0, o:1, dev:sda

I'm going to re-do this experiment and grab an --examine-bitmap after
a minute or so into the rebuild to see what happens.

I am tentatively saying that the commit you suggested may be the root
cause of some of the "unnecessary full-sync" issues I've had.



-- 
Jon

  reply	other threads:[~2008-12-19 21:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-06  2:10 weird issues with raid1 Jon Nelson
2008-12-06  2:46 ` Jon Nelson
2008-12-06 12:16   ` Justin Piszcz
2008-12-15  2:17     ` Jon Nelson
2008-12-15  6:00 ` Neil Brown
2008-12-15 13:42   ` Jon Nelson
2008-12-15 21:33     ` Neil Brown
2008-12-15 21:47       ` Jon Nelson
2008-12-16  1:21         ` Neil Brown
2008-12-16  2:32           ` Jon Nelson
2008-12-18  4:42           ` Neil Brown
2008-12-18  4:50             ` Jon Nelson
2008-12-18  4:55               ` Jon Nelson
2008-12-18  5:17                 ` Neil Brown
2008-12-18  5:47                   ` Jon Nelson
2008-12-18  6:21                     ` Neil Brown
2008-12-19  2:15                       ` Jon Nelson
2008-12-19 16:51                         ` Jon Nelson
2008-12-19 20:40                           ` Jon Nelson
2008-12-19 21:18                             ` Jon Nelson [this message]
2008-12-22 14:40                               ` Jon Nelson
2008-12-22 21:07                                 ` NeilBrown
2008-12-18  5:43   ` Neil Brown
2008-12-18  5:54     ` Jon Nelson

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=cccedfc60812191318w18de5dfbs28bf476bd5d88359@mail.gmail.com \
    --to=jnelson-linux-raid@jamponi.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).