[CentOS] vgrename, lvrename

drew einhorn drew.einhorn at gmail.com
Sat Sep 11 15:45:55 EDT 2010


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.


/usr/sbin/lvchange -a n VolGroup00/LogVol00

but it still says:

   LV VolGroup00/LogVol00 in use: not deactivating

Did some googling and found out that other folks have had
problems with mkinitrd, but I haven't gotten that far yet.

Made a wild guess and killed my nautilus process, a lot of stuff
disappeared from the desktop, then reappeared along with a new
nautilus process.

Still googling, but haven't found anything useful so far.

Any idea?
Drew Einhorn

"You can see a lot by just looking."
  --  Yogi Berra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos/attachments/20100911/5235c721/attachment.html 

More information about the CentOS mailing list