Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System freezes on import #807

Open
wq9578 opened this issue Apr 4, 2023 · 1 comment
Open

System freezes on import #807

wq9578 opened this issue Apr 4, 2023 · 1 comment

Comments

@wq9578
Copy link

wq9578 commented Apr 4, 2023

Trying to import the second mirror image after putting it offline with zpool offline (causing a system freeze) again causes problems.

Executing sudo zpool import -o readonly=on -d /Volumes/MyUSBDrive/pool.mirror2.img
or sudo zpool import -o readonly=on -d /Volumes/MyUSBDrive/pool.mirror2.img pool
causes a zpool process with 100% cpu usage, which is then replaced by a launchd process with 100% cpu usage.

Upon sudo zpool import -d /Volumes/MyUSBDrive/pool.mirror2.img pool (not in readonly mode) the system freezes.

Effectively, as the first image can't be imported anymore, too, there is no access anymore to the data in the pool.

@wq9578
Copy link
Author

wq9578 commented Apr 5, 2023

Update:
I was able to import the image with: sudo zpool import -o readonly=on -N -d pool.mirror.img -a
Mounting also works: sudo zfs mount -al
But unmounting freezes the system again: sudo zfs umount -a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant