[Bug 1834095] Re: update-grub fails on zfs with root and boot datasets
David R. Bergstein
1834095 at bugs.launchpad.net
Tue Jun 25 16:44:07 UTC 2019
zfs get all bpool/BOOT/ubuntu
NAME PROPERTY VALUE SOURCE
bpool/BOOT/ubuntu type filesystem -
bpool/BOOT/ubuntu creation Sat Apr 27 22:23 2019 -
bpool/BOOT/ubuntu used 211M -
bpool/BOOT/ubuntu available 155M -
bpool/BOOT/ubuntu referenced 116M -
bpool/BOOT/ubuntu compressratio 1.05x -
bpool/BOOT/ubuntu mounted yes -
bpool/BOOT/ubuntu quota none default
bpool/BOOT/ubuntu reservation none default
bpool/BOOT/ubuntu recordsize 128K default
bpool/BOOT/ubuntu mountpoint legacy local
bpool/BOOT/ubuntu sharenfs off default
bpool/BOOT/ubuntu checksum on default
bpool/BOOT/ubuntu compression lz4 inherited from bpool
bpool/BOOT/ubuntu atime on default
bpool/BOOT/ubuntu devices off inherited from bpool
bpool/BOOT/ubuntu exec on default
bpool/BOOT/ubuntu setuid on default
bpool/BOOT/ubuntu readonly off default
bpool/BOOT/ubuntu zoned off default
bpool/BOOT/ubuntu snapdir hidden default
bpool/BOOT/ubuntu aclinherit restricted default
bpool/BOOT/ubuntu createtxg 36 -
bpool/BOOT/ubuntu canmount noauto local
bpool/BOOT/ubuntu xattr sa inherited from bpool
bpool/BOOT/ubuntu copies 1 default
bpool/BOOT/ubuntu version 5 -
bpool/BOOT/ubuntu utf8only on -
bpool/BOOT/ubuntu normalization formD -
bpool/BOOT/ubuntu casesensitivity sensitive -
bpool/BOOT/ubuntu vscan off default
bpool/BOOT/ubuntu nbmand off default
bpool/BOOT/ubuntu sharesmb off default
bpool/BOOT/ubuntu refquota none default
bpool/BOOT/ubuntu refreservation none default
bpool/BOOT/ubuntu guid 15745059723263933600 -
bpool/BOOT/ubuntu primarycache all default
bpool/BOOT/ubuntu secondarycache all default
bpool/BOOT/ubuntu usedbysnapshots 95.8M -
bpool/BOOT/ubuntu usedbydataset 116M -
bpool/BOOT/ubuntu usedbychildren 0B -
bpool/BOOT/ubuntu usedbyrefreservation 0B -
bpool/BOOT/ubuntu logbias latency default
bpool/BOOT/ubuntu dedup off default
bpool/BOOT/ubuntu mlslabel none default
bpool/BOOT/ubuntu sync standard default
bpool/BOOT/ubuntu dnodesize legacy default
bpool/BOOT/ubuntu refcompressratio 1.09x -
bpool/BOOT/ubuntu written 90.9M -
bpool/BOOT/ubuntu logicalused 223M -
bpool/BOOT/ubuntu logicalreferenced 126M -
bpool/BOOT/ubuntu volmode default default
bpool/BOOT/ubuntu filesystem_limit none default
bpool/BOOT/ubuntu snapshot_limit none default
bpool/BOOT/ubuntu filesystem_count none default
bpool/BOOT/ubuntu snapshot_count none default
bpool/BOOT/ubuntu snapdev hidden default
bpool/BOOT/ubuntu acltype posixacl inherited from bpool
bpool/BOOT/ubuntu context none default
bpool/BOOT/ubuntu fscontext none default
bpool/BOOT/ubuntu defcontext none default
bpool/BOOT/ubuntu rootcontext none default
bpool/BOOT/ubuntu relatime on inherited from bpool
bpool/BOOT/ubuntu redundant_metadata all default
bpool/BOOT/ubuntu overlay off default
/etc/fstab:
bpool/BOOT/ubuntu /boot zfs nodev,relatime,x-systemd.requires=zfs-import-bpool.service 0 0
rpool/var/log /var/log zfs nodev,relatime 0 0
rpool/var/spool /var/spool zfs nodev,relatime 0 0
rpool/var/tmp /var/tmp zfs nodev,relatime 0 0
rpool/tmp /tmp zfs nodev,relatime 0 0
--
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/1834095
Title:
update-grub fails on zfs with root and boot datasets
Status in grub2 package in Ubuntu:
Incomplete
Bug description:
This issue was encountered on a virtual machine installation of Ubuntu
19.10 running zfs. After reloading several times from backup and
placing the original version of grub2 on hold it was verified that
upgrading to the newer version of grub caused update-grub to
improperly detect the two zfs datasets, bpool (boot pool) and rpool
(root pool).
To recap:
1) lsb_release -rd
Description: Ubuntu Eoan Ermine (development branch)
Release: 19.10
2) apt-cache policy grub-pc
grub-pc:
Installed: 2.02+dfsg1-12ubuntu2
Candidate: 2.02+dfsg1-12ubuntu3 (version with issue in this report)
Version table:
2.02+dfsg1-12ubuntu3 500
500 http://archive.ubuntu.com/ubuntu eoan/main amd64 Packages
*** 2.02+dfsg1-12ubuntu2 100
100 /var/lib/dpkg/status
3) What I expected to happen: update-grub runs without error
4) What happened instead: update-grub did not run correctly, resulting in unbootable system (only entries for memtest86+ in grub menu).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1834095/+subscriptions
More information about the foundations-bugs
mailing list