<div dir="ltr"><div>Newly created snapshots will occupy some data and metadata space in LVM. So the more snapshots you have, the more space will be utilized.</div><div><br></div><div>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&#39;t have certain amount of free space?<br></div><div><br></div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>As of now, No. There isn&#39;t any option to schedule a removal of the snapshot. As for auto-confirmation of any command in gluster, &#39;--mode=script&#39; at the end of the command should work.</div><div>Although, there is a snapshot config option &quot;<b>auto-delete</b>&quot; which, when enabled, will <b>delete</b> the oldest snapshot <b>after crossing the snap-max-soft-limit</b> (which is a set percentage of the snap-max-hard-limit). </div></div></div></blockquote>Auto-delete is not suited for proper snapshot handling (i.e. certain number of hourly/daily/monthly snapshots kept) but --mode=script would do. <br></div><div class="gmail_quote">Thank you!</div><div class="gmail_quote"><br></div><div class="gmail_quote">Fil</div><div class="gmail_quote"><br></div></div>