HELP! Fixing logical volume problem
Hi,
It appears I accidentally renamed my main logical volume and now RHEL58 machine cannot boot normally. The original logvolume names were VolGroup00 and LogVol01, LogVol02, etc. The last command I used was Code:
vgrename -t VolGroup00 SysVolume Code:
Reading all physical volumes. This may take a while... |
Booting to a live media and starting with a 'vgscan' to see what the volume is now called. If it just needs to be renamed "VolGroup00" that should be straight forward, you already know the command (minus the -t). You can also use your time in the live environment to back up any important data to an external device or network location just in case something goes wrong.
|
[SOLVED] HELP! Fixing logical volume problem
Thanks! I was able to use the rescue mode from the installation disk, which put me into a shell, where all vg-related commands could be used with prefix lvm, like "lvm vgrename" instead of just "vgrename". I had first to deactivate the entire renamed logical volume "SysVolume" by using "lvm vgchange -an SysVolume", then "lvm vgrename SysVolume VolGroup00" and activate it back "lvm vgchange -ay VolGroup00" and reboot. Wheeew!
|
All times are GMT -5. The time now is 06:23 PM. |