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

                 Summary: grub-probe for zfs assumes all devices prefix with
/dev, ignoring /dev/disk/...
                 Project: GNU GRUB
            Submitted by: chadmiller
            Submitted on: Fri 25 Dec 2015 03:05:02 PM GMT
                Category: None
                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: 
                 Release: 2.02~beta1
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

update-grub runs /usr/sbin/grub-probe

/usr/sbin/grub-probe runs ["zpool", "status", poolname]

zpool responds with device names as used at (I think!) pool creation time.
Often, this is /dev/disk/by-id/... names, without the path.

grub-probe then parses the output, and takes the names of devices, and if they
do not start with a "/", it prepends "/dev/".

It then tests the existence of the path name of the device. it fails.

grub-probe then returns something like

/usr/sbin/grub-probe: error: failed to get canonical path of
`/dev/ata-ST31000333AS_99999999-part1'.

The actual path is of course /dev/disk/by-id/ST31000333AS_99999999-part1





    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to