diff --git a/nodes/htz-cloud/sewfile.py b/nodes/htz-cloud/sewfile.py index b1e660f..699f375 100644 --- a/nodes/htz-cloud/sewfile.py +++ b/nodes/htz-cloud/sewfile.py @@ -4,6 +4,7 @@ nodes['htz-cloud.sewfile'] = { 'bundles': { 'seafile', + 'zfs', }, 'groups': { 'debian-buster', @@ -51,6 +52,21 @@ nodes['htz-cloud.sewfile'] = { 'vm': { 'cpu': 1, 'ram': 2, - } + }, + 'zfs': { + 'pools': { + 'tank': { + 'device': '/dev/sdb', + }, + }, + 'datasets': { + 'tank/mysql': { + 'mountpoint': '/var/lib/mysql', + }, + 'tank/seafile-data': { + 'mountpoint': '/mnt/seafile-data', + }, + }, + }, }, }