offsite-backups disable zfs-import-cache
This commit is contained in:
parent
6b0e92447a
commit
782b30d064
3 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,13 @@ svc_systemd = {
|
|||
'pkg_apt:zfs-zed'
|
||||
},
|
||||
},
|
||||
'zfs-import-cache': {
|
||||
'enabled': node.metadata.get('zfs/import-cache'),
|
||||
'running': None,
|
||||
'needs': {
|
||||
'pkg_apt:zfs-zed'
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for name, config in node.metadata.get('zfs/datasets', {}).items():
|
||||
|
|
|
@ -76,6 +76,7 @@ defaults = {
|
|||
'weekly': 4,
|
||||
'monthly': 24,
|
||||
},
|
||||
'import-cache': True,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
},
|
||||
},
|
||||
'zfs': {
|
||||
'import-cache': False,
|
||||
'pools': {
|
||||
'tank': {
|
||||
'devices': [
|
||||
|
|
Loading…
Reference in a new issue