Does OpenZFS support external hard disk enclosures?

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

Does OpenZFS support external hard disk enclosures?

Postby seanm » Mon Aug 26, 2019 1:36 pm

I have a ZFS formatted hard disk (created on a FreeNAS) that I'm trying to access from my Mac. If I connect the disk internally (it's a MacPro5,1) then all is well. But I've tried two different disk enclosures now and via them 'zpool list' shows 'no pools available'. Both enclosures support FireWire 800 and USB 3 and I've tried both interfaces, so that's 4 combinations total, and in no case can I see the disk.

Am I just unlucky with my enclosures, or...?
seanm
 
Posts: 2
Joined: Mon Aug 26, 2019 8:50 am

Re: Does OpenZFS support external hard disk enclosures?

Postby lundman » Mon Aug 26, 2019 3:56 pm

You should run "zpool import" to list the importable pools. The "zpool list" command only work after the pools have been imported.
User avatar
lundman
 
Posts: 687
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Does OpenZFS support external hard disk enclosures?

Postby seanm » Mon Aug 26, 2019 4:11 pm

Ah, that worked, thanks! Why is in not necessary when the disk in added internally?
seanm
 
Posts: 2
Joined: Mon Aug 26, 2019 8:50 am

Re: Does OpenZFS support external hard disk enclosures?

Postby lundman » Tue Aug 27, 2019 3:53 pm

It could be the auto-import script runs before any external disks are probed? I'm unsure, you'd have to debug it further - as a quick check, you could put in a "sleep 10" or something in the auto-import script and see if it helps.
User avatar
lundman
 
Posts: 687
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Does OpenZFS support external hard disk enclosures?

Postby nik » Wed Feb 05, 2020 6:35 am

I've created and used intensive an external USB Disk as backup disk with OpenZFS on Linux. Now I wanted to use this disk also on my new MacBook.
Installing OpenZFS on OS X worked, diskutil listFilesystems listed ZFS, zpool cmd worked, but I can't import the disk with "zpool import" (no pools available to import).
I've also changed the Partition Type from Linux to ZFS as stated in this wiki post https://openzfsonosx.org/wiki/Suppressing_the_annoying_pop-upcode

With diskutil list the disk is seen:

Code: Select all
/dev/disk5 (external, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 TB     disk5
   1:                        ZFS PortablePool02          4.0 TB     disk5s1

Can anyone give me an additional hint howto import this external hard disk ?
nik
 
Posts: 1
Joined: Wed Feb 05, 2020 6:27 am

Re: Does OpenZFS support external hard disk enclosures?

Postby lundman » Wed Feb 05, 2020 3:43 pm

Try "zpool import -d /dev/"
User avatar
lundman
 
Posts: 687
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 1 guest

cron