grub-probe fails with failed to get canonical path of rpool with ZFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsys (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I've been running Ubuntu 20.04 daily builds for about a month. Within the past several days, something broke with grub where it is no longer able to probe my ZFS datasets in order to build up its menu. This had been working fine, aside from the issue #1867007 I previously filed, so I believe this is a regression. As a result of it, I'm unable to update my kernel.
I noticed it when trying to perform a dist-upgrade, but it's reproducible running `grub-update` on its own:
❯ sudo update-grub
[sudo] password for nirvdrum:
/usr/sbin/
❯ zsysctl list
ID ZSys Last Used
-- ---- ---------
rpool/ROOT/
I realize that's not much information to go off of. Please let me know what other diagnostic information you would need.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: MATE
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-03-12 (46 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200309)
NonfreeKernelMo
Package: zsys 0.4.5
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
zfs-initramfs 0.8.3-1ubuntu12
zfsutils-linux 0.8.3-1ubuntu12
Tags: focal
Uname: Linux 5.4.0-18-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
ZFSImportedPools:
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
rpool 920G 458G 462G - - 21% 49% 1.00x DEGRADED -
ZFSListcache-bpool:
bpool /boot off on on off on off on off - none
bpool/BOOT none off on on off on off on off - none
bpool/
ZSYSDump: Error: command ['zsysctl', 'service', 'dump'] failed with exit code 1: level=error msg="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
_MarkForUpload: True
description: | updated |
tags: | added: zfs |
Changed in zsys (Ubuntu): | |
status: | Incomplete → Confirmed |
Hey,
It’s a little bit hard to debug as you opened the bug without using ubuntu-bug tools which collects a lot of information (you can run apport-collect to attach more of them).
Some tracks of though to get this going:
- do you mind checking that zfs-initramfs and zfsutils-linux are both installed?
- in general, can you list all zfs packages states? (dpkg -l *zfs*)
This error is mostly grub not being able to load the zfs module (wed should probably fail earlier than letting grub itself failing). However, you do have the module loaded as zsysctl is returning you something, which is puzzling…