Per the discussion below, Scrubs should be prevented until RAID-Zx expansion has completed.
Further, any Scrub in progress should probably prevent RAID-Zx expansion unless the user agrees to:
There is a Scrub in progress, starting RAID-Zx expansion would stop it.
- Scrubs on this pool will be prevented until RAID-Zx expansion is done.
- A Scrub will automatically be run after the RAID-Zx expansion completes.
Okay?
Here is the discussion: