mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
snapshot: no snapshot of any cache type LVs
Unsupported as of now.
This commit is contained in:
parent
3261e539a0
commit
a82dcadf66
@ -1,5 +1,6 @@
|
||||
Version 2.02.112 -
|
||||
=====================================
|
||||
Properly report error when taking snapshot of any cache type LV.
|
||||
Add basic thread debugging messages to dmeventd.
|
||||
Include threads being shutdown in dmeventd device registration responses.
|
||||
Inital support for external users of thin pools based on transaction_id.
|
||||
|
@ -6804,6 +6804,12 @@ static struct logical_volume *_lv_create_an_lv(struct volume_group *vg,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (lv_is_cache_type(origin_lv)) {
|
||||
log_error("Snapshots of cache type volume %s "
|
||||
"is not supported.", display_lvname(origin_lv));
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (lv_is_thin_type(origin_lv) && !lv_is_thin_volume(origin_lv)) {
|
||||
log_error("Snapshots of thin pool %sdevices "
|
||||
"are not supported.",
|
||||
|
Loading…
Reference in New Issue
Block a user