[Bug 254349] cannot set bootfs on pool after removing a vdev

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 16 21:46:18 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254349

--- Comment #3 from Martin Matuska <mm at FreeBSD.org> ---
It looks like VDEV_TYPE_INDIRECT is handled at stand/libsa/zfs/zfsimpl.c

The code originates in the device removal feature:
https://github.com/openzfs/zfs/commit/a1d477c24c7badc89c60955995fd84d311938486

By modifying the vdev_is_bootable() function, setting bootfs is not allowed
anymore. I think this is an easy fix and really not necessary on FreeBSD.

Thomas Soome has been dealing with support of indirect vdevs at end of 2019,
see:
https://svnweb.freebsd.org/base?view=revision&revision=355786

It would be great if Thomas would tell us some more about the support of
removed vdevs (=indirect vdevs).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list