On Wed, Sep 08, 2021 at 07:57:35AM +0100, Alexander Nasonov wrote: > The order doesn't have to be arbitrary, the kernel can be fixed > to return disk names in a well-defined order.
You can do that today with a custom kernel and lots of hard wired disk attachements (wd0 ... wdN instead of wd*), but it makes no sense for GENERIC. I'm not sure how you would change probe order later via a sysctl, sounds easier to fix the zfs code instead and have it not probe random devices for zfs but use specific configured ones. Martin