Skip to content

snapshot-resync-target-lvm.sh cannot create a thin snapshot #32

Description

@ajschorr

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions