Skip to content

On macOS 11.6 (Intel), zfs dataset couldn't mount and will hang the host #102

@michael-yuji

Description

@michael-yuji

System information

Type Version/Name
Distribution Name macOS
Distribution Version 11.6
Architecture Intel
zfs-macOS Version 2.1.0-1
zfs-kmod Version 2.1.0-1

Describe the problem you're observing

I noticed that after I upgrade to 11.6 and reboot my machine (the first boot just after upgrading is fine), the OS start to hang and become unresponsive.

After some investigation, it seems ZFS mount to be the problem since the system boots and can be use normally (without zfs) after I modify /usr/local/zfs/libexec/launchd.d/zpool-import-all.sh and basically make it exit immediately.

After further more investigations, I noticed that I can zpool import -N zroot just fine as well as zfs send, however when I run zfs mount $dataset the command will exit however the dataset will not mount properly, further more, the system starts to hang and the OS basically becomes unusable.

Describe how to reproduce the problem

Upgrade your macOS to 11.6, and reboot a few times.
Try to mount a dataset

Include any warning/errors/backtraces from the system logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions