zpool lost on after second boot with Catalina

All your general support questions for OpenZFS on OS X.

zpool lost on after second boot with Catalina

Postby diekhans » Thu Jul 09, 2020 7:50 pm

I am move a ZFS array to a new Mac running Catalina. The first time I turned
it on and did an import, it said I need to use -f due to a change in system
id (or some similar message). Since this is true, I did the import with
-f and all went well. My file systems all mount, life was good.

Now after a reboot, import fails to find the pool. The disk are all there
as expected (via diskutil list), however zpool import says "no pools available to import"

zfs.kext_version: 1.9.4-0
macOS 10.15.5

Any advice greatly appreciated..
diekhans
 
Posts: 5
Joined: Tue Mar 22, 2016 10:56 pm

Re: zpool lost on after second boot with Catalina

Postby diekhans » Thu Jul 09, 2020 8:41 pm

I try to use zdb to list one of the disk:

Code: Select all
/dev/disk2 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *10.0 TB    disk2
   1:                        ZFS kettle                  10.0 TB    disk2s1
   2: 6A945A3B-1DD2-11B2-99A6-080020736631               8.4 MB     disk2s9


and get

Code: Select all
% sudo zdb -l /dev/disk2
cannot open '/dev/disk2': Operation not permitted
% sudo zdb -l /dev/disk2s1
cannot open '/dev/disk2s1': Operation not permitted


This seems to be a hint that some of the new security is getting in the way..
diekhans
 
Posts: 5
Joined: Tue Mar 22, 2016 10:56 pm

Re: zpool lost on after second boot with Catalina

Postby diekhans » Thu Jul 09, 2020 9:30 pm

Disabling SIP brought ZFS back

!!!!! :D
diekhans
 
Posts: 5
Joined: Tue Mar 22, 2016 10:56 pm

Re: zpool lost on after second boot with Catalina

Postby glessard » Mon Jul 13, 2020 9:30 am

You shouldn't need to disable SIP in order to use OpenZFS on Catalina. (I run with both.) You might need to give full disk access to /bin/bash, though.
glessard
 
Posts: 9
Joined: Thu Mar 27, 2014 11:27 am

Re: zpool lost on after second boot with Catalina

Postby CipherF15 » Mon Aug 31, 2020 2:24 am

Yes, it's strange, SIP and OpenZFS run together fine on my Mac.
CipherF15
 
Posts: 8
Joined: Thu Aug 27, 2020 9:12 am


Return to General Help

Who is online

Users browsing this forum: Google [Bot] and 2 guests