From: "Alexander 'Leo' Bergolth" <leo@strike.wu.ac.at>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] very slow sequential writes on lvm raid1 (bitmap?)
Date: Tue, 08 Nov 2016 16:15:38 +0100 [thread overview]
Message-ID: <5821EC1A.306@strike.wu.ac.at> (raw)
In-Reply-To: <3c20480f-45e2-5864-cebc-ddc43b563944@redhat.com>
On 11/08/2016 10:26 AM, Zdenek Kabelac wrote:
> Dne 7.11.2016 v 16:58 Alexander 'Leo' Bergolth napsal(a):
>> On 11/07/2016 11:22 AM, Zdenek Kabelac wrote:
>> Is there a way to change the regionsize for an existing LV?
>
> I'm afraid there is not yet support for runtime 'regionsize' change
> other then rebuilding array.
Unfortunately even rebuilding (converting to linear and back to raid1)
doesn't work.
lvconvert seems to ignore the --regionsize option and use defaults:
lvconvert -m 0 /dev/vg_sys/lv_test
lvconvert --type raid1 -m 1 --regionsize 128M /dev/vg_sys/lv_test
[10881847.012504] mdX: bitmap initialized from disk: read 1 pages, set
4096 of 4096 bits
... which translates to a regionsize of 512k for a 2G volume.
:-(
Cheers,
--leo
--
e-mail ::: Leo.Bergolth (at) wu.ac.at
fax ::: +43-1-31336-906050
location ::: IT-Services | Vienna University of Economics | Austria
next prev parent reply other threads:[~2016-11-08 15:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 9:30 [linux-lvm] very slow sequential writes on lvm raid1 (bitmap?) Alexander 'Leo' Bergolth
2016-11-07 10:22 ` Zdenek Kabelac
2016-11-07 15:58 ` Alexander 'Leo' Bergolth
2016-11-08 9:26 ` Zdenek Kabelac
2016-11-08 15:15 ` Alexander 'Leo' Bergolth [this message]
2016-11-11 14:30 ` Brassow Jonathan
2016-11-11 23:23 ` Brassow Jonathan
2016-11-18 10:12 ` Zdenek Kabelac
2016-11-18 11:08 ` Alexander 'Leo' Bergolth
2016-11-26 23:21 ` Alexander 'Leo' Bergolth
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=5821EC1A.306@strike.wu.ac.at \
--to=leo@strike.wu.ac.at \
--cc=linux-lvm@redhat.com \
/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).