[libvirt] how to delete storage-pool entirely

Eric Blake eblake at redhat.com
Thu Oct 25 18:08:53 UTC 2012


On 10/25/2012 09:22 AM, libvirt at 163.com wrote:

[please don't top-post on technical lists]

> hi, 
> 1.for netfs, it check not only  UUID  but alse  host-ip and dir   to find a suplicated pool.
> it needs a discuss. in my case  i need add several pool  which share a nfs-export.

Why do you need multiple pools visiting the same export?  I haven't
played with netfs pools much; perhaps demonstrating some actual pool XML
that you are trying to represent will help us understand what you are
trying to do.

> 2.if it is possible to supply a API  like   storagePoolLookupByHostAndDirString  for netfs?
> so easy to locate a pool with special host and dir?

If virStoragePoolLookupByName doesn't do what you want, then yes it
might be worth adding a new API that does the particular lookup that you
want.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121025/f904d48a/attachment-0001.sig>


More information about the libvir-list mailing list