Actually, I just had a thought that LogVol01 could be the swap volume for your CentOS system. It's possible that the LiveCD you are using has automatically started using it as swap and could explain why it wasn't able to be removed. This might be shown by:
Code:
blkid -t TYPE=swap # show volumes/partitions of type swap |
Quote:
Code:
/dev/mapper/VolGroup00-LogVol01: UUID="............" TYPE="swap" Quote:
Code:
Filename Type Size Used Priority Quote:
If all looks ok, at this point, I need to stay in recovery and do the following: Code:
lvextend -L +100G /dev/VolGroup00/LogVol00 |
Quote:
Code:
/sbin/swapoff /dev/VolGroup00/LogVol01 # stop using this volume as swap. You can check progress with vgs (or vgdisplay) to ensure that the volume group has enough free storage. Quote:
|
Code:
/sbin/swapoff /dev/VolGroup00/LogVol01 # stop using this volume as swap. |
Can you try just swapoff on it's own (in case the path is different in your evironment) ?
The warning is great (!) since the command is a sure way to kill a system if typos are ever made in the volume name :). In this case we will be ok since we know there isn't anything important on LogVol01 ( /proc/swaps show Used = 0 ) but I would prefer swapoff to work first. |
that seems to have worked (no errors).
I have successfully extended the LV to 109.65 GB and am now able to see that /VolGroup00-LogVol00 has a size of 108G with only 9.6G used! Now I get to see if I can restore a Nagios install to this VM. THANK YOU!!! This forum has been invaluable!! |
Glad to see you go there, thanks for your eyes whizzit I was hitting the wall on this one. didn't think about it being set up as swap by the rescue CD, I'll have to keep that in mind.
|
Thanks for all of your help as well Kustom!
|
All times are GMT -5. The time now is 02:42 AM. |