From: Peter Krempa Date: Wed, 5 Jun 2019 11:16:47 +0000 (+0200) Subject: virsh: undefine: Clarify that --delete-storage-volume-snapshots causes failures X-Git-Tag: v5.5.0-rc1~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01628f4b440b4cbc8cabf83422937e34c72a0c0f;p=thirdparty%2Flibvirt.git virsh: undefine: Clarify that --delete-storage-volume-snapshots causes failures The flag causes undefine to fail if trying to remove a non-RBD disk. Add a warning about that. Signed-off-by: Peter Krempa Reviewed-by: Fabiano FidĂȘncio ACKed-by: Eric Blake --- diff --git a/tools/virsh.pod b/tools/virsh.pod index fd9ba00d1f..2e70b68a66 100644 --- a/tools/virsh.pod +++ b/tools/virsh.pod @@ -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.