[libvirt] When are volumes 'detected' / refreshed

Daniel P. Berrange berrange at redhat.com
Mon Aug 4 08:58:19 UTC 2008


On Sun, Aug 03, 2008 at 03:04:37AM +0200, Stefan de Konink wrote:
> At what time are volumes currently detected on NetFS? I see there is 
> some sort of storage now going on, since deleting files from NFS doesn't 
> delete them from vol-list directly. (If this is fixed in a recent 
> version... I'm sorry to bother)

You must ask for a refresh - 'pool-refresh' or the equivalent C API.
This is because refreshing is a very expensive operation for some
types of storage pool, so we don't do it automatically.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list