Libvirt Storage Volume Renaming

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

There is no virsh command to rename a volume, but it can be achieved via the following sequence of steps:

1. Shutdown all the virtual machines that use the volume.

2. Delete the storage volume from the pool with virsh vol-delete.