diff --git a/bundles/zfs/metadata.py b/bundles/zfs/metadata.py index 40010d8..690461a 100644 --- a/bundles/zfs/metadata.py +++ b/bundles/zfs/metadata.py @@ -8,6 +8,12 @@ defaults = { 'pkg_apt:zfs-dkms', }, }, + 'parted':{ + 'needed_by': { + 'pkg_apt:zfs-zed', + 'pkg_apt:zfsutils-linux', + }, + }, 'zfs-dkms': { 'needed_by': { 'pkg_apt:zfs-zed', diff --git a/nodes/home.backups.py b/nodes/home.backups.py index 4b5444a..b3b2e68 100644 --- a/nodes/home.backups.py +++ b/nodes/home.backups.py @@ -1,8 +1,27 @@ { + 'hostname': '10.0.0.5', 'groups': [ 'debian-10', ], + 'bundles': [ + 'zfs', + ], 'metadata': { 'id': '9cf52515-63a1-4659-a8ec-6c3c881727e5', + 'network': { + 'interface': 'enp1s0', + 'ipv4': '10.0.0.5/24', + }, + 'zfs': { + 'pools': { + 'tank': { + 'raidz': [ + '/dev/disk/by-id/ata-HGST_HDN726040ALE614_K3GV6TPL', + '/dev/disk/by-id/ata-HGST_HDN726040ALE614_K4KAJXEB', + '/dev/disk/by-id/ata-TOSHIBA_HDWQ140_19VZK0EMFAYG', + ], + }, + }, + }, }, }