Compare commits
2 commits
5d22aaa1eb
...
2ec0e5068a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
2ec0e5068a | ||
![]() |
f4b3841793 |
3 changed files with 9 additions and 3 deletions
|
@ -55,5 +55,5 @@ for name, config in node.metadata.get('zfs/pools', {}).items():
|
|||
},
|
||||
],
|
||||
},
|
||||
"autotrim": True,
|
||||
"autotrim": False,
|
||||
}
|
||||
|
|
|
@ -37,12 +37,12 @@ defaults = {
|
|||
'systemd-timers': {
|
||||
'zfs-trim': {
|
||||
'command': '/usr/lib/zfs-linux/trim',
|
||||
'when': '*-*-01 00:00:00',
|
||||
'when': '*-*-16 02:00',
|
||||
'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',
|
||||
'persistent': True,
|
||||
},
|
||||
'zfs-auto-snapshot-hourly': {
|
||||
|
|
|
@ -15,6 +15,12 @@
|
|||
'systemd-timers',
|
||||
],
|
||||
'metadata': {
|
||||
'systemd-timers': {
|
||||
'trim': {
|
||||
'command': '/usr/sbin/fstrim -v /',
|
||||
'when': 'daily',
|
||||
},
|
||||
},
|
||||
'hosts': {
|
||||
'10.0.10.2': [
|
||||
'resolver.name',
|
||||
|
|
Loading…
Reference in a new issue