[Bug 230910] zfs fails to mount root with error 22 when geom_mirror is loaded (possible regression)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 26 13:13:17 UTC 2018


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

            Bug ID: 230910
           Summary: zfs fails to mount root with error 22 when geom_mirror
                    is loaded (possible regression)
           Product: Base System
           Version: 11.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: arcade at b1t.name

Created attachment 196562
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196562&action=edit
screen with error

Mail from 2018/05/23:

Just pushed updates to one of dev servers and found out it's unable to boot
right now. During boot situation resembles what was shown previously at:

https://lists.freebsd.org/pipermail/freebsd-fs/2013-September/018246.html

1. Gmirror grabs partitions for two devices (swap/boot)
2. ZFS fails to mount root with error 22.
3. random: unblocking device
4. ZFS retries mount and fails again, exits to debug prompt.

Setting vfs.mountroot.timeout to 300 just makes kernel output another error
each ~12 seconds. There is a problem with a code, it decreases value by one
second for each full timeout period.

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

^^^ Here's where I got those tunables.

My kernel configuration is rather minimal and is very close to MINIMAL.
Removing geom_mirror fixes the problem. Starting geom_mirror later works
without any issues.

Machine has UFS boot due to rather nasty Cisco firmware that only allows one
single device to be available during boot.

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


More information about the freebsd-bugs mailing list