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

OpenZFS on Mac is now 2.2.2. ZetaWatch mostly works. #32

Open
jaminmc opened this issue Jan 30, 2024 · 9 comments
Open

OpenZFS on Mac is now 2.2.2. ZetaWatch mostly works. #32

jaminmc opened this issue Jan 30, 2024 · 9 comments
Assignees
Labels

Comments

@jaminmc
Copy link

jaminmc commented Jan 30, 2024

I have OpenZFS 2.2.2 installed on macOS Sonoma on a M1 Ultra Studio. Since upgrading my macOS and OpenZFS on it, ZetaWatch still works, but scrubbing is messed up. It says "Never Scrubbed". It does have the option to "Start Scrub", and it does indeed start scrubbing. But it doesn't give any updates on the scrub and still says "Never Scrubbed" for the pool.

It did, however, show when I had 1 CRC error on my pool. Hence, I scrubbed it.

https://openzfsonosx.org/wiki/Downloads

zfs-2.2.2-1
zfs-kmod-2.2.2-1
@cbreak-black
Copy link
Owner

Chances are OpenZFS changed its internal data format, and it is no longer fully compatible. I might have to recompile or possibly adapt the code slightly.

@cbreak-black cbreak-black self-assigned this Jan 30, 2024
@nixcamic
Copy link

nixcamic commented Mar 30, 2024

Also having issues with 2.2.2 and ZetaWatch, can confirm the "Never Scrubbed" issue, also none of my pools show up for import but if I import them from terminal they work fine apart from the scrubbing issues. On Sonoma. Thanks!

@nixcamic
Copy link

So... pools not showing for import seems to be a separate issue, downgraded to ZFS 2.1.6 and pools still dont show in zetawatch but do in zpool import.

@cbreak-black
Copy link
Owner

I no longer have an Apple Developer account, since it wasn't worth the money, and I barely ever boot macOS once every few months, so I won't be able to release an updated build.

I'll check if I can fix the code, but I don't think that'll be sufficient.

@nixcamic
Copy link

nixcamic commented Mar 31, 2024

Would it be possible to release an updated but unsigned build? Sorry, I know this is volunteer and you've moved on, but if it were just a simple rebuild. If it's more than that then yeah understandable if it's too much work.

@cbreak-black
Copy link
Owner

I expect to have to make some small fixes to get it to compile properly with the new version.

The Problem with making an unsigned build is that the helper binary that is used to perform actions as root (to mount filesystems, import pools, and the like) only works if the main binary is code-signed with my old key. (Or any other key, if the meta data is changed accordingly)

@nixcamic
Copy link

nixcamic commented Apr 1, 2024

Could you self sign it? It wouldn't be good enough for OS X app protection but if manually launched it would be ok no?

@cbreak-black
Copy link
Owner

I've rebuilt ZetaWatch with ZFS 2.2, but as expected, the helper won't work without proper code signing. But you should be able to test it, and you might be able to sign it yourself.
https://github.com/cbreak-black/ZetaWatch/releases/tag/r50-zfs2.2

@jaminmc
Copy link
Author

jaminmc commented Apr 19, 2024

I've rebuilt ZetaWatch with ZFS 2.2, but as expected, the helper won't work without proper code signing. But you should be able to test it, and you might be able to sign it yourself. https://github.com/cbreak-black/ZetaWatch/releases/tag/r50-zfs2.2

It seems to be working for for me. I don't know what requires elevated privileges, but it works now to see last scrubbed, and I was able to have it initiate a scrub. No problem. I did do a xattr -rd com.apple.quarantine /Applications/ZetaWatch.app to make sure that the quarantine didn't get in the way.

It may be working, because I never uninstalled the Helper script that was installed with a previous version?

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

No branches or pull requests

3 participants