Please offer a Prebuild for Mac OS X
LexxGit opened this issue · 8 comments
I´d love to test your work with openzfsonosx.
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
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?
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!
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