zfs: no autotrim, manually trim hourly, scrub every two months

This commit is contained in:
mwiegand 2021-11-12 18:09:11 +01:00
parent 5d22aaa1eb
commit f4b3841793
2 changed files with 3 additions and 3 deletions

View file

@ -55,5 +55,5 @@ for name, config in node.metadata.get('zfs/pools', {}).items():
},
],
},
"autotrim": True,
"autotrim": False,
}

View file

@ -37,12 +37,12 @@ defaults = {
'systemd-timers': {
'zfs-trim': {
'command': '/usr/lib/zfs-linux/trim',
'when': '*-*-01 00:00:00',
'when': 'hourly',
'persistent': True,
},
'zfs-scrub': {
'command': '/usr/lib/zfs-linux/scrub',
'when': '*-*-15 00:00:00',
'when': '*-2,4,6,8,10,12-1 02:00:00',
'persistent': True,
},
'zfs-auto-snapshot-hourly': {