All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul B. Henson <henson@acm.org>
To: lvm-devel@redhat.com
Subject: cache support
Date: Mon, 17 Mar 2014 18:07:50 -0700	[thread overview]
Message-ID: <0f9a01cf4246$7db93f30$792bbd90$@acm.org> (raw)
In-Reply-To: <7A62EBEE-E031-469E-902B-FA507CADD9DA@redhat.com>

> From: Brassow Jonathan
> Sent: Monday, March 17, 2014 8:56 AM
>
> Yes, that is basically the idea.  However, converting the thinpool is a
little
> more tricky.  You already are using the fast device for the thinpool
metadata
> device (which seems awfully large from your example).  When you cache the
> thinpool, I think you just want to cache the data section.
> # lvconvert --type cache --cachepool vg/cachepool vg/thinpool_tdata

Ah right; in your original example you had connected the cache to the
thinpool data lv before creating the actual thinpool, when I tried to
convert that to adding the cache after the fact I didn't take that into
consideration.

In your original example, it said to size the metadata device to
approximately 1/1000 of the data lv size, so for a 4 TB data lv that would
actually be almost 4 GB? The estimation utility says about 2.4 GB:

# thin_metadata_size -b 64k -s 4t -m 100000 -u g
thin_metadata_size - 2.41 gigabytes estimated metadata area size

Evidently online metadata pool resize is supported now, so I guess I don't
have to extremely overestimate from the start, as long as I keep an eye on
it I can always top it off before it runs out.

Thanks.



  reply	other threads:[~2014-03-18  1:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05  1:51 cache support Paul B. Henson
2014-02-05  7:35 ` Oliver Rath
2014-02-05 20:12   ` Paul B. Henson
2014-02-05  9:35 ` Zdenek Kabelac
2014-02-05 20:20   ` Paul B. Henson
2014-02-05 21:29     ` Zdenek Kabelac
2014-02-06  1:36       ` Paul B. Henson
2014-02-11 17:24         ` Brassow Jonathan
2014-02-11 21:04           ` Paul B. Henson
2014-02-12 17:39             ` Brassow Jonathan
2014-02-17 22:12               ` Paul B. Henson
2014-03-11 23:54               ` Paul B. Henson
2014-03-17 15:56                 ` Brassow Jonathan
2014-03-18  1:07                   ` Paul B. Henson [this message]
2014-03-29  1:38                   ` Paul B. Henson
2014-03-29  1:43                     ` Paul B. Henson
2014-04-02 20:34                       ` Brassow Jonathan
2014-04-03  2:54                         ` Paul B. Henson

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='0f9a01cf4246$7db93f30$792bbd90$@acm.org' \
    --to=henson@acm.org \
    --cc=lvm-devel@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 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.