Exporting a ZFS pool requires two minutes

All your general support questions for OpenZFS on OS X.

Exporting a ZFS pool requires two minutes

Postby zfsfan » Mon Jun 16, 2025 9:23 am

Exporting a (readonly) ZFS pool requires two full minutes on a current Mac (chip Apple M1).

Log:
Code: Select all
$ time sudo zpool export -a
Unmount successful for /Volumes/mypool/a/b
Unmount successful for /Volumes/mypool/a
Unmount successful for /Volumes/mypool/c
Volume mypool on disk6s1 unmounted
sudo zpool export -a  0,31s user 10,95s system 9% cpu 2:03,47 total

$ sysctl -a | grep kext | grep zfs
zfs.kext_version: 2.2.3-1

$ sw_vers
ProductName:      macOS
ProductVersion:      15.5
BuildVersion:      24F74
zfsfan
 
Posts: 17
Joined: Sun Mar 19, 2023 5:38 pm

Re: Exporting a ZFS pool requires two minutes

Postby tangles » Mon Jun 23, 2025 2:25 am

what does ziostat 1 120 show?

Am curious if disks are thrashing.

also sudo fs_usage ← will need to grep your path tho to see if a process is banging its head instead.

rather than -a, what does mypool do?

also add -f and see if it makes a diff.
tangles
 
Posts: 204
Joined: Tue Jun 17, 2014 6:54 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 22 guests

cron