-
Notifications
You must be signed in to change notification settings - Fork 26
Mirrored pool corrupt during the cable jerk + throwing BSOD (SYSTEM_SERVICE_EXCEPTION) on import afterwards #556
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | Windows 10 |
| Distribution Version | 21H2 |
| Kernel Version | 10.0.19044.3086 |
| Architecture | x86-64 |
| OpenZFS Version | 2.3.1 rc14 |
Describe the problem you're observing
I have a pool of two mirrored HDDs packed into USB-C enclosure named ppool (as in Portable Pool). It's seen as following:
...
pool: ppool
id: 7387830995368866575
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-EY
config:
ppool ONLINE
mirror-0 ONLINE
Harddisk1Partition1 ONLINE
Harddisk2Partition1 ONLINE
indirect-1 ONLINE
indirect-2 ONLINEAfter some cable incident and the involved Windows restart, now it throws a SYSTEM_SERVICE_EXCEPTION BSOD every time I try to import the pool:
The bugcheck was:
0x0000003b(0x0000000080000003,0xfffff806599ef1d0,0xfffffd09ca05e410,0x0000000000000000).
Unsure if a BSOD (the same or any other) happened during the incident / restart itself.
Describe how to reproduce the problem
No idea. I was using it on Mint 21 (based on Ubuntu 22.04, OpenZFS v2.1.5) for 10 months or so, and have written more than 4T successfully into it.
3 months ago I wrote several tens of gigabytes on Windows 10 (OpenZFS v2.3.1 rc13) just fine too.
After some glitch/jerk of the USB connection, my Windows laptop lost access to the pool, and after physical disconnection, reboot and the reconnection it then failed to import the pool (even blue-screened after a while).
I left the drives attached to my laptop and rebooted Windows, only to find that it tries to import the pool and so gets BSOD again.
After several iterations of the reboot loop I disconnected the pool drives from my Windows laptop, and tried to import it back on my Linux laptop – please see the openzfs#17968 issue in the upstream repo.
Upgrade from rc13 to rc14 didn't seem to change the outcome.
Include any warning/errors/backtraces from the system logs
This Mega.nz folder includes two MEMORY.DMP files from the BSOD (each being circa 1 GiB in size) compressed as .7z files:
-
OpenZFS-2.3.1-rc14-import-crash-v1–MEMORY.7z(102.4 MB) -
OpenZFS-2.3.1-rc14-import-crash-v2–MEMORY.7z(98.2 MB)
As analyzed by @lundman in #534 (comment) :
07 ffffa308`7e17ec80 fffff806`531af1d1 nt!KiBreakpointTrap+0x310
08 ffffa308`7e17ee10 fffff806`534c4904 OpenZFS!spl_panic+0x71 [C:\src\openzfs\module\os\windows\spl\spl-err.c @ 87]
09 ffffa308`7e17ee70 fffff806`533232ec OpenZFS!vdev_indirect_mapping_open+0x94 [C:\src\openzfs\module\zfs\vdev_indirect_mapping.c @ 348]
0a ffffa308`7e17ef40 fffff806`532595bc OpenZFS!spa_remove_init+0x42c [C:\src\openzfs\module\zfs\vdev_removal.c @ 609]
0b ffffa308`7e17eff0 fffff806`5325866e OpenZFS!spa_ld_open_indirect_vdev_metadata+0x2c [C:\src\openzfs\module\zfs\spa.c @ 4556]
0c ffffa308`7e17f040 fffff806`5324c2d5 OpenZFS!spa_load_impl+0x21e [C:\src\openzfs\module\zfs\spa.c @ 5475]
0d ffffa308`7e17f0c0 fffff806`53258382 OpenZFS!spa_load+0x95 [C:\src\openzfs\module\zfs\spa.c @ 3486]
0e ffffa308`7e17f130 fffff806`5324b93c OpenZFS!spa_load_retry+0x92 [C:\src\openzfs\module\zfs\spa.c @ 5719]
0f ffffa308`7e17f170 fffff806`5324b061 OpenZFS!spa_load_best+0x37c [C:\src\openzfs\module\zfs\spa.c @ 5800]
10 ffffa308`7e17f220 fffff806`531f7dbf OpenZFS!spa_import+0x301 [C:\src\openzfs\module\zfs\spa.c @ 6824]
11 ffffa308`7e17f300 fffff806`531eed8d OpenZFS!zfs_ioc_pool_import+0x13f [C:\src\openzfs\module\zfs\zfs_ioctl.c @ 1554]
12 ffffa308`7e17f370 fffff806`53510a5d OpenZFS!zfsdev_ioctl_common+0x79d [C:\src\openzfs\module\zfs\zfs_ioctl.c @ 8122]
13 ffffa308`7e17f450 fffff806`535
08 ffffa308`7e17ee10 fffff806`534c4904 OpenZFS!spl_panic+0x71 [C:\src\openzfs\module\os\windows\spl\spl-err.c @ 87]
09 ffffa308`7e17ee70 fffff806`533232ec OpenZFS!vdev_indirect_mapping_open+0x94 [C:\src\openzfs\module\zfs\vdev_indirect_mapping.c @ 348]
0a ffffa308`7e17ef40 fffff806`532595bc OpenZFS!spa_remove_init+0x42c [C:\src\openzfs\module\zfs\vdev_removal.c @ 609]
0b ffffa308`7e17eff0 fffff806`5325866e OpenZFS!spa_ld_open_indirect_vdev_metadata+0x2c [C:\src\openzfs\module\zfs\spa.c @ 4556]