[PATCH 3/3] virsh: undefine: Clarify that --delete-storage-volume-snapshots causes failures

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tools/virsh.pod | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/virsh.pod b/tools/virsh.pod
index fd9ba00d1f..11e853deea 100644
--- a/tools/virsh.pod
+++ b/tools/virsh.pod
@@ -2936,7 +2936,8 @@ 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 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.
-- 
2.21.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux