From 01628f4b440b4cbc8cabf83422937e34c72a0c0f Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 5 Jun 2019 13:16:47 +0200 Subject: [PATCH] virsh: undefine: Clarify that --delete-storage-volume-snapshots causes failures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/virsh.pod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- GitLab