bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #42861] can't access ZFS on FreeBSD due to new pool features


From: Andrey Zholos
Subject: [bug #42861] can't access ZFS on FreeBSD due to new pool features
Date: Mon, 28 Jul 2014 13:58:25 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0

URL:
  <http://savannah.gnu.org/bugs/?42861>

                 Summary: can't access ZFS on FreeBSD due to new pool features
                 Project: GNU GRUB
            Submitted by: aaz
            Submitted on: Mon Jul 28 13:58:23 2014
                Category: Filesystem
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Git master
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Two new features have been added to ZFS on FreeBSD (and probably other OSes)
that prevent GRUB from reading newly-created pools:

* com.delphix:hole_birth (a few months ago
<https://github.com/freebsd/freebsd/commit/82c2441b7daa2585e943ff2e8af3530cdf06a70f>,
present in FreeBSD 9.3 release)
* com.delphix:embedded_data (this month
<https://github.com/freebsd/freebsd/commit/f95fd16f8d88667bcf37bb162d3f8fcc9f888cc7>,
present in current FreeBSD 10 and 11 snapshots)

They are described in the zpool-features manpage
<https://us-east.manta.joyent.com/smartosman/public/man5/zpool-features.5.html>.

Here is grub-probe attempting to access a pool:


grub-core/kern/fs.c:56: Detecting zfs...
grub-core/kern/emu/hostdisk.c:236: reusing open device `/dev/ada0'
grub-core/kern/emu/hostdisk.c:236: reusing open device `/dev/ada0'
grub-core/fs/zfs/zfs.c:1187: label ok 0
grub-core/kern/emu/hostdisk.c:236: reusing open device `/dev/ada0'
grub-core/kern/emu/hostdisk.c:236: reusing open device `/dev/ada0'
grub-core/fs/zfs/zfs.c:1003: check 2 passed
grub-core/fs/zfs/zfs.c:1014: check 3 passed
grub-core/fs/zfs/zfs.c:1021: check 4 passed
grub-core/fs/zfs/zfs.c:1031: check 6 passed
grub-core/fs/zfs/zfs.c:1039: check 7 passed
grub-core/fs/zfs/zfs.c:1050: check 8 passed
grub-core/fs/zfs/zfs.c:1060: check 9 passed
grub-core/fs/zfs/zfs.c:1082: check 11 passed
grub-core/fs/zfs/zfs.c:1107: check 10 passed
grub-core/fs/zfs/zfs.c:1123: str=com.delphix:hole_birth
grub-core/fs/zfs/zfs.c:1126: feature missing in
check_pool_label:com.delphix:hole_birth
...
grub-core/kern/fs.c:78: zfs detection failed.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42861>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]