Newly created snapshots will occupy some data and metadata space in LVM. So the more snapshots you have, the more space will be utilized.
Yes, I understand that. The question is how to get snapshots error out instead of breaking LVM completely. Is there any way to tell snapshots to fail if after creating that snapshot pool won't have certain amount of free space? As of now, No. There isn't any option to schedule a removal of the > snapshot. As for auto-confirmation of any command in gluster, > '--mode=script' at the end of the command should work. > Although, there is a snapshot config option "*auto-delete*" which, when > enabled, will *delete* the oldest snapshot *after crossing the > snap-max-soft-limit* (which is a set percentage of the > snap-max-hard-limit). > Auto-delete is not suited for proper snapshot handling (i.e. certain number of hourly/daily/monthly snapshots kept) but --mode=script would do. Thank you! Fil
_______________________________________________ Gluster-users mailing list Gluster-users@gluster.org https://lists.gluster.org/mailman/listinfo/gluster-users