[libvirt] [PATCH 1/2] virsh: man: Mention that volumes need to be in storage pool for undefine

Eric Blake eblake at redhat.com
Wed Dec 18 15:16:10 UTC 2013


On 12/18/2013 07:10 AM, Peter Krempa wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1044445
> 
> When undefining a VM with storage the man page doesn't explicitly
> mention that the volumes need to be a part of the storage pool otherwise
> it won't work.
> ---
>  tools/virsh.pod | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK.  (Although this is yet another place where libvirt auto-creating
temporary storage pools for any disk referenced by a domain might be
nice...)

> 
> diff --git a/tools/virsh.pod b/tools/virsh.pod
> index 677931f..59213c6 100644
> --- a/tools/virsh.pod
> +++ b/tools/virsh.pod
> @@ -1794,7 +1794,8 @@ on inactive domains. Volume deletion is only attempted after the domain is
>  undefined; if not all of the requested volumes could be deleted, the
>  error message indicates what still remains behind. If a volume path is not
>  found in the domain definition, it's treated as if the volume was successfully
> -deleted.
> +deleted. Only volumes managed by libvirt in storage pools can be removed this
> +way.
>  (See B<domblklist> for list of target names associated to a domain).
>  Example: --storage vda,/path/to/storage.img
> 

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131218/3f0b569d/attachment-0001.sig>


More information about the libvir-list mailing list