Disable option for "Quota exceeded" messages for datasets

Problem/Justification

The problem is macOS, its Time Machine and the quota alerts in Truenas. As you may know Time Machine adds new backups as long as there’s disk space available. When the disk space is gone Time Machine starts deleting old backups.

Impact
Now I’m having a dedicated dataset for Time Machine backups for all Macs in my household. Its quota size has been calculated that it’s enough for all Macs with around one year of backups to go back.

Now the annoying thing is that Truenas shows alerts when reaching the quota limits and you can’t really disable them completely.

User Story
Have another checkbox for “no alerts” in the space management so that a Time Machine dataset can work silently.

Time machine on MacOS allows setting a maximum limit that its backups can consume on the NAS. Why don’t you just use that and avoid hitting your quota altogether? Running up to 100% usage is very bad generally.

awalker@ixmini / % tmutil destinationinfo

Name          : TIMEMACHINE
Kind          : Network
URL           : smb://smbuser@bobnas._smb._tcp.local./TIMEMACHINE
ID            : AA3A880D-417E-42D1-B86D-B5C2D25305C5
Quota         : 151 GB
Usage: tmutil setquota destination_id quota_in_gigabytes

Example:

awalker@ixmini / % tmutil destinationinfo                                       
====================================================
Name          : TIMEMACHINE
Kind          : Network
URL           : smb://smbuser@bobnas._smb._tcp.local./TIMEMACHINE
ID            : AA3A880D-417E-42D1-B86D-B5C2D25305C5
Quota         : 151 GB

awalker@ixmini / % sudo tmutil setquota AA3A880D-417E-42D1-B86D-B5C2D25305C5 160
Password:

awalker@ixmini / % tmutil destinationinfo                                       
====================================================
Name          : TIMEMACHINE
Kind          : Network
URL           : smb://smbuser@bobnas._smb._tcp.local./TIMEMACHINE
ID            : AA3A880D-417E-42D1-B86D-B5C2D25305C5
Quota         : 160 GB

I finally found the time to try this. It seems like this is not working with a sparsebundle that had been created without a limit in the first place. The finder says that the sparsebundle’s size is currently 610 GB. Then I set a limit of 700 GB as you described. Afterwards the backups fail.

I remove the limit and backups start working again.

Do you mean regarding the dedicated dataset for Timemachine on the Truenas? Because Timemachine is designed to run into 100% usage sooner or later and then start deleting the oldest backups.