I'm struggling to update grub2 after using 'vgrename' on my root VG in Centos 7. I ran 'vgrename' successfully, then edited /etc/fstab with the VG name, then edited 'GRUB_CMDLINE_LINUX=' in /etc/default/grub with the new VG name, then attempted to run grub2-mkconfig. It's at this point I get the error:
# grub2-mkconfig
/usr/sbin/grub2-probe: error: failed to get canonical path of ‘/dev/mapper/centos_prod--stor01-root’.
This canonical path it's pointing to is the old VG name. I don't understand this as I assumed that updating the VG name in /etc/default/grub would have resolved that? Any help appreciated :)