]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: undefine: Clarify that --delete-storage-volume-snapshots causes failures
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Jun 2019 11:16:47 +0000 (13:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 6 Jun 2019 08:26:37 +0000 (10:26 +0200)
The flag causes undefine to fail if trying to remove a non-RBD disk. Add
a warning about that.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
ACKed-by: Eric Blake <eblake@redhat.com>
tools/virsh.pod

index fd9ba00d1f8e9c8da54fc8d14d88d22c500c3f8b..2e70b68a661a8033982afdd7c2b40c22e1ead303 100644 (file)
@@ -2936,7 +2936,9 @@ The I<--delete-storage-volume-snapshots> (previously I<--delete-snapshots>)
 flag specifies that any snapshots associated with
 the storage volume should be deleted as well. Requires the
 I<--remove-all-storage> flag to be provided. Not all storage drivers
-support this option, presently only rbd.
+support this option, presently only rbd. Using this when also removing volumes
+handled by a storage driver which does not support the flag will result in
+failure.
 
 The flag I<--wipe-storage> specifies that the storage volumes should be
 wiped before removal.