vault backup: 2024-12-21 10:35:13

This commit is contained in:
Jerry Jacobs 2024-12-21 10:35:13 +01:00
parent 24ce4c8d65
commit b84cf1f4ff
2 changed files with 17 additions and 4 deletions

View File

@ -13,12 +13,12 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "2025/xg-infra-upgrade-2025.md", "file": "2021/zfs-snapshots.md",
"mode": "source", "mode": "source",
"source": false "source": false
}, },
"icon": "lucide-file", "icon": "lucide-file",
"title": "xg-infra-upgrade-2025" "title": "zfs-snapshots"
} }
} }
] ]
@ -52,7 +52,7 @@
"state": { "state": {
"type": "search", "type": "search",
"state": { "state": {
"query": "tag: #freebsd infra", "query": "snap",
"matchingCase": false, "matchingCase": false,
"explainSearch": false, "explainSearch": false,
"collapseAll": false, "collapseAll": false,
@ -165,8 +165,8 @@
}, },
"active": "316987f51496a482", "active": "316987f51496a482",
"lastOpenFiles": [ "lastOpenFiles": [
"2024/Gitea build on FreeBSD 14.2.md",
"2025/xg-infra-upgrade-2025.md", "2025/xg-infra-upgrade-2025.md",
"2024/Gitea build on FreeBSD 14.2.md",
"2021/zfs-snapshots.md", "2021/zfs-snapshots.md",
"2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md", "2024/So you wanna do FreeBSD 14.1 and native Home Assistant?.md",
"2024/freebsd-notes.md", "2024/freebsd-notes.md",

View File

@ -102,6 +102,18 @@ data/test-dataset/dataset-1 128M 410G 128M /data/test-dataset/dataset-1
https://klarasystems.com/articles/openzfs-storage-best-practices-and-use-cases-part-3-databases-and-vms/ https://klarasystems.com/articles/openzfs-storage-best-practices-and-use-cases-part-3-databases-and-vms/
https://github.com/openzfs/zfs/issues/7631 https://github.com/openzfs/zfs/issues/7631
## Syncthing per-share zfs subvolume
For important shares data we set copies=2 and checksum=sha256
```
# zfs create zpool/syncthing/shares/myshare
# zfs set copies=2 zpool/syncthing/shares/myshare
# zfs set checksum=sha256 zpool/syncthing/shares/myshare
```
Which shares?:
* jerry/pyrotechnics
* jerry/private
## ZFS snapshot visibility ## ZFS snapshot visibility
Hide the `.zfs/snapshot` directory in the dataset so Syncthing doesn't sync it by accident when not ignored via `.stignore`: Hide the `.zfs/snapshot` directory in the dataset so Syncthing doesn't sync it by accident when not ignored via `.stignore`:
@ -123,6 +135,7 @@ See https://docs.oracle.com/cd/E78901_01/html/E78912/gprhq.html
* [[freebsd-notes]] * [[freebsd-notes]]
* [[freebsd-jail-vanilla]] * [[freebsd-jail-vanilla]]
* [[zfs-snapshots]]
* [[So you wanna do FreeBSD 14.1 and native Home Assistant?]] * [[So you wanna do FreeBSD 14.1 and native Home Assistant?]]
* [[computers-and-machines]] * [[computers-and-machines]]