[zfs-discuss] Grub error

Till Gerken till.gerken at gmail.com
Sun Sep 13 10:06:46 EDT 2015


Fajar A. Nugraha <list at fajar.net> schrieb am So., 13. Sep. 2015 um
15:01 Uhr:

> With that out of the way, can you show the output of
>
> zpool status your_pool_name
> zpool get all your_pool_name | grep feature@
> apt-cache policy grub-pc
>

I created a rescue stick before performing the upgrade. Attached is the
output of the commands, I also attached grub-probe again.

Note that even though apt-cache policy shows the correct version for
grub-pc, the package is unpacked on disk but post-install did not complete
because it does not detect the ZFS file system.

till at tricky:~$ sudo zpool status rpool

[sudo] password for till:

  pool: rpool

 state: ONLINE

status: Some supported features are not enabled on the pool. The pool can

still be used, but some features are unavailable.

action: Enable all features using 'zpool upgrade'. Once this is done,

the pool may no longer be accessible by software that does not support

the features. See zpool-features(5) for details.

  scan: scrub repaired 0 in 0h58m with 0 errors on Sun Sep 13 15:56:37 2015

config:


NAME                                    STATE     READ WRITE CKSUM

rpool                                   ONLINE       0     0     0

  mirror-0                              ONLINE       0     0     0

    ata-SAMSUNG_HD501LJ_S0MUJ1EQ159603  ONLINE       0     0     0

    ata-SAMSUNG_HD501LJ_S0MUJ1EQ159604  ONLINE       0     0     0


errors: No known data errors

till at tricky:~$


till at tricky:~$ sudo zpool get all rpool | grep feature@

rpool  feature at async_destroy       enabled                     local

rpool  feature at empty_bpobj         active                      local

rpool  feature at lz4_compress        active                      local

rpool  feature at spacemap_histogram  disabled                    local

rpool  feature at enabled_txg         disabled                    local

rpool  feature at hole_birth          disabled                    local

rpool  feature at extensible_dataset  disabled                    local

rpool  feature at embedded_data       disabled                    local

rpool  feature at bookmarks           disabled                    local

till at tricky:~$


till at tricky:~$ apt-cache policy grub-pc

grub-pc:

  Installed: 2.02~beta2-9ubuntu1.3

  Candidate: 2.02~beta2-9ubuntu1.3

  Version table:

 *** 2.02~beta2-9ubuntu1.3 0

        500 http://de.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64
Packages

        100 /var/lib/dpkg/status

     2.02~beta2-9 0

        500 http://de.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

till at tricky:~$


till at tricky:~$ sudo grub-probe -vvv /

grub-probe: info: cannot open `/boot/grub/device.map': No such file or
directory.

grub-probe: info: /dev/sda is not present.

grub-probe: info: Looking for /dev/sda.

grub-probe: info: /dev/sda is a parent of /dev/sda.

grub-probe: info: /dev/sdb is not present.

grub-probe: info: Looking for /dev/sdb.

grub-probe: info: /dev/sdb is a parent of /dev/sdb.

grub-probe: info: /dev/sda is present.

grub-probe: info: Looking for /dev/sda.

grub-probe: info: /dev/sda is a parent of /dev/sda.

grub-probe: info: /dev/sda is present.

grub-probe: info: Looking for /dev/sda.

grub-probe: info: /dev/sda is a parent of /dev/sda.

grub-probe: info: /dev/sdb is present.

grub-probe: info: Looking for /dev/sdb.

grub-probe: info: /dev/sdb is a parent of /dev/sdb.

grub-probe: info: /dev/sdb is present.

grub-probe: info: Looking for /dev/sdb.

grub-probe: info: /dev/sdb is a parent of /dev/sdb.

grub-probe: info: opening hostdisk//dev/sda.

grub-core/kern/disk.c:196: Opening `hostdisk//dev/sda'...

grub-probe: info: drive = 0.

grub-probe: info: the size of hostdisk//dev/sda is 976773168.

grub-core/kern/fs.c:56: Detecting zfs...

