https://rancher.com/ logo
Title
q

quick-lawyer-7096

04/25/2023, 7:18 AM
Hi - This page https://longhorn.io/docs/1.4.1/monitoring/alert-rules-example/ provides a sample alert LonghornVolumeActualSpaceUsedWarning that reports when volumes are using more than 90% of there configured size - however this rule does not make sense to me as my volumes regularly use more than the configured space due to the snapshots. - this is well documented here https://longhorn.io/docs/1.4.1/volumes-and-nodes/volume-size/#volume-actual-size - have I missed something or is that sample alert wrong and miss-leading?
n

narrow-egg-98197

04/25/2023, 1:56 PM
Since snapshots are included in the actual size calculation, snapshots are created if the volume is expanded, rebuilt, or restored from backup.
Therefore, if you have heavy write tasks and multiple snapshots of the volume, the default value of
LonghornVolumeActualSpaceUsedWarning
may not be suitable for you and needs to be adjusted.
­čĹŹ 1