[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #46755] grub-probe for zfs assumes all devices prefix with /dev, ig
From: |
Chad Miller |
Subject: |
[bug #46755] grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/... |
Date: |
Fri, 25 Dec 2015 15:05:04 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/47.0.2526.106 Chrome/47.0.2526.106 Safari/537.36 |
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 #46755] grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...,
Chad Miller <=