Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please offer a Prebuild for Mac OS X #8

Open
LexxGit opened this issue Dec 22, 2017 · 8 comments
Open

Please offer a Prebuild for Mac OS X #8

LexxGit opened this issue Dec 22, 2017 · 8 comments

Comments

@LexxGit
Copy link

LexxGit commented Dec 22, 2017

I´d love to test your work with openzfsonosx.

@j-keck
Copy link
Owner

j-keck commented Dec 22, 2017

@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.

@LexxGit
Copy link
Author

LexxGit commented Dec 27, 2017

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

@j-keck j-keck closed this as completed Oct 27, 2019
@LexxGit
Copy link
Author

LexxGit commented Oct 28, 2019 via email

@j-keck
Copy link
Owner

j-keck commented Oct 28, 2019

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?

@j-keck j-keck reopened this Oct 28, 2019
@LexxGit
Copy link
Author

LexxGit commented Nov 26, 2019 via email

@j-keck
Copy link
Owner

j-keck commented Feb 9, 2020

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!

@j-keck
Copy link
Owner

j-keck commented Apr 13, 2020

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

@LexxGit
Copy link
Author

LexxGit commented Nov 16, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants