linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: Justin Piszcz <jpiszcz@lucidpixels.com>
Cc: Linux-Raid <linux-raid@vger.kernel.org>
Subject: Re: recovery starts from 0 after reboot - normal?
Date: Fri, 24 Aug 2007 13:59:01 +0200	[thread overview]
Message-ID: <46CEC805.6010009@wpkg.org> (raw)
In-Reply-To: <Pine.LNX.4.64.0708240748140.18608@p34.internal.lan>

Justin Piszcz schrieb:

>> According to the fine manual, BITMAP CHANGES belong to the grow mode.
>> So, let's try to do what the manual says - try to add a bitmap to the 
>> active array:
>>
>>
>> # mdadm --grow /dev/md0 --bitmap=internal
>> mdadm: failed to set internal bitmap.
>>
>> # dmesg
>> md: couldn't update array info. -16
>>
>>
>> So, either I don't understand the manual, or there are more caveats in 
>> it.

(...)

> Check: http://lkml.org/lkml/2007/6/17/235

It's an external bitmap; I'd prefer an internal one, as my root 
filesystem is on a flash-IDE disk.

However, let's try the external bitmap:

# mdadm --grow /dev/md0 --bitmap=/bitmapfile
mdadm: Cannot set bitmap file for /dev/md0: Device or resource busy


So, it also fails. Perhaps because the array still rebuilds?

A 95644 byte /bitmapfile was created.


I'll try again when the array is done with rebuilding. According to 
/proc/mdstat, it would be 6 more hours.


-- 
Tomasz Chmielewski
http://wpkg.org

  reply	other threads:[~2007-08-24 11:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24 11:20 recovery starts from 0 after reboot - normal? Tomasz Chmielewski
2007-08-24 11:22 ` Justin Piszcz
2007-08-24 11:34   ` Tomasz Chmielewski
2007-08-24 11:40     ` Justin Piszcz
2007-08-24 11:46     ` Tomasz Chmielewski
2007-08-24 11:48       ` Justin Piszcz
2007-08-24 11:59         ` Tomasz Chmielewski [this message]
2007-08-27 13:39           ` Tomasz Chmielewski

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=46CEC805.6010009@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=jpiszcz@lucidpixels.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).