I am running Scientific Linux 7.4
I have run
vgrename to rename the volume group that contains my root filesystem. I thought this would be easy.
$ vgrenameold_vg new_vg
- edit /etc/fstab
- edit /etc/default/grub to replace old_vg with new_vg
- $ grub2-mkconfig -o /boot/grub2/grub.cfg
However, when I run
grub2-mkconfig I get the following error message
/usr/sbin/grub2-probe: error: failed to get canonical path of `/dev/mapper/old_vg-root'.
I have tried changing the volume group back using
vgrename but this does not seem to work. I am worried I may have done permanent damage to the logical volumes in the group. Is there a way to fix this?