Comment 4 for bug 1687664

Jens Elkner (jelmd) wrote :

BUG or not? At least I get mixed feelings, when I see, that the log device gets passed to grub-probe! E.g.:

+ zpool status rpool
  pool: rpool
 state: ONLINE
  scan: resilvered 547M in 0h0m with 0 errors on Thu May 18 03:49:08 2017
config:

 NAME STATE READ WRITE CKSUM
 rpool ONLINE 0 0 0
   mirror-0 ONLINE 0 0 0
     HDD0p2 ONLINE 0 0 0
     HDD12p2 ONLINE 0 0 0
 logs
   HDD2p3 ONLINE 0 0 0
 spares
   HDD1p2 AVAIL

errors: No known data errors

+ zpool status -P rpool
  pool: rpool
 state: ONLINE
  scan: resilvered 547M in 0h0m with 0 errors on Thu May 18 03:49:08 2017
config:

 NAME STATE READ WRITE CKSUM
 rpool ONLINE 0 0 0
   mirror-0 ONLINE 0 0 0
     /dev/chassis/SYS/HDD0p2 ONLINE 0 0 0
     /dev/chassis/SYS/HDD12p2 ONLINE 0 0 0
 logs
   /dev/chassis/SYS/HDD2p3 ONLINE 0 0 0
 spares
   /dev/chassis/SYS/HDD1p2 AVAIL

errors: No known data errors

and than on update-grub I see:

...
prepare_grub_to_access_device /dev/sda2 /dev/sdf2 /dev/sdb3
+ old_ifs=

+ IFS=

+ /usr/sbin/grub-probe --device /dev/sda2 /dev/sdf2 /dev/sdb3 --target=partmap
/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sda2. Check your device.map.
...