ZFS disk seen at FAT32 since Mojave upgrade

All your general support questions for OpenZFS on OS X.

ZFS disk seen at FAT32 since Mojave upgrade

Postby godzilla » Mon Mar 11, 2019 8:30 am

Hello

I have recently upgraded (from 10.13) to Mojave (10.14). For some reason my ZFS disk are "seen" as FAT32 volumes... and obviously don't work !

MBP13:~ alex$ kextstat | grep lundman
73 1 0xffffff7f813a4000 0x498 0x498 net.lundman.kernel.dependencies.31 (12.5.0) B5522CE7-BF86-4025-8C10-C6D74BFD9C11
74 1 0xffffff7f813a5000 0x11f5000 0x11f5000 net.lundman.spl (1.8.1) 522C363B-617C-3BD6-9114-7CFCB2060A12 <73 8 6 5 3 1>
75 0 0xffffff7f825f6000 0x30b000 0x30b000 net.lundman.zfs (1.8.1) 0E2ADDD4-FAEF-388B-8F84-1D8CDD0E3194 <74 26 8 6 5 3 1>
MBP13:~ alex$ sudo zpool list
Password:
no pools available
MBP13:~ alex$ diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.3 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 500.1 GB disk0s2

/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +500.1 GB disk1
Physical Store disk0s2
1: APFS Volume Macintsoh HD 414.5 GB disk1s1
2: APFS Volume Preboot 43.2 MB disk1s2
3: APFS Volume Recovery 517.0 MB disk1s3
4: APFS Volume VM 8.6 GB disk1s4

/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *32.1 GB disk2
1: Windows_FAT_32 32.1 GB disk2s1


Disk 2 is actually a ZFS volume, created under 1.8.1.
Interestingly it will show up for time to time after a cold reboot (but not always). Never manager to have it work plugging it "live" into the system,

Any help / pointer much appreciated.
godzilla
 
Posts: 7
Joined: Sun Mar 19, 2017 2:29 am

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby lundman » Mon Mar 11, 2019 5:13 pm

And "zpool import", "zpool import -d /dev" show nothing available for import?
User avatar
lundman
 
Posts: 520
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby godzilla » Tue Mar 12, 2019 2:26 am

Indeed

no pools available to import
godzilla
 
Posts: 7
Joined: Sun Mar 19, 2017 2:29 am

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby lundman » Tue Mar 12, 2019 3:52 pm

32G sounds more like a USB stick? Or did you create a 32G pool on something?
User avatar
lundman
 
Posts: 520
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby godzilla » Wed Mar 13, 2019 10:53 am

Sorry, should have made it clearer: it is indeed a USB stick. Does it matter?

I have a few ZFS formatted one and they work fine (but they were initialized with older builds of OpenZFS under Mac OS 10.12 or 10.13). This one was recently initialized and was working fine until upgrading to Mojave.
godzilla
 
Posts: 7
Joined: Sun Mar 19, 2017 2:29 am

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby Sharko » Wed Mar 13, 2019 2:25 pm

It would be interesting to test whether the USB stick still imports correctly if you boot from a clone of your system prior to Mojave. My guess is that Mojave is somehow interpreting the partitioning scheme differently, and not presenting it to ZFS the way it used to.
Sharko
 
Posts: 74
Joined: Thu May 12, 2016 12:19 pm

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby lundman » Thu Mar 14, 2019 5:59 pm

No, that it is a stick does not matter, I was just expecting a disk. It would be concerning though if it suddenly thinks it is a FAT32 partition, and attempts to fsck/mount it.
User avatar
lundman
 
Posts: 520
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby godzilla » Thu Mar 14, 2019 10:11 pm

After some further testing

    *the disk is not seen on my old system config
    *it would, seemingly randomly, either
      mount as a ZFS volume
      mount as a bogus FAT volume
      generate an error that "Mac OSX could not repair disk" (ouch)
    when connected under Mojave
It only mounts as ZFS when connected at boot - would not come up at all if plugged into a live system

My guess is that the OS somehow misinterpreted the volume as a FAT32 disk and tried to auto repair it - obviously failing to do so but corrupting it.

What is the actual "signature" of a ZFS volume (ie what should I check on the disk to ensure it is correctly identified) ?
godzilla
 
Posts: 7
Joined: Sun Mar 19, 2017 2:29 am

Re: ZFS disk seen at FAT32 since Mojave upgrade

Postby chrryd » Sat Mar 16, 2019 12:16 pm

https://openzfsonosx.org/wiki/Suppressi ... ing_pop-up has some info on the correct partition type for ZFS.
chrryd
 
Posts: 10
Joined: Wed Jun 17, 2015 3:44 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 2 guests

cron