[pve-devel] [RFC storage 0/6] import/export interface draft

Wolfgang Bumiller w.bumiller at proxmox.com
Thu May 11 09:36:14 CEST 2017


This is a first (working) draft of an import/export interface.

The idea is to provide the storage-side functionality required and
implemented twice - both by storage_migrate() and the replication patch
set's volume_send() plugin call.

The third patch replaces storage_migrate()'s ZFS case with an almost
storage agnostic implementation. The patches following it add transfer
format queries and the 6th patch then turns this into a storage type
independent implementation.

Thoughts?

Wolfgang Bumiller (6):
  pvesm: import/export commands
  pvesm: add delsnapshot command
  migrate: use pvesm import/export for zfs
  migrate: snapshot parameter for incremental transfer
  api: add import/export format querying
  migrate: query transfer stream formats

 PVE/CLI/pvesm.pm             | 164 +++++++++++++++++++++++++++++++++++++++++++
 PVE/Storage.pm               | 134 ++++++++++++++++++++++++++++-------
 PVE/Storage/Plugin.pm        |  21 ++++++
 PVE/Storage/ZFSPoolPlugin.pm |  65 +++++++++++++++++
 4 files changed, 358 insertions(+), 26 deletions(-)

-- 
2.11.0





More information about the pve-devel mailing list