From: Peter Krempa Date: Mon, 9 Mar 2026 16:30:24 +0000 (+0100) Subject: docs: storage: Note that refreshing the storage pool is needed on outside modification X-Git-Tag: v12.2.0-rc1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f552faab5366f2cef27b925574f4f40ed3652f30;p=thirdparty%2Flibvirt.git docs: storage: Note that refreshing the storage pool is needed on outside modification 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 Reviewed-by: Jiri Denemark --- diff --git a/docs/formatstorage.rst b/docs/formatstorage.rst index 9d9a4143eb..7ed57732af 100644 --- a/docs/formatstorage.rst +++ b/docs/formatstorage.rst @@ -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 `__ API. + Storage pool general metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~