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>
Subject: Re: [linux-lvm] dm-cache and snapshots
Date: Tue, 10 Nov 2015 07:58:53 +0100	[thread overview]
Message-ID: <564195AD.2030408@gmail.com> (raw)
In-Reply-To: <CAOJ8eeBoEGFSpzP2AB8TF28OYDzNAnx3kkSN7NvFwkEJiiu=_w@mail.gmail.com>

Dne 3.11.2015 v 06:02 Syahrul Sazli Shaharir napsal(a):
> Hi,
>
> In dm-cache, how do you do snapshots on a cached LV?
>
> # lvs
>    LV         VG          Attr       LSize   Pool          Origin
>        Data%  Meta%  Move Log Cpy%Sync Convert
>    LogVol00   vg_server17 -wi-ao---- 117.19g
>    LogVol01   vg_server17 -wi-ao----  78.12g
>    kvm163_img vg_server17 Cwi-aoC---   1.05t [DataLVcache]
> [kvm163_img_corig] 10.14  12.29           0.00
>
> # lvcreate -s -n /dev/vg_server17/kvm163_img_snap -L 10G
> /dev/vg_server17/kvm163_img
>
>    Snapshots of cache type volume vg_server17/kvm163_img is not supported.

Hi

Support for snapshot of cached LV is not yet written - so you need to uncache 
LV for now.

Regards

Zdenek

      reply	other threads:[~2015-11-10  6:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03  5:02 [linux-lvm] dm-cache and snapshots Syahrul Sazli Shaharir
2015-11-10  6:58 ` 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=564195AD.2030408@gmail.com \
    --to=zdenek.kabelac@gmail.com \
    --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).