- Code: Select all
# sw_vers
ProductName: macOS
ProductVersion: 11.5.1
BuildVersion: 20G80
# zpool version
zfs-macOS-2.1.0-rc3
zfs-kmod-2.1.0-rc3
The crash log can be found in the attachments.
After read the following posts,
OpenZFS on OS X • View topic - Kernel panic with 2.0.1 and Big Sur 11.4
viewtopic.php?f=26&t=3596
OpenZFS on OS X • View topic - Kernel Panic on `zpool import` with 2.0.1 and Big Sur 11.4
viewtopic.php?f=26&t=3586
Here is what I have done to toubleshoot this issue.
1. Stop zpool import -a
- Code: Select all
mv /usr/local/zfs/libexec/zfs/launchd.d/zpool-import-all.sh /usr/local/zfs/libexec/zfs/launchd.d/zpool-import-all.sh-2021-08-11
2. zpool scrub is completed without any error.
- Code: Select all
# zpool import -N earth
# zpool scrub earth
3. Tested with readonly mode. It will not crash.
- Code: Select all
zpool import -o readonly=on -a
4. Tested with the following nvram parameters, using 8, 80, 128, 256. It will still crash, if not using readonly mode.
- Code: Select all
nvram boot-args="kernel_stack_pages=256 -v keepsyms=1"
Could you kindly help to share your suggestion on the following?
1. How to troubleshooting this issue?
2. Do you need more information?
As you may see, now I can only have read only access to my home directory (on ZFS). Hope there is a workaround for this issue.