From 19a0716924f11bdd4ac7f1863c3205cbc2f89f51 Mon Sep 17 00:00:00 2001 From: Jerry Jacobs Date: Fri, 20 Dec 2024 14:21:09 +0100 Subject: [PATCH] vault backup: 2024-12-20 14:21:09 --- 2025/xg-infra-upgrade-2025.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/2025/xg-infra-upgrade-2025.md b/2025/xg-infra-upgrade-2025.md index 26956f5..5169a0f 100644 --- a/2025/xg-infra-upgrade-2025.md +++ b/2025/xg-infra-upgrade-2025.md @@ -99,15 +99,21 @@ data/test-dataset/dataset-1 128M 410G 128M /data/test-dataset/dataset-1 ## ZFS snapshot visibility +Hide the `.zfs/snapshot` directory in the dataset so Syncthing doesn't sync it by accident when not ignored via `.stignore`: + ``` # zfs list -t snapshot zpool/data/syncthing/shared/jerry/private # zfs get snapdir zpool/data/syncthing/shared/jerry/private # zfs set snapdir=hidden zpool/data/syncthing/shared/jerry/private ``` +To make it visible again ``` # zfs set snapdir=visible ``` + +See https://docs.oracle.com/cd/E78901_01/html/E78912/gprhq.html + # See also * [[freebsd-notes]]