Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajschorr opened this issue Oct 6, 2023 · 0 comments
Open

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

ajschorr opened this issue Oct 6, 2023 · 0 comments

Comments

@ajschorr
Copy link

ajschorr commented Oct 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant