]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: storage: Note that refreshing the storage pool is needed on outside modification
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Mar 2026 16:30:24 +0000 (17:30 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Mar 2026 13:50:55 +0000 (14:50 +0100)
Add a note stating that pool contents and metadata are not auto-updated
when the pool is modified outside of libvirt.

Closes: https://gitlab.com/libvirt/libvirt/-/work_items/749
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
docs/formatstorage.rst

index 9d9a4143eb6df84e59b5875c3f0e2478671c7765..7ed57732afdaef4f6c0ef42b1dadcb64eb068fdf 100644 (file)
@@ -25,6 +25,13 @@ attribute ``type``, which is one of ``dir``, ``fs``, ``netfs``, ``disk``,
 ``iscsi-direct`` ( :since:`since 4.7.0` ). This corresponds to the storage
 backend drivers listed further along in this document.
 
+ .. note::
+  Any modification of the storage pool outside of libvirt or on a different
+  host for shared storage pools may not update the cached volume or pool
+  metadata. The pool metadata can be refreshed by calling
+  ``virsh pool-refresh POOLNAME`` or by the
+  `virStoragePoolRefresh <html/libvirt-libvirt-storage.html#virStoragePoolRefresh>`__ API.
+
 Storage pool general metadata
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~