v2 on 10.9 101

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

v2 on 10.9 101

Postby nodarkthings » Tue Dec 26, 2023 1:02 pm

Here's for people like me still using MacOS 10.9 for whatever reason. 8-)

What follows is the easiest way I've found to circumvent some issues that arose with v2 10.9 specific builds (checked on 2.2.2 for the time being). Those fixes should work in future versions.

• To avoid the message "unreadable disk": check that zfs.fs is in /System/Library/Filesystems (you can trash it manually from /Library/Filesystems if it's there too) — Mr Lundman fixed that in v2.2.2, so this should be needed in the future only if he forgets to change the destination folder for the 10.9 build. ;)
• To enable automount:
- in /Library/LaunchDaemons/org.openzfsonosx.zpool-import.plist add
Code: Select all
<string>-f</string>
after the lines
Code: Select all
<string>import</string>
<string>-a</string>

[- (optional) in /usr/local/zfs/libexec/zfs/launchd.d/zpool-import-all.sh, the command "/bin/launchctl kickstart -kp system/org.openzfsonosx.zpool-import" is not recognized: add # to comment the line.] — I haven't found any issue by leaving it untouched, but "kickstart" not being recognized, I guess the whole command is not executed.

=> check that permissions of modified files remain correct!

=> avoid USB! (seems to work ok with v2.1.6 but not with v2.2.x)

If someone has better suggestions, I'll be happy to edit this post accordingly.
Keep on rockin'! 8-)

EDIT1: about Features ≠ between 2.2.2 and 1.9.2
(generally "disabled" in 1.9.2. except where mentioned — note that I got these empirically by comparing two different existing pools of mine: as my limited knowledge goes, some value might be different with brand new pools...)
Code: Select all
feature@blake3   enabled
feature@block_cloning   enabled
feature@bookmark_written   enabled
feature@device_rebuild   enabled
feature@draid   enabled
feature@empty_bpobj   enabled (active in 1.9.2)
feature@extensible_dataset   active (enabled in 1.9.2)
feature@head_errlog   active
feature@livelist   enabled
feature@log_spacemap   active
feature@project_quota   active
feature@raidz_expansion   enabled
feature@redacted_datasets   enabled
feature@redaction_bookmarks   enabled
feature@redaction_list_spill   enabled
feature@userobj_accounting   active
feature@vdev_zaps_v2   active
feature@zilsaxattr   active
feature@zstd_compress   enabled
nodarkthings
 
Posts: 174
Joined: Mon Jan 26, 2015 10:32 am

Re: v2 on 10.9 101

Postby lundman » Wed Jan 03, 2024 4:20 pm

leaving it untouched, but "kickstart" not being recognized


Ah interesting, ok so they added "launchctl kickstart" after 10.9. (We should check exactly when) so then it should
probably run "zpool import" instead of the kickstart - that was added to work around another issue (FullDiskAccess?)
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to Absolute Beginners Section

Who is online

Users browsing this forum: No registered users and 74 guests