zfsonlinux / grub

GRUB enhancements for ZFS on Linux
16 stars 18 forks source link

Support for ZFS native encryption in grub-probe #24

Open pstch opened 7 years ago

pstch commented 7 years ago

Hi ! I'm not really sure that my problem is related to ZFS encryption, but I can't see what else would make grub-probe fail.

root@gramsci:/# zpool status -P
  pool: BIB
 state: ONLINE
  scan: none requested
config:

    NAME                                              STATE     READ WRITE CKSUM
    BIB                                               ONLINE       0     0     0
      mirror-0                                        ONLINE       0     0     0
        /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1  ONLINE       0     0     0
        /dev/disk/by-id/wwn-0x5000c5004c545f8b-part1  ONLINE       0     0     0

errors: No known data errors
root@gramsci:/# grub-probe --device /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 -vvv
grub-probe: info: adding `hd0' -> `/dev/sda' from device.map.
grub-probe: info: adding `hd1' -> `/dev/sdb' from device.map.
grub-probe: info: adding `hd2' -> `/dev/sdc' from device.map.
grub-probe: info: adding `hd3' -> `/dev/sde' from device.map.
grub-probe: info: /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 is present.
grub-probe: info: Looking for /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1.
grub-probe: info: /dev/sdc is a parent of /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1.
grub-probe: info: /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 starts from 2048.
grub-probe: info: opening the device hd2.
grub-core/kern/disk.c:196: Opening `hd2'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/kern/disk.c:196: Opening `hd2'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/partmap/gpt.c:114: GPT entry 8: start=585920512, length=16384
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc1' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/gpt.c:114: GPT entry 8: start=585920512, length=16384
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc9' in open_device()
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc9'
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc9'
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/dfly.c:72: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0xfc31; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd2'.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-probe: info: Partition 0 starts from 2048.
grub-core/kern/disk.c:295: Closing `hd2'.
grub-probe: info: /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 is present.
grub-probe: info: Looking for /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1.
grub-probe: info: /dev/sdc is a parent of /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1.
grub-probe: info: /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 starts from 2048.
grub-probe: info: opening the device hd2.
grub-core/kern/disk.c:196: Opening `hd2'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/kern/disk.c:196: Opening `hd2'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc' in open_device()
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/partmap/gpt.c:114: GPT entry 8: start=585920512, length=16384
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/gpt.c:114: GPT entry 8: start=585920512, length=16384
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/dfly.c:72: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0xfc31; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd2'.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-probe: info: Partition 0 starts from 2048.
grub-core/kern/disk.c:295: Closing `hd2'.
grub-probe: info: /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 is present.
grub-probe: info: Looking for /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1.
grub-probe: info: /dev/sdc is a parent of /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1.
grub-probe: info: /dev/disk/by-id/wwn-0x5000c5003a82bbdf-part1 starts from 2048.
grub-probe: info: opening the device hd2.
grub-core/kern/disk.c:196: Opening `hd2'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/kern/disk.c:196: Opening `hd2'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc' in open_device()
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc'
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/partmap/gpt.c:114: GPT entry 8: start=585920512, length=16384
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/gpt.c:114: GPT entry 8: start=585920512, length=16384
grub-core/disk/diskfilter.c:137: Scanning for DISKFILTER devices on disk hd2
grub-probe: info: Scanning for DISKFILTER devices on disk hd2.
grub-probe: info: Scanning for mdraid1x devices on disk hd2.
grub-probe: info: Scanning for mdraid09 devices on disk hd2.
grub-probe: info: Scanning for mdraid09_be devices on disk hd2.
grub-probe: info: Scanning for dmraid_nv devices on disk hd2.
grub-probe: info: Scanning for ldm devices on disk hd2.
grub-probe: info: scanning hd2 for LDM.
grub-probe: info: no LDM signature found.
grub-probe: info: Scanning for lvm devices on disk hd2.
grub-probe: info: no LVM signature found.
grub-core/partmap/dfly.c:72: bad magic (found 0x0; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0x0; wanted 0x4552)
grub-core/partmap/dfly.c:72: bad magic (found 0x20494645; wanted 0xc4464c59)
grub-core/partmap/apple.c:123: bad magic (found 0xfc31; wanted 0x4552)
grub-core/kern/disk.c:295: Closing `hd2'.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-probe: info: Partition 0 starts from 2048.
grub-core/kern/disk.c:295: Closing `hd2'.
grub-probe: info: opening hd2,gpt1.
grub-core/kern/disk.c:196: Opening `hd2,gpt1'...
grub-probe: info: drive = 2.
grub-probe: info: the size of hd2 is 585937500.
grub-core/partmap/gpt.c:90: Read a valid GPT header
grub-core/partmap/gpt.c:114: GPT entry 0: start=2048, length=585918464
grub-core/kern/fs.c:56: Detecting zfs...
grub-core/osdep/hostdisk.c:416: opening the device `/dev/sdc1' in open_device()
grub-core/fs/zfs/zfs.c:1192: label ok 0
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-core/fs/zfs/zfs.c:1007: check 2 passed
grub-core/fs/zfs/zfs.c:1018: check 3 passed
grub-core/fs/zfs/zfs.c:1025: check 4 passed
grub-core/fs/zfs/zfs.c:1035: check 6 passed
grub-core/fs/zfs/zfs.c:1043: check 7 passed
grub-core/fs/zfs/zfs.c:1054: check 8 passed
grub-core/fs/zfs/zfs.c:1064: check 9 passed
grub-core/fs/zfs/zfs.c:1086: check 11 passed
grub-core/fs/zfs/zfs.c:1112: check 10 passed
grub-core/fs/zfs/zfs.c:1128: str=com.delphix:hole_birth
grub-core/fs/zfs/zfs.c:1128: str=com.delphix:embedded_data
grub-core/fs/zfs/zfs.c:1137: check 12 passed (feature flags)
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 2048/2048
grub-core/fs/zfs/zfs.c:1899: endian = -1
grub-core/fs/zfs/zfs.c:595: dva=8, 80b370
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-core/fs/zfs/zfs.c:2681: endian = -1, blkid=0
grub-core/fs/zfs/zfs.c:2023: endian = -1
grub-core/fs/zfs/zfs.c:2054: endian = -1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 16384/4096
grub-core/fs/zfs/zfs.c:1899: endian = -1
grub-core/fs/zfs/zfs.c:595: dva=8, 80b368
grub-core/fs/zfs/zfs.c:2023: endian = 1
grub-core/fs/zfs/zfs.c:2049: endian = 1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 16384/4096
grub-core/fs/zfs/zfs.c:1899: endian = 1
grub-core/fs/zfs/zfs.c:595: dva=8, 80b350
grub-core/fs/zfs/zfs.c:2685: alive
grub-core/fs/zfs/zfs.c:2496: looking for 'features_for_read'
grub-core/fs/zfs/zfs.c:2023: endian = 1
grub-core/fs/zfs/zfs.c:2049: endian = 1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 16384/4096
grub-core/fs/zfs/zfs.c:1899: endian = 1
grub-core/fs/zfs/zfs.c:595: dva=8, 400bc0
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-core/fs/zfs/zfs.c:2506: zap read
grub-core/fs/zfs/zfs.c:2519: fat zap
grub-core/fs/zfs/zfs.c:2023: endian = 1
grub-core/fs/zfs/zfs.c:2049: endian = 1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 16384/4096
grub-core/fs/zfs/zfs.c:1899: endian = 1
grub-core/fs/zfs/zfs.c:595: dva=8, 400bb8
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-core/fs/zfs/zfs.c:2279: fzap: length 18
grub-core/fs/zfs/zfs.c:2523: returned 0
grub-core/fs/zfs/zfs.c:2681: endian = -1, blkid=1
grub-core/fs/zfs/zfs.c:2023: endian = -1
grub-core/fs/zfs/zfs.c:2054: endian = -1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 16384/4096
grub-core/fs/zfs/zfs.c:1899: endian = -1
grub-core/fs/zfs/zfs.c:595: dva=8, 80b368
grub-core/fs/zfs/zfs.c:2023: endian = 1
grub-core/fs/zfs/zfs.c:2049: endian = 1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 16384/4096
grub-core/fs/zfs/zfs.c:1899: endian = 1
grub-core/fs/zfs/zfs.c:595: dva=8, 80b360
grub-core/fs/zfs/zfs.c:2685: alive
grub-core/fs/zfs/zfs.c:2023: endian = 1
grub-core/fs/zfs/zfs.c:2049: endian = 1
grub-core/fs/zfs/zfs.c:1878: zio_read: E 0: size 1024/1024
grub-core/fs/zfs/zfs.c:1899: endian = 1
grub-core/fs/zfs/zfs.c:595: dva=8, 400bc8
grub-core/fs/zfs/zfs.c:2112: zap: name = org.illumos:lz4_compress, value = 1, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = com.delphix:hole_birth, value = 1, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = com.delphix:extensible_dataset, value = 5, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = com.delphix:embedded_data, value = 1, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = org.open-zfs:large_blocks, value = 0, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = org.zfsonlinux:large_dnode, value = 0, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = org.illumos:sha512, value = 0, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = org.illumos:skein, value = 0, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = org.illumos:edonr, value = 0, cd = 0
grub-core/fs/zfs/zfs.c:2112: zap: name = com.datto:encryption, value = 2, cd = 0
grub-core/kern/fs.c:78: zfs detection failed.
grub-core/kern/fs.c:56: Detecting xfs...
grub-core/fs/xfs.c:890: Reading sb
grub-core/fs/xfs.c:243: Validating superblock
grub-core/kern/fs.c:78: xfs detection failed.
grub-core/kern/fs.c:56: Detecting ufs2...
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
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:395: reusing open device `/dev/sdc1'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
grub-core/osdep/hostdisk.c:395: reusing open device `/dev/sdc1'
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/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:395: reusing open device `/dev/sdc1'
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.

I'm not really sure that this is caused by the encryption feature, but as it is the last line before zfs detection failed, it's my first guess. It seems that all checks have passed (up to check 12), but that something fails after that. y

pstch commented 7 years ago

This can also be the cause of issue #22 in the case of encrypted roots.

panlinux commented 5 years ago

I can confirm this also causes #22 . I have a (native) encrypted root with zfs v0.8.0-rc2_42_g06f3fc2a4 and grub-probe for / fails in the same way.

Popyllol commented 4 years ago

Same on Ubuntu 19.10.

It would be very nice to get this fixed because ecryptfs for swap is no option (because of a bug in some load conditions together with zfs) and on many systems it is not needed to encrypt all, but swap. So when you have just one pool configured and you enable encryption on one zfs you get an unbootable system.

Greetings, Lars

# lsb_release -a
LSB Version:    core-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:        19.10
Codename:       eoan
# dpkg -l libzfs2linux libnvpair1linux grub-pc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version        Architecture Description
+++-===============-==============-============-=====================================================
ii  grub-pc         2.04-1ubuntu16 amd64        GRand Unified Bootloader, version 2 (PC/BIOS version)
ii  libnvpair1linux 0.8.3-1ubuntu1 amd64        Solaris name-value library for Linux
ii  libzfs2linux    0.8.3-1ubuntu1 amd64        OpenZFS filesystem library for Linux