zpool remove not working for metadata special devices

John Delisle jdelisle at gmail.com
Fri Jan 22 02:27:06 UTC 2021

Thank you Andriy for your insight into the issue.

I can confirm that after a reboot, everything works fine!  Interestingly,
after creating the pool and rebooting, I can add and remove special mirrors
without needing to reboot in-between operations.

Thanks again!  Looking forward to trying this in a production setting.

On Mon, Jan 18, 2021 at 7:26 AM Andriy Gapon <avg at freebsd.org> wrote:

> On 2021-01-18 14:53, Andriy Gapon wrote:
> > It looks like there is an issue with recording of spa_min_ashift
> > internal parameter when a special device is first added.
> This OpenZFS change explicitly addresses a couple of tangential issues
> (special + ashift) but it also fixes the issue that you reported:
> https://github.com/openzfs/zfs/commit/b3f4436d37bb72ffd924132aa4ef2d743762011f
> --
> Andriy Gapon

More information about the freebsd-fs mailing list