* [linux-lvm] dm-cache and snapshots
@ 2015-11-03 5:02 Syahrul Sazli Shaharir
2015-11-10 6:58 ` Zdenek Kabelac
0 siblings, 1 reply; 2+ messages in thread
From: Syahrul Sazli Shaharir @ 2015-11-03 5:02 UTC (permalink / raw)
To: linux-lvm
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.
Thanks.
--
--sazli
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] dm-cache and snapshots
2015-11-03 5:02 [linux-lvm] dm-cache and snapshots Syahrul Sazli Shaharir
@ 2015-11-10 6:58 ` Zdenek Kabelac
0 siblings, 0 replies; 2+ messages in thread
From: Zdenek Kabelac @ 2015-11-10 6:58 UTC (permalink / raw)
To: LVM general discussion and development
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-10 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03 5:02 [linux-lvm] dm-cache and snapshots Syahrul Sazli Shaharir
2015-11-10 6:58 ` Zdenek Kabelac
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).