2021-02-07 10:53:08 +01:00
|
|
|
---
|
2022-06-26 13:32:42 +02:00
|
|
|
# mgrote.zfs_manage_datasets
|
|
|
|
## rpool
|
|
|
|
#### sudo zpool create -f -o ashift=12 -o feature@encryption=enabled -O encryption=on -O keylocation=prompt -O keyformat=passphrase rpool mirror /dev/disk/by-id/ata-SAMSUNG_MZ7LH960HAJR-00005_S45NNC0R105094 /dev/disk/by-id/ata-SAMSUNG_MZ7LH960HAJR-00005_S45NNC0T380959 mirror /dev/disk/by-id/ata-SAMSUNG_MZ7LH960HAJR-00005_S45NNC0R105095 /dev/disk/by-id/ata-SAMSUNG_MZ7LH960HAJR-00005_S45NNC0T380961
|
|
|
|
## HDD_DATA_RAIDZ
|
|
|
|
### sudo zpool create -o ashift=12 -o feature@encryption=enabled -O encryption=on -O keylocation=prompt -O keyformat=passphrase hdd_data_raidz mirror /dev/disk/by-id/ata-TOSHIBA_MG09ACA18TE_Z1B0A27KFJDH /dev/disk/by-id/ata-TOSHIBA_MG09ACA18TE_Z1B0A28LFJDH
|
2021-10-09 20:23:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
### mgrote.zfs_extra
|
|
|
|
# Variablen für mgrote.zfs_health/trim/scrub/zed/arc_mem/ sind zusammengefasst unter zfs_extra_*
|
2021-02-18 07:54:24 +01:00
|
|
|
zfs_datasets: # DatenPools werden hier nicht verwaltet
|
2022-06-17 11:30:48 +02:00
|
|
|
# rpool
|
|
|
|
- dataset: rpool
|
2021-02-18 08:36:43 +01:00
|
|
|
state: present
|
2021-10-11 07:49:40 +02:00
|
|
|
compression: zstd
|
2021-02-18 08:36:43 +01:00
|
|
|
sync: disabled
|
|
|
|
xattr: sa
|
|
|
|
dnodesize: auto
|
|
|
|
atime: on
|
|
|
|
snapdir: hidden
|
2022-06-20 09:09:18 +02:00
|
|
|
reservation: 1G
|
2022-06-17 11:30:48 +02:00
|
|
|
- dataset: rpool/vm
|
|
|
|
state: present
|
2021-10-10 16:59:30 +02:00
|
|
|
- dataset: rpool/vm/dir/fileserver2_test
|
2022-10-07 22:23:17 +02:00
|
|
|
state: absent # löschen
|
2021-02-12 22:26:26 +01:00
|
|
|
- dataset: rpool/vm/dir
|
2021-02-07 12:46:03 +01:00
|
|
|
state: present
|
2021-02-12 22:26:26 +01:00
|
|
|
- dataset: rpool/vm/zvol
|
|
|
|
state: present
|
2022-06-17 11:30:48 +02:00
|
|
|
|
2021-07-14 19:48:50 +02:00
|
|
|
zfs_extra_arc_max_size: "8589934592" # 8GB in Bytes
|
2021-02-13 16:18:29 +01:00
|
|
|
zfs_extra_zfs_pools:
|
2021-02-18 08:36:43 +01:00
|
|
|
- name: "rpool"
|
2022-03-19 13:28:41 +01:00
|
|
|
systemd_timer_schedule: "*-01,04,07,10-01 23:00" # jeden ersten eines jeden Quartals
|