[CentOS] vgrename, lvrename

John R Pierce pierce at hogranch.com
Sat Sep 11 16:07:01 EDT 2010


  On 09/11/10 12:45 PM, drew einhorn wrote:
> Hi,
>
> I want to rename some volume groups and logical volumes.
>
> I was not surprised when it would not let me rename active volumes.
>
> So I booted up the system using the CentOS 5.5 LiveCD,
> but the LiveCD makes the logical volumes browsable using Nautilus,
> so they are still active and I can't rename them.
>
> Tried:
>
> /usr/sbin/lvchange -a n VolGroup00/LogVol00
>
> but it still says:
>
>    LV VolGroup00/LogVol00 in use: not deactivating

did you try booting the liveCD in single mode?  in grub, add the word 
'single' to the kernel line...  that won't mount anything.






More information about the CentOS mailing list