[Bug 207188] gptzfsboot may choose wrong pool

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 14 13:07:59 UTC 2016


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

            Bug ID: 207188
           Summary: gptzfsboot may choose wrong pool
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: matthias.pfaller at familie-pfaller.de

Created attachment 166981
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166981&action=edit
output of zpool and gpart commands

I'm using five disks in my system (ada0, ada1 and ada4 are SSDs, ada2 and ada3
conventional disks). 

ada2, ada3 and ada4 hold one freebsd-zfs partition each. ada2 and ada3 contain
the data and ada4 is used for L2ARC.

ada0 and ada1 hold two freebsd-zfs partitions each. Partition one on each disk
is used for a mirrored intent log for the data pool. Partition two holds the
mirrored root pool.

I have set the bootfs property on the pool root but not on the pool data.
gptzfsboot tries to load data/boot/gptzfsloader (and fails). It fails even when
there you put zfsloader into data/boot.

After reordering the GPT entries the system boots fine. I think this behaviour
should be documented in gptzfsboot(8).

The attached was done with the reordered gpt.

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


More information about the freebsd-bugs mailing list