Because of the -L option, the resulting snapshot will be a "thick" snapshot, even if the volume in question
is a thin volume. Is there some reason that it is done this way with no option for creating a thin
snapshot by omitting this argument?
Perhaps I'm missing something important, but it seems to me that there should be an option
to this script to omit the -L argument so that a thin snapshot could be used instead.
In snapshot-resync-target-lvm.sh, the snapshot is created like so:
lvcreate -s -n $SNAP_NAME -L ${SNAP_SIZE}k $LVC_OPTIONS $VG_NAME/$LV_NAME
Because of the
-L
option, the resulting snapshot will be a "thick" snapshot, even if the volume in question is a thin volume. Is there some reason that it is done this way with no option for creating a thin snapshot by omitting this argument?Perhaps I'm missing something important, but it seems to me that there should be an option to this script to omit the
-L
argument so that a thin snapshot could be used instead.Regards, Andy