[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] zfs: fix LINUX_ROOT_DEVICE when grub-probe fails
From: |
Daniel Kiper |
Subject: |
Re: [PATCH] zfs: fix LINUX_ROOT_DEVICE when grub-probe fails |
Date: |
Fri, 18 Dec 2020 14:38:33 +0100 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
On Thu, Dec 17, 2020 at 08:27:14PM -0600, Doug Goldstein wrote:
> When grub-probe fails, the current code is to just stuff an empty result
> in which causes the user to not knowingly have a system that no longer
> boots. grub-probe can fail because the ZFS pool that contains the root
> filesystem might have features that grub does not yet support which is a
> common configuration for people with a rpool and a bpool. This behavior
> uses the zdb utility to dump the same value as the filesystem label
> would print.
>
> Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Daniel