[Bug 271989] zfs root mount error 6 after upgrade from 11.1-release to 13.2-release

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 14 Jun 2023 13:31:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271989

--- Comment #2 from Markus Wild <freebsd-bugs@virtualtec.ch> ---
Turns out, there was an old zfs label AT THE END of the unused 
disk space of the two nvd drives from the original auto-setup.

Why on earth does the 13.2 kernel prefer an incomplete label (label 0/1 were
missing, label 2/3 at the end of the whole disk contained the old information),
when there was a perfectly valid "freebsd-zfs" gpt partition with all
valid labels!? Shouldn't the search path be:
- check partition table
- check every entry of type "freebsd-zfs" for labels
- if nothing found, check whole disk

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