Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Aug 2018 13:13:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 230910] zfs fails to mount root with error 22 when geom_mirror is loaded (possible regression)
Message-ID:  <bug-230910-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: arcade@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230910-227>