[Bug 204976] zfs root fails to boot raidz1 raidz2 raidz3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 2 21:05:32 UTC 2015


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

            Bug ID: 204976
           Summary: zfs root fails to boot raidz1 raidz2 raidz3
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: mikhail.rokhin at gmail.com

RAIDZ1 failure:

FreeBSD/x86 boot
Default: zroot/ROOT/default:/boot/kernel/kernel
boot: ZFS: i/o error - all block copies unavailable
Invalid format

Can't find /boot/kernel/kernel


RAIDZ2 failure:

No. Boots fine.


RAIDZ3 failure:

No. Boots fine.

Stripe & Mirroring boot fine.

There's some error when changing from RAIDZx to Mirroring and choosing 2 disks
- autoZFS fails to partition. Probably ZFS-sys counts all existing disk and
fails due to uncleared disks left, misunderstanding 2 chosen and cleared vs.
left with uncleared zroot from previous RAIDZx partitioning. So it turns out
that ZFS counts & reads all disks, whatever quantity chosen in menu. It's
failure misbehaviour. 

5x 16Gb disks via SAS lsilogic.


i386 - the same RAIDZ1 failure. ZFS shows very low speed (amd64 1000-5000
files/sec, i386 50-100 files/sec).

But three disks RAIDZ1 boots fine, 4 disks - boots fine.

Why do 5 or 9 or more disks lead to failure then?

RAIDZ2 and RAIDZ3 fails to boot when chosen 11 disks.

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


More information about the freebsd-bugs mailing list