linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Robinson <john.robinson@anonymous.org.uk>
To: CoolCold <coolthecold@gmail.com>
Cc: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Kernel oops adding bitmap
Date: Wed, 21 Mar 2012 13:52:27 +0000	[thread overview]
Message-ID: <4F69DD1B.8020202@anonymous.org.uk> (raw)
In-Reply-To: <CAGqmV7qgQUxndmFzAU=cx3stQryOYRSRGPb_1HX9Nw9Ludot-A@mail.gmail.com>

On 21/03/2012 13:21, CoolCold wrote:
> Btw, was interested in, where bitmap will be placed when adding it on
> live array? I.e. as it requires some diskspace, we should provide some
> free space, but where it can be taken from if array is already created
> and used by, say filesystem?

There's room allocated in the metadata for it at create time, whether or 
not it's used from create time, ever since bitmaps were introduced. 
Before mdadm 3.1.2, total metadata size depended on the array size, 
because the bitmap size depended on the array size, but from 3.1.2 on 
mdadm allocates 1MB for metadata including the bitmap (which is much 
more than is really needed but helps keep things 1MB-aligned).

Cheers,

John.


  reply	other threads:[~2012-03-21 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-19 16:44 Kernel oops adding bitmap Larkin Lowrey
2012-03-19 21:32 ` NeilBrown
2012-03-19 21:40   ` Larkin Lowrey
2012-03-21 13:21     ` CoolCold
2012-03-21 13:52       ` John Robinson [this message]
2012-03-21 20:03       ` NeilBrown
2012-03-22 19:54         ` CoolCold

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=4F69DD1B.8020202@anonymous.org.uk \
    --to=john.robinson@anonymous.org.uk \
    --cc=coolthecold@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).