I recently found an odd (seemingly) issue with ZFS in release TrueNAS-12.0-U8.1.
I replaced 2 drives that were dying but not dead. I replaced them one at a time (each in a different mirror set), waiting for resilvering to be completed before replacing the second drive. After replacing the second drive, the first drive failed for some unknown reason. I had issues in removing the drive, but finally got it removed. I subsequently added another drive to that mirror and the resilvering was successful. I also added back the "failed" drive successfully as a spare.
Now I have a remnant "remove: Removal of mirror canceled" message in the zpool status header. Is there anyway to clear it?
Here is the pool status:
I replaced 2 drives that were dying but not dead. I replaced them one at a time (each in a different mirror set), waiting for resilvering to be completed before replacing the second drive. After replacing the second drive, the first drive failed for some unknown reason. I had issues in removing the drive, but finally got it removed. I subsequently added another drive to that mirror and the resilvering was successful. I also added back the "failed" drive successfully as a spare.
Now I have a remnant "remove: Removal of mirror canceled" message in the zpool status header. Is there anyway to clear it?
Here is the pool status:
Code:
root@nas001:~ # zpool status vol1 pool: vol1 state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scan: resilver in progress since Mon Jul 18 13:19:03 2022 767G scanned at 38.7M/s, 693G issued at 35.0M/s, 1.13T total 342G resilvered, 59.90% done, 03:46:35 to go remove: Removal of mirror canceled on Sat Jul 16 20:55:23 2022 config: NAME STATE READ WRITE CKSUM vol1 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/ad4ca83b-5503-11ea-937d-d43d7e933a20 ONLINE 0 0 0 gptid/6afdb997-050a-11ed-8943-d43d7e933a20 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gptid/f782dc70-634b-11ea-9577-d43d7e933a20 ONLINE 0 0 0 gptid/2fab66bd-06c5-11ed-8479-d43d7e933a20 ONLINE 0 0 0 (resilvering) spares gptid/eb36b8e3-0494-11ed-85ce-d43d7e933a20 AVAIL errors: No known data errors