I was able to reproduce on the system itself. Add rootdelay=3 to the
boot parameters, and the system will drop in the initramfs shell, zpool
imported, complaining it is not imported yet. Re-importing needed to get
it to mount rw. Leave rootdelay out: system boots fine. Tried several
times, consistently seeing the error.

So I decided not to touch the initrd yet for troubleshooting reasons. It
does not contain a zpool.cache file, and I'll attach the zfs script for
your reference (I did not alter it). The grub bootline is as follows:

linux   /System@/boot/vmlinuz-4.4.0-21-generic root=ZFS=systempool/System ro  
zswap.enabled=1 zswap.max_pool_percent=25 elevator=noop
initrd  /System@/boot/initrd.img-4.4.0-21-generic


** Attachment added: "initrd zfs script"
   
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1577057/+attachment/4653859/+files/zfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577057

Title:
  zfs initrd script fails when rootdelay boot option is set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1577057/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to