[Top][All Lists]

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

[bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper

From: Bart Kus
Subject: [bug #43653] grub-probe fails to find ZFS VDEVs in /dev/mapper
Date: Fri, 21 Nov 2014 01:26:55 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36


                 Summary: grub-probe fails to find ZFS VDEVs in /dev/mapper
                 Project: GNU GRUB
            Submitted by: bkus
            Submitted on: Fri 21 Nov 2014 01:26:54 AM GMT
                Category: Disk &amp; Partition
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.02~beta1
         Reproducibility: Every Time
         Planned Release: None



When the root filesystem is a ZFS composed of VDEVs from /dev/mapper (eg:
/dev/mapper/cryptroot), grub-probe fails to find the underlying device(s). 
This is because it calls out to zpool to find the VDEVs of rpool, but they're
listed as non-absolute names in zpool's output, and grub-probe then tries to
find the full paths in /dev, but not any sub-dir of /dev, like /dev/mapper.

A workaround is to create symlinks in /dev using the exact same device names
as listed in zpool's output.  grub-probe then succeeds and things like
grub-mkconfig start working.

Please enhance grub-probe's support for ZFS by searching deeper in the /dev
tree, or find an alternate more precise way of obtaining the VDEV information
from ZFS.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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