openzfsonosx / zfs

OpenZFS on OS X
https://openzfsonosx.org/
Other
824 stars 72 forks source link

Can't find the disk entirely #811

Open VictorWinson opened 2 months ago

VictorWinson commented 2 months ago

Not sure if this is MacOS problem or with ZFS, the perfectly working disk on Windows (ZFSin) and FreeBSD (TrueNAS Core) just don't get recognize when running

zpool import
# no pools available to import
diskutil list                        
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *1.0 TB     disk0
   1:             Apple_APFS_ISC Container disk2         524.3 MB   disk0s1
   2:                 Apple_APFS Container disk3         994.7 GB   disk0s2
   3:        Apple_APFS_Recovery Container disk1         5.4 GB     disk0s3

/dev/disk3 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +994.7 GB   disk3
                                 Physical Store disk0s2
   1:                APFS Volume Macintosh HD            10.3 GB    disk3s1
   2:              APFS Snapshot com.apple.os.update-... 10.3 GB    disk3s1s1
   3:                APFS Volume Preboot                 6.2 GB     disk3s2
   4:                APFS Volume Recovery                1.0 GB     disk3s3
   5:                APFS Volume Data                    696.2 GB   disk3s5
   6:                APFS Volume VM                      20.5 KB    disk3s6
   7:                APFS Volume Nix Store               160.7 GB   disk3s7

The disk is a 3.8T portable SSD and the pool was created on TrueNAS

lundman commented 2 months ago

I don't see it at all? disk0 is your boot, synthesized as disk3.

VictorWinson commented 2 months ago

Yes, and that’s the problem, both windows and truenas don’t have properly recognising this disk, but somehow Mac isn’t able to recognise it, does this look more like a problem regarding my MacOS or ZFS for OSX for you sir? If it’s not clear how would you suggest I to troubleshoot?

lundman commented 2 months ago

If you don't have a /dev/diskX there is nothing for ZFS to even play with. So try to figure out why macOS isn't seeing the disk at all.

VictorWinson commented 2 months ago

I’ll take a look into that, thanks!