nodes: set some zfs caching metadata

This commit is contained in:
Franzi 2022-04-03 17:41:27 +02:00
parent 9c74aed36e
commit 1e9a4417be
Signed by: kunsi
GPG key ID: 12E3D2136B818350
3 changed files with 11 additions and 0 deletions

View file

@ -147,6 +147,13 @@ nodes['fkusei-locutus'] = {
# this is not a complete list, but we can't create that # this is not a complete list, but we can't create that
# structure using bundlewrap anyway, so there's no point # structure using bundlewrap anyway, so there's no point
# in adding it here. # in adding it here.
'zroot': {
'compression': 'lz4',
'relatime': 'on',
'xattr': 'sa',
'primarycache': 'metadata'
# encryption is enabled, too.
},
'zroot/system/journal': { 'zroot/system/journal': {
'mountpoint': '/var/log/journal', 'mountpoint': '/var/log/journal',
'acltype': 'posix', 'acltype': 'posix',

View file

@ -273,6 +273,9 @@ nodes['home.nas'] = {
}, },
}, },
'datasets': { 'datasets': {
'storage': {
'primarycache': 'metadata',
},
'storage/backups': {}, 'storage/backups': {},
'storage/opt-yate': { 'storage/opt-yate': {
'mountpoint': '/opt/yate', 'mountpoint': '/opt/yate',

View file

@ -167,6 +167,7 @@ nodes['kunsi-p14s'] = {
'compression': 'lz4', 'compression': 'lz4',
'relatime': 'on', 'relatime': 'on',
'xattr': 'sa', 'xattr': 'sa',
'primarycache': 'metadata'
# encryption is enabled, too. # encryption is enabled, too.
}, },
'zroot/movies': { 'zroot/movies': {