wip
This commit is contained in:
parent
1b3fe1d8d0
commit
52f9079d54
3 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ if node.has_bundle('zfs'):
|
|||
'mountpoint': '/var/lib/postgresql',
|
||||
'recordsize': '8192',
|
||||
'atime': 'off',
|
||||
'logbias': 'throughput',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -60,6 +60,7 @@ def dataset_defaults(metadata):
|
|||
'datasets': {
|
||||
name: {
|
||||
'compression': 'lz4',
|
||||
'relatime': 'on',
|
||||
} for name, config in metadata.get('zfs/datasets').items()
|
||||
},
|
||||
},
|
||||
|
|
|
@ -70,12 +70,14 @@ class ZFSDataset(Item):
|
|||
BUNDLE_ATTRIBUTE_NAME = "zfs_datasets"
|
||||
ITEM_ATTRIBUTES = {
|
||||
'atime': None,
|
||||
'relatime': None,
|
||||
'acltype': None,
|
||||
'compression': None,
|
||||
'mountpoint': None,
|
||||
'quota': None,
|
||||
'recordsize': None,
|
||||
'dedup': None,
|
||||
'logbias': None,
|
||||
}
|
||||
ITEM_TYPE_NAME = "zfs_dataset"
|
||||
|
||||
|
|
Loading…
Reference in a new issue