I've had this happen maybe a dozen times over the years and I wonder if
anyone knows what I'm doing to cause it.
I reboot and grub fails to find anything. ls shows memdisk and the main
disk but nothing else. insmod lvm etc makes no difference at all.
But once you run pvresize on the PV, grub is happy again and finds
everything it needs to boot.
(Note that everything is inside the VG, there's no separate boot
partition.)
There's neither rhyme nor reason why this is happening - which makes it
doubly frustrating - if it's easy to get to the problem VG it's easy to
fix, but if it's a remote machine then you lose all ability to boot
anything at all and you're down to trying to remember how to boot to a
rescue over ipmi.
Does anyone know what I might be doing to cause this to happen, or how I
can detect it ahead of a reboot? (Although I'm not sure whether you can
run pvresize on an in-use PV.)
Note, LVM etc is perfectly happy, it's grub that is confused.
Tim.