linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Could we manually suspend the origin before taking dm-thin snapshots?
@ 2015-12-31  8:40 M.H. Tsai
  2015-12-31 21:12 ` Zdenek Kabelac
  0 siblings, 1 reply; 2+ messages in thread
From: M.H. Tsai @ 2015-12-31  8:40 UTC (permalink / raw)
  To: LVM general discussion and development

Hi All,

I found an issue when taking dm-thin snapshots: LVM doesn't send
create_snap messages if the origin was already suspended, and LVM
doesn't report any error.

lvcreate vg1 --type thin --thinpool tp1 --virtualsize 1g
dmsetup suspend vg1-lv1
lvcreate vg1/lv1 --snapshot -an

This is due to commit a900d150 moves messaging from resume to suspend,
then LVM skips the suspend phase in this case. I'm not sure whether it
is a legal operation for LVM, but if LVM supports this feature, then
users can control the suspend timing.


Thanks,
Ming-Hung Tsai

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-31 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-31  8:40 [linux-lvm] Could we manually suspend the origin before taking dm-thin snapshots? M.H. Tsai
2015-12-31 21:12 ` 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).