[libvirt-users] Renaming a LVM LV (where is vol-edit??)

Dax Kelson dkelson at gurulabs.com
Tue May 22 22:44:28 UTC 2012


On Tue, May 22, 2012 at 4:09 PM, Eric Blake <eblake at redhat.com> wrote:
>
> Your short-term workaround may unfortunately be limited to doing things
> manually with lvm commands.

To help others, this is the procedure I used:

1. Stop guest
2. lvrename <VGname> <LVoldname> <LVnewname>
3. virsh pool-refresh <PoolName>
4. virsh edit guestname  (LVoldname -> LVnewname)
5. Start guest

Thanks to Eric Blake for the pool-refresh tip.

Dax Kelson
Guru Labs




More information about the libvirt-users mailing list