grub-core/osdep/hostdisk.c:415: opening the device `/dev/sda' in
open_device()

grub-core/fs/zfs/zfs.c:1187: label ok 0

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/fs/zfs/zfs.c:1187: label ok 1

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/fs/zfs/zfs.c:1187: label ok 2

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/fs/zfs/zfs.c:1187: label ok 3

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/kern/fs.c:78: zfs detection failed.

grub-core/kern/fs.c:56: Detecting xfs...

grub-core/kern/fs.c:78: xfs detection failed.

grub-core/kern/fs.c:56: Detecting ufs2...

grub-core/kern/fs.c:78: ufs2 detection failed.

grub-core/kern/fs.c:56: Detecting ufs1_be...

grub-core/kern/fs.c:78: ufs1_be detection failed.

grub-core/kern/fs.c:56: Detecting ufs1...

grub-core/kern/fs.c:78: ufs1 detection failed.

grub-core/kern/fs.c:56: Detecting udf...

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/kern/fs.c:78: udf detection failed.

grub-core/kern/fs.c:56: Detecting tarfs...

grub-core/kern/fs.c:78: tarfs detection failed.

grub-core/kern/fs.c:56: Detecting squash4...

grub-core/kern/fs.c:78: squash4 detection failed.

grub-core/kern/fs.c:56: Detecting sfs...

grub-core/kern/fs.c:78: sfs detection failed.

grub-core/kern/fs.c:56: Detecting romfs...

grub-core/kern/fs.c:78: romfs detection failed.

grub-core/kern/fs.c:56: Detecting reiserfs...

grub-core/kern/fs.c:78: reiserfs detection failed.

grub-core/kern/fs.c:56: Detecting procfs...

grub-core/kern/fs.c:78: procfs detection failed.

grub-core/kern/fs.c:56: Detecting odc...

grub-core/kern/fs.c:78: odc detection failed.

grub-core/kern/fs.c:56: Detecting ntfs...

grub-core/kern/fs.c:78: ntfs detection failed.

grub-core/kern/fs.c:56: Detecting nilfs2...

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/kern/fs.c:78: nilfs2 detection failed.

grub-core/kern/fs.c:56: Detecting newc...

grub-core/kern/fs.c:78: newc detection failed.

grub-core/kern/fs.c:56: Detecting minix_be...

grub-core/kern/fs.c:78: minix_be detection failed.

grub-core/kern/fs.c:56: Detecting minix3_be...

grub-core/kern/fs.c:78: minix3_be detection failed.

grub-core/kern/fs.c:56: Detecting minix3...

grub-core/kern/fs.c:78: minix3 detection failed.

grub-core/kern/fs.c:56: Detecting minix2_be...

grub-core/kern/fs.c:78: minix2_be detection failed.

grub-core/kern/fs.c:56: Detecting minix2...

grub-core/kern/fs.c:78: minix2 detection failed.

grub-core/kern/fs.c:56: Detecting minix...

grub-core/kern/fs.c:78: minix detection failed.

grub-core/kern/fs.c:56: Detecting jfs...

grub-core/kern/fs.c:78: jfs detection failed.

grub-core/kern/fs.c:56: Detecting iso9660...

grub-core/kern/fs.c:78: iso9660 detection failed.

grub-core/kern/fs.c:56: Detecting hfsplus...

grub-core/kern/fs.c:78: hfsplus detection failed.

grub-core/kern/fs.c:56: Detecting hfs...

grub-core/kern/fs.c:78: hfs detection failed.

grub-core/kern/fs.c:56: Detecting fat...

grub-core/kern/fs.c:78: fat detection failed.

grub-core/kern/fs.c:56: Detecting ext2...

grub-core/kern/fs.c:78: ext2 detection failed.

grub-core/kern/fs.c:56: Detecting exfat...

grub-core/kern/fs.c:78: exfat detection failed.

grub-core/kern/fs.c:56: Detecting cpiofs_be...

grub-core/kern/fs.c:78: cpiofs_be detection failed.

grub-core/kern/fs.c:56: Detecting cpiofs...

grub-core/kern/fs.c:78: cpiofs detection failed.

grub-core/kern/fs.c:56: Detecting cbfs...

grub-core/osdep/hostdisk.c:394: reusing open device `/dev/sda'

grub-core/kern/disk.c:421: Read out of range: sector 0x3a386030 (attempt to
read or write outside of disk `hostdisk//dev/sda').

grub-core/kern/fs.c:78: cbfs detection failed.

grub-core/kern/fs.c:56: Detecting btrfs...

grub-core/kern/fs.c:78: btrfs detection failed.

grub-core/kern/fs.c:56: Detecting bfs...

grub-core/kern/fs.c:78: bfs detection failed.

grub-core/kern/fs.c:56: Detecting afs...

grub-core/kern/fs.c:78: afs detection failed.

grub-core/kern/fs.c:56: Detecting affs...

grub-core/kern/fs.c:78: affs detection failed.

grub-probe: error: unknown filesystem.

till at tricky:~$



>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20150913/66478cab/attachment-0001.html>


More information about the zfs-discuss mailing list