linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Raymond Jennings <shentino@gmail.com>
Subject: Re: [linux-lvm] Mirroring to a thin volume
Date: Mon, 15 Jul 2013 10:33:06 +0200	[thread overview]
Message-ID: <51E3B3C2.7030002@gmail.com> (raw)
In-Reply-To: <CAGDaZ_r8xmDOMTr17CVUh3WJMwkgUYcrYWYfMfBPTiDQvt7LEQ@mail.gmail.com>

Dne 15.7.2013 07:46, Raymond Jennings napsal(a):
> Is there a way to hot-convert a live volume to thin provisioning?
>
> I was thinking of doing this:
>
> 1.  Create a thin volume
> 2.  Have it mirror the linear volume
> 3.  Break the linear mirror
> 4.  Run an fs discard on the thin volume

There is planned feature 'merge' of any LV into thin pool - so you would
be able to turn your LV into thin volume (but likely there will not a be a way 
to split such thin-LV back to non-thin LV anytime soon).

In the upstream git there is already support for 'external origin'
where you could use some LV as a source for 'unprovisioned' blocks
which is something like snapshot of LV where modified blocks
are put into thin pool -  but this feature has some limitation -
i.e. for now you cannot 'merge' modified blocks back to external origin.

I guess mirror construction currently only supports PVs - so
you would need to use 'stacked' VG - there is planned better support for 
stacking of volumes in a VG - but it's not so easy as it might look.

Zdenek

      reply	other threads:[~2013-07-15  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15  5:46 [linux-lvm] Mirroring to a thin volume Raymond Jennings
2013-07-15  8:33 ` Zdenek Kabelac [this message]

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=51E3B3C2.7030002@gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --cc=linux-lvm@redhat.com \
    --cc=shentino@gmail.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).