zfs-snap-diff icon indicating copy to clipboard operation
zfs-snap-diff copied to clipboard

Please offer a Prebuild for Mac OS X

Open LexxGit opened this issue 6 years ago • 8 comments

I´d love to test your work with openzfsonosx.

LexxGit avatar Dec 22 '17 10:12 LexxGit

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

j-keck avatar Dec 22 '17 19:12 j-keck

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

LexxGit avatar Dec 27 '17 10:12 LexxGit

Thank you for your fast response! It kinda works on mac.

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)

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" ?

It seems that mounting and unmounting snapshots under openszfonosx is a bit unstable. See here: https://openzfsonosx.org/forum/viewtopic.php?f=26&t=3015#p8025

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.

$ ls -l /tank/bob/.zfs/snapshot/yesterday/

2017-12-22 20:00 GMT+01:00 Jürgen Keck [email protected]:

@LexxGit https://github.com/lexxgit i have uploaded https://github.com/j-keck/zfs-snap-diff/releases/tag/0.0.9 a version for Mac OS X (zfs-snap-diff-0.0.9-darwin-amd64.zip).

can you please notify me if it works?

thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/j-keck/zfs-snap-diff/issues/8#issuecomment-353656941, or mute the thread https://github.com/notifications/unsubscribe-auth/AGROcseKvUf1gdFDcaPLylgBM3GkyFLwks5tC_w6gaJpZM4RK6BM .

--

Herzliche Grüße

Kind regards / Salutations /

Tanti Saluti / Saludos / Met vriendelijke groeten

KroCo

Krolop Consulting

Alexander Krolop

Diplom-Wirtschaftsingenieur (FH)

Graf Stauffenberg Strasse 16

76189 Karlsruhe

Email: [email protected]

Mobil: 0178-4935772

Tel. 0721-3504652

Fax. 0721-35256813

Alexander Krolop mailto:[email protected] [email protected]

ACHTUNG - Diese Nachricht und/oder ihr Anhang kann vertrauliche Informationen oder Informationen, die dem Urheberschutz unterliegen, enthalten. Sie ist nur für den beabsichtigten Adressaten bestimmt. Falls Sie nicht der beabsichtigte Adressat sind und diese Nachricht irrtümlich erhalten haben, machen wir Sie darauf aufmerksam, dass der Gebrauch, die Weitergabe und Speicherung dieser Informationen durch Unbefugte verboten ist. Falls Sie diese Mail irrtümlich erhalten haben, verständigen Sie bitte den Absender, wir werden uns bemühen, diesen Fehler in Zukunft zu vermeiden

----- PGP ON REQUEST -----

LexxGit avatar Oct 28 '19 08:10 LexxGit

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 avatar Oct 28 '19 11:10 j-keck

sure!

Am Mo., 28. Okt. 2019 um 12:40 Uhr schrieb Jürgen Keck < [email protected]>:

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?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/j-keck/zfs-snap-diff/issues/8?email_source=notifications&email_token=ABSE44UJ3L7QMGST7ZKNM2TQQ3FRRA5CNFSM4EJLUBGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECMSSMI#issuecomment-546908465, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSE44QDIP6YKE7LQGNQT2TQQ3FRRANCNFSM4EJLUBGA .

--

Herzliche Grüße

Kind regards / Salutations /

Tanti Saluti / Saludos / Met vriendelijke groeten

KroCo

Krolop Consulting

Alexander Krolop

Diplom-Wirtschaftsingenieur (FH)

Graf Stauffenberg Strasse 16

76189 Karlsruhe

Email: [email protected]

Mobil: 0178-4935772

Tel. 0721-3504652

Fax. 0721-35256813

Alexander Krolop mailto:[email protected] [email protected]

ACHTUNG - Diese Nachricht und/oder ihr Anhang kann vertrauliche Informationen oder Informationen, die dem Urheberschutz unterliegen, enthalten. Sie ist nur für den beabsichtigten Adressaten bestimmt. Falls Sie nicht der beabsichtigte Adressat sind und diese Nachricht irrtümlich erhalten haben, machen wir Sie darauf aufmerksam, dass der Gebrauch, die Weitergabe und Speicherung dieser Informationen durch Unbefugte verboten ist. Falls Sie diese Mail irrtümlich erhalten haben, verständigen Sie bitte den Absender, wir werden uns bemühen, diesen Fehler in Zukunft zu vermeiden

----- PGP ON REQUEST -----

LexxGit avatar Nov 26 '19 14:11 LexxGit

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: https://github.com/j-keck/zfs-snap-diff/commit/176eebe24063e1e978f265781f6a3b7e9661b475#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 avatar Feb 09 '20 16:02 j-keck

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

j-keck avatar Apr 13 '20 11:04 j-keck

Your Project is on Youtube: https://www.youtube.com/watch?v=lgmXHRnrnGM from minute 45.

Regards Alex

Am Mo., 13. Apr. 2020 um 13:39 Uhr schrieb Jürgen Keck < @.***>:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/j-keck/zfs-snap-diff/issues/8#issuecomment-612865147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSE44VNQUJ6SMHQJEXJGUDRML2YHANCNFSM4EJLUBGA .

--

Herzliche Grüße

Kind regards / Salutations /

Tanti Saluti / Saludos / Met vriendelijke groeten

KroCo

Krolop Consulting

Alexander Krolop

Diplom-Wirtschaftsingenieur (FH)

Graf Stauffenberg Strasse 16

76189 Karlsruhe

Email: @.***

Mobil: 0178-4935772

Tel. 0721-3504652

Fax. 0721-35256813

Alexander Krolop @.*** @.***>

ACHTUNG - Diese Nachricht und/oder ihr Anhang kann vertrauliche Informationen oder Informationen, die dem Urheberschutz unterliegen, enthalten. Sie ist nur für den beabsichtigten Adressaten bestimmt. Falls Sie nicht der beabsichtigte Adressat sind und diese Nachricht irrtümlich erhalten haben, machen wir Sie darauf aufmerksam, dass der Gebrauch, die Weitergabe und Speicherung dieser Informationen durch Unbefugte verboten ist. Falls Sie diese Mail irrtümlich erhalten haben, verständigen Sie bitte den Absender, wir werden uns bemühen, diesen Fehler in Zukunft zu vermeiden

----- PGP ON REQUEST -----

LexxGit avatar Nov 16 '21 23:11 LexxGit