| Summary: | support moving volume to another pool | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | alekibango |
| Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | berrange, crobinso, xen-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-23 14:42:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
alekibango
2011-12-07 00:56:29 UTC
Moving between different types of pools effectively means doing a deep copy of the data. This is in fact already possible by using the virStorageVolCreateXMLFrom API - this creates a volume in a pool, and then copies all data from the passed-in volume which can be in any other pool. Then just delete the original volume Explicit support for moving volumes between pools would however be useful for moving volumes between pools of the directory pool type, since a minimal overhead rename could be done instead of full copy+delete. We have vol-upload and vol-download APIs which can enable this |