1.9.4 preview forum release

All your general support questions for OpenZFS on OS X.

1.9.4 preview forum release

Postby FadingIntoBlue » Sun Mar 01, 2020 10:07 pm

Hi all

I've tried out the new 1.9.4 preview release, and it is auto mounting in my setup - Catalina 10.15.3, SIP on

Thanks for all the hard work
Cheers
FadingIntoBlue
 
Posts: 106
Joined: Tue May 27, 2014 12:25 am

Re: 1.9.4 preview forum release

Postby gfc » Thu Mar 12, 2020 5:02 pm

I've just upgraded from Mojave and 1.8.1 to Catalina (10.15.3) and 1.9.4. It didn't go to plan.

I exported my one and only pool, upgraded the OS and then installed 1.9.4 over the top of 1.8.1. Upon reboot my pool not import. I can manually import it but when I do I now see this:

config:

NAME STATE READ WRITE CKSUM
zxstore ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
media-B09D7708-9584-244F-BCE5-7217CA8538DE ONLINE 0 0 0
PCI0@0-RP05@1C,4-UPSB@0-DSB1@1-UPS0@0-pci-bridge@2-pci1b21,612@0-PRT0@0-PMP@0-@0:1 ONLINE 0 0 0
media-01C67746-9DD8-1449-A769-7E49841F9A90 ONLINE 0 0 0
PCI0@0-RP05@1C,4-UPSB@0-DSB1@1-UPS0@0-pci-bridge@0-pci1b21,612@0-PRT0@0-PMP@0-@0:1 ONLINE 0 0 0

errors: No known data errors


Where before I saw this:

config:

NAME STATE READ WRITE CKSUM
zxstore ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
media-B09D7708-9584-244F-BCE5-7217CA8538DE ONLINE 0 0 0
media-F1584040-448F-9C4B-8470-7B04DFD1A15C ONLINE 0 0 0
media-01C67746-9DD8-1449-A769-7E49841F9A90 ONLINE 0 0 0
media-309C48EB-3A7F-5B49-AA3C-3CD63D9A1F22 ONLINE 0 0 0

errors: No known data errors

I subsequently tried to uninstall/reinstall but the results are the same; no import on boot and the pool reported in this way when imported manually. To be clear, there were no other changes between export and upgrade.

Any assistance would be appreciated.
gfc
 
Posts: 4
Joined: Thu Mar 12, 2020 4:55 pm

Re: 1.9.4 preview forum release

Postby gfc » Thu Mar 12, 2020 7:29 pm

Okay, in rooting around a bit I see that the script launched by launchd passes -d /var/run/disk/by-id to import. So that's sorted out, but still not sure what's going on with autoimport at boot. Seeing this in the log:

Thu Mar 12 17:41:30 PDT 2020
2020-03-12 17:41:39.980 system_profiler[411:2782] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
9.27 real 0.47 user 0.48 sys
Waiting up to 60 seconds for the InvariantDisks idle file /var/run/disk/invariant.idle to exist
Found /var/run/disk/invariant.idle after 0 iterations of sleeping 0.1 seconds
Thu Mar 12 17:41:40 PDT 2020
Running zpool import -a
Thu Mar 12 17:41:50 PDT 2020
Thu Mar 12 17:41:52 PDT 2020
Finished running zpool import -a : 0
Touching the file /var/run/org.openzfsonosx.zpool-import-all.didRun
Thu Mar 12 17:41:52 PDT 2020
-zpool-import-all.sh


but in the .err file I see this entries that say "no pools available to import". They're not timestamped so I can't correlate these.
gfc
 
Posts: 4
Joined: Thu Mar 12, 2020 4:55 pm

Re: 1.9.4 preview forum release

Postby gfc » Sat Mar 14, 2020 2:10 pm

Definitely requires Full Disk Access for /bin/bash
gfc
 
Posts: 4
Joined: Thu Mar 12, 2020 4:55 pm

Re: 1.9.4 preview forum release

Postby gfc » Sun Mar 15, 2020 3:01 pm

Just to close this out, I've written a small C stub that just execs bash with zpool-import-all.sh as an argument, I've given this full disk access and and call it from org.openzfsonosx.zpool-import-all.plist. This seems to work and prevents me from having to give bash full disk access. The net-net for me, though, is that 1.9.4 does not autoimport on Catalina out of the box.
gfc
 
Posts: 4
Joined: Thu Mar 12, 2020 4:55 pm

Re: 1.9.4 preview forum release

Postby fluffy » Mon Mar 16, 2020 10:47 am

why can't you get full access?
fluffy
 
Posts: 2
Joined: Fri Mar 13, 2020 12:51 pm

Re: 1.9.4 preview forum release

Postby FadingIntoBlue » Thu Mar 19, 2020 11:00 pm

Another workaround that I used briefly is ZetaWatch

https://github.com/cbreak-black/ZetaWatch

using the Auto-Import Pools setting

Very useful for lots of other reasons as well
FadingIntoBlue
 
Posts: 106
Joined: Tue May 27, 2014 12:25 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 11 guests

cron