Actions
Bug #5154
openvdev_resilver_txg changes not persisted resulting in ASSERT panic
Status:
New
Priority:
Normal
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2014-09-11
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
When a resilver completed vdev_resilver_txg is reset to 0 but its value is not persisted.
Due to this the following process results in an ASSERT panic:
panic: solaris assert: scn->scn_phys.scn_min_txg < vd->vdev_resilver_txg (0x936 < 0x8b2)
1. Added a vdev to a pool making it a mirror
2. Wait for resilvering to complete
3. Shutdown the machine
4. Physically detach the disk
5. Boot the machine
6. zpool online <pool> <device>
The attached patch fixes this issue.
Files
Updated by F. H. about 2 years ago
Fix in OpenZFS with commit: https://github.com/openzfs/zfs/commit/9a49d3f3d3bfa26df4e5e54d574cb490f0ee284b
Actions