Git Product home page Git Product logo

Comments (8)

j-keck avatar j-keck commented on June 15, 2024

@LexxGit i have uploaded a version for Mac OS X (zfs-snap-diff-0.0.9-darwin-amd64.zip).

can you please notify me if it works?

thanks.

from zfs-snap-diff.

LexxGit avatar LexxGit commented on June 15, 2024

Thank you for your fast response!

Your Web-Frontend works, but due to openzfsonosx inability to auto-mount .ZFS Snapshots
i have to do this manually for all needed snapshots.
(I had to use sudo and the '-use-sudo' flag)

Here are some FAQs about this issue ragarding openzfsonosx:
Q) How can I access the .zfs snapshot directories?
A) You need to set snapdir visible and manually mount a snapshot.

$ sudo zfs set snapdir=visible tank/bob
$ sudo zfs mount tank/bob@yesterday
$ ls -l /tank/bob/.zfs/snapshot/yesterday/
You can see existing snapshots via:

$ zfs list -t snapshot
Q) Is .zfs snapdir auto-mounting supported?
A) No, not at this time. You must manually "zfs mount" snapshots manually to see them in the snapdir.

Q) OK, I manually mounted my snapshot but still cannot see it in Finder. What gives?
A) Currently mounted snapshots are only visible from Terminal, not from Finder.
e.g. $ ls -l /tank/bob/.zfs/snapshot/yesterday/

Im still checking the DIFF and search functionality.
Would it be possible to let zfs-snap-diff mount all available snapshots..
found by " zfs list -t snapshot" ?
While it seems that mounting and un-mounting snapshots under openszfonosx is a bit unstable yet.
See here: https://openzfsonosx.org/forum/viewtopic.php?f=26&t=3015#p8025

kind regards
Alex

from zfs-snap-diff.

LexxGit avatar LexxGit commented on June 15, 2024

from zfs-snap-diff.

j-keck avatar j-keck commented on June 15, 2024

I rewrite the whole codebase currently in the dev branch.
Can i trigger you if i have a running version with a fix for this issue to test this on mac?

from zfs-snap-diff.

LexxGit avatar LexxGit commented on June 15, 2024

from zfs-snap-diff.

j-keck avatar j-keck commented on June 15, 2024

Sorry for the long delay! But it's only a private side project from me.

Now I have a version to test on mac. I can't test it myself because i have no mac os.
If i try zfs mount pool/ds@snap under linux / freebsd it fails with:

cannot open 'pool/ds@snap': snapshot delimiter '@' is not expected here

The current behaviour is to mount the snapshot on demand:
176eebe#diff-a59dc2a2bbfd6e126efa72257a8028d8R71

The code for the new version lives under: https://github.com/j-keck/zfs-snap-diff/tree/dev.

You can download a binary from: https://j-keck.github.io/zfs-snap-diff/

or you can built it yourself:

  • clone this repo: git clone -b dev https://github.com/j-keck/zfs-snap-diff
  • change to the checkout directory: cd zfs-snap-diff
  • build it: go build ./cmd/zfs-snap-diff

or use the prebuild i attached here:
zfs-snap-diff-v1.0.0-alpha.zip

Thanks for your time!

from zfs-snap-diff.

j-keck avatar j-keck commented on June 15, 2024

If someone is using this on Mac OS X and can give me some feedback this would help me.

You can respond here, send me a mail (see my profile) or
over any other channel (see https://keybase.io/jkeck)

Thanks, Jürgen

from zfs-snap-diff.

LexxGit avatar LexxGit commented on June 15, 2024

from zfs-snap-diff.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.