1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-07 17:28:15 +00:00

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 <pkrempa@redhat.com>
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
ACKed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Peter Krempa 2019-06-05 13:16:47 +02:00
parent 86608f787e
commit 01628f4b44

View File

@ -2936,7 +2936,9 @@ The I<--delete-storage-volume-snapshots> (previously I<--delete-snapshots>)
flag specifies that any snapshots associated with flag specifies that any snapshots associated with
the storage volume should be deleted as well. Requires the the storage volume should be deleted as well. Requires the
I<--remove-all-storage> flag to be provided. Not all storage drivers 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 The flag I<--wipe-storage> specifies that the storage volumes should be
wiped before removal. wiped before removal.