[Bug 1527727] Re: grub-probe for zfs assumes all devices prefix with /dev, ignoring /dev/disk/...
Marlin Cremers
1527727 at bugs.launchpad.net
Mon Feb 22 16:18:07 UTC 2016
Technically I'd consider it more of a workaround. The actual issue in GRUB
hasn't been resolved.
On 22 Feb 2016 12:16 p.m., "Colin Ian King" <1527727 at bugs.launchpad.net>
wrote:
> Chad, can you check if comment #24 is correct, and if so, we can close
> this bug
>
> ** Changed in: zfs-linux (Ubuntu)
> Assignee: Chad Miller (cmiller) => Colin Ian King (colin-king)
>
> ** Changed in: zfs-linux (Ubuntu)
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1527727
>
> Title:
> grub-probe for zfs assumes all devices prefix with /dev, ignoring
> /dev/disk/...
>
> Status in grub:
> Unknown
> Status in grub2 package in Ubuntu:
> In Progress
> Status in zfs-linux package in Ubuntu:
> In Progress
>
> Bug description:
> update-grub runs /usr/sbin/grub-probe
>
> Without libzfslinux support compiled in, /usr/sbin/grub-probe runs
> ["zpool", "status", poolname] to find out ZFS info.
>
> 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
>
> It can prepend smarter than "/dev" or it can understand ZFS natively,
> to fix the problem.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/grub/+bug/1527727/+subscriptions
>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1527727
Title:
grub-probe for zfs assumes all devices prefix with /dev, ignoring
/dev/disk/...
Status in grub:
Unknown
Status in grub2 package in Ubuntu:
In Progress
Status in zfs-linux package in Ubuntu:
In Progress
Bug description:
update-grub runs /usr/sbin/grub-probe
Without libzfslinux support compiled in, /usr/sbin/grub-probe runs
["zpool", "status", poolname] to find out ZFS info.
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
It can prepend smarter than "/dev" or it can understand ZFS natively,
to fix the problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/grub/+bug/1527727/+subscriptions
More information about the foundations-bugs
mailing list