[Bug 229829] [zfs] scrubbing prevents shutdown and slows down startup
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Jun 2022 17:55:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229829 --- Comment #5 from Martin Birgmeier <d8zNeCFG@aon.at> --- Just my 2 cents: For the issue described in this PR it would be necessary to suspend an ongoing scrub before shutdown and resume it after restart - assuming the system does both (especially the shutdown) cleanly. Most likely something like a "reverse" rc.d would be neeeded, where the shutdown procedure checks which zpools are currently being scrubbed, saves this info, and then suspends the scrubs; conversely, the startup would need to check which scrubs were suspended and resume them. To not need a separate file for saving the info about which zpools were in the process of being scrubbed across the shutdown/reboot it would be nice to be able to do some query directly on the pool to obtain this information. -- Martin -- You are receiving this mail because: You are the assignee for the bug.