[Bug 229972] 11.2-RELEASE kernel wont boot with zfs mirror root

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 20 03:00:39 UTC 2018


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

harrison at glsan.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |harrison at glsan.com

--- Comment #5 from harrison at glsan.com ---
I have a way to fix the problem which has worked for 4 systems after upgrading
to 11.2.



I believe it's a race condition on boot with the zfs partitions. Basically the
system will try to mount the partitions in no specific order. This causes a
problem for the ROOT partition needs to be mounted first then the rest can be
mounted. I fixed this by booting to a USB drive and mounting the zfs
zroot/default/ROOT partition first then zfs mount -a. After root boot the
system came back without issues.
Steps:
1. boot off USB 11.2 disk
2. zpool import -R /mnt <zroot>
3. zfs mount <zroot>/default/ROOT
4. zfs mount -a
5. reboot back into the upgraded OS.

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


More information about the freebsd-bugs mailing list