From: Roman Mamedov <rm@romanrm.net>
To: Dark Penguin <darkpenguin@yandex.ru>
Cc: linux-raid@vger.kernel.org
Subject: Re: Bitmap in RAM?
Date: Sat, 8 Oct 2016 21:02:16 +0500 [thread overview]
Message-ID: <20161008210216.1a3fead2@natsu> (raw)
In-Reply-To: <57F8EC82.9010804@yandex.ru>
[-- Attachment #1: Type: text/plain, Size: 722 bytes --]
On Sat, 8 Oct 2016 15:54:26 +0300
Dark Penguin <darkpenguin@yandex.ru> wrote:
> So if I were to place it on a tmpfs, I could eliminate this problem only
> at the expense of being unable to re-add drives after a reboot, right?..
If you don't need that ability, you can just remove bitmap entirely, it's not
mandatory. Run:
mdadm --grow --bitmap=none /dev/mdX
However I'd say being able to re-add drives is very useful, so first consider
switching to a higher bitmap granularity,
mdadm --grow --bitmap=none /dev/mdX
mdadm --grow --bitmap=internal --bitmap-chunk=131072 /dev/mdX
(or even 262144, 524288) as that will reduce the performance impact of the
bitmap.
--
With respect,
Roman
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
next prev parent reply other threads:[~2016-10-08 16:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-08 12:54 Bitmap in RAM? Dark Penguin
2016-10-08 16:02 ` Roman Mamedov [this message]
2016-10-08 16:23 ` Dark Penguin
2016-10-28 5:58 ` NeilBrown
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=20161008210216.1a3fead2@natsu \
--to=rm@romanrm.net \
--cc=darkpenguin@yandex.ru \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.