Page 1 of 1

Exporting a ZFS pool requires two minutes

PostPosted: Mon Jun 16, 2025 9:23 am
by zfsfan
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

Re: Exporting a ZFS pool requires two minutes

PostPosted: Mon Jun 23, 2025 2:25 am
by tangles
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.