Re: Renaming a LVM LV (where is vol-edit??)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/22/2012 04:04 PM, Dax Kelson wrote:
> Hello,
> 
> I'm using a LVM storage pool. I renamed a guest and I would like to
> change the LV name to match to avoid future confusion.
> 
> How do i do this? There is no vol-edit command (fully updated RHEL6).

I agree that 'vol-edit' (or even a subset 'vol-rename') would be nice,
but someone has to code it up.  Meanwhile, you can use 'vol-create-from'
or 'vol-clone' to create a new volume based on the old one with
identical contents but the new name, then delete the old one; but this
is obviously storage-intensive compared to just renaming things.

Your short-term workaround may unfortunately be limited to doing things
manually with lvm commands.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux