I'm trying to create an snapshot from a thin provisioned lvm using the below command, but i get errors, is there anyone that can help me?
root@ghv214:/dev/ghv214-vg# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
Thin_LVM ghv214-vg twi-a-tz-- 10.00g 0.00 10.35
kvm_pool ghv214-vg -wi-ao---- 2.69t
root ghv214-vg -wi-ao---- 59.60g
swap ghv214-vg -wi-ao---- 29.80g
var ghv214-vg -wi-ao---- 29.80g
Command to create snapshot:
root@ghv214:/dev/ghv214-vg# lvcreate -s -n snap_test ghv214-vg/Thin_LVM
Please specify either size or extents with snapshots.
but I can create snapshot from non-thin provisioned lvms.