Skip to content
Commit 3ccdc51a authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Adds zfs proc.

parent 46663f88
Loading
Loading
Loading
Loading
  • Owner

    In https://openzfs.github.io/openzfs-docs/man/7/zfsconcepts.7.html#Snapshots it reads:

    File system snapshots can be accessed under the .zfs/snapshot directory in the root of the file system. Snapshots are automatically mounted on demand and may be unmounted at regular intervals. The visibility of the .zfs directory can be controlled by the snapdir property.

    Would the .zfs/snapshot/zfs-auto-snap_monthly-2021-07-01-xxx mountpoint in the root of the data/xxx dataset suffice to provide borg with the data? Could it be adapted to not use the canonical /mnt/borg-snapshot path?

    ln -s /data/xxx/.zfs/snapshot/zfs-auto-snap_monthly-2021-07-01-xxx /mnt/borg-snapshot could help to avoid using a legacy ZFS mountpoint here.

  • Hugo Renard @hugo.renard ·
    Owner

    Well, I think we just didn't know about the .zfs folder 😄. I'm not familiar with the borg setup, I guess we could do either.

  • Owner

    So called legacy, manual mounts are generally discouraged with newer versions of ZFS.

    Please also do take no offense about .zfs either, it's one of the weirdest and most uncommon, yet most useful patterns in POSIX-compatible file systems.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment