2015-02-25 13:50:22 UTC
In order to do a long SMART test for a drive inside a RAID, i offlined it
and issued the smartctl command, which took quite some time to finish.
In the meantime i went on with other stuff on the degraded pool, including
a software update.
Later, when the SMART test was over, i rebootet in order to make use of the
newer kernel and...
OOPS - grub couldnt boot any longer.
It turned out, that i forgot to online the device before the reboot. (Silly
Luckily, i still had a "rescue install" around outside the pool that i
could boot, import the pool and online the device, but...
Still things went bad, because the newer initrd still had a reference to
the zpool.cache with the offlined device in it.
Troubles went away after update-initramfs while the pool config was ONLINE
Imagine one device really failing on a raid pool with ZFS ROOT in it and
grub fails to boot from the pool? SCARY!
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.