nodes/home.nas: configure for backups
This commit is contained in:
parent
741f3b0032
commit
45723a4c8a
1 changed files with 32 additions and 3 deletions
|
@ -1,9 +1,7 @@
|
||||||
# ZFS-Pool 'storage' is not configured using bw, because we're using
|
|
||||||
# RAID-Z2 with ZIL and ARC on SSDs
|
|
||||||
|
|
||||||
nodes['home.nas'] = {
|
nodes['home.nas'] = {
|
||||||
'hostname': '172.19.138.90',
|
'hostname': '172.19.138.90',
|
||||||
'bundles': {
|
'bundles': {
|
||||||
|
'backup-server',
|
||||||
'nfs-server',
|
'nfs-server',
|
||||||
'zfs',
|
'zfs',
|
||||||
},
|
},
|
||||||
|
@ -22,6 +20,13 @@ nodes['home.nas'] = {
|
||||||
'gateway4': '172.19.138.1',
|
'gateway4': '172.19.138.1',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'backups': {
|
||||||
|
# This *is* the backup server
|
||||||
|
'exclude_from_backups': True,
|
||||||
|
},
|
||||||
|
'backup-server': {
|
||||||
|
'zfs-base': 'storage/backups',
|
||||||
|
},
|
||||||
'nfs-server': {
|
'nfs-server': {
|
||||||
'shares': {
|
'shares': {
|
||||||
'/storage/nas': {
|
'/storage/nas': {
|
||||||
|
@ -46,6 +51,30 @@ nodes['home.nas'] = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'zfs': {
|
||||||
|
'pools': {
|
||||||
|
# Configured manually. Don't touch!
|
||||||
|
'storage': {
|
||||||
|
'raidz2': {
|
||||||
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8GE15GR',
|
||||||
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJ406R',
|
||||||
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJBTLR',
|
||||||
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJGN6R',
|
||||||
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8HJU4NR',
|
||||||
|
'/dev/disk/by-id/ata-WDC_WD6003FFBX-68MU3N0_V8J8ZKRR',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
'datasets': {
|
||||||
|
'storage/backups': {},
|
||||||
|
'storage/f2k1de': {
|
||||||
|
'mountpoint': '/storage/f2k1de',
|
||||||
|
},
|
||||||
|
'storage/nas': {
|
||||||
|
'mountpoint': '/storage/nas',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
'vm': {
|
'vm': {
|
||||||
'cpu': 8,
|
'cpu': 8,
|
||||||
'ram': 16,
|
'ram': 16,
|
||||||
|
|
Loading…
Reference in a new issue