[pve-devel] [PATCH-SERIES storage 0/6] basic RBD import/export

Fiona Ebner f.ebner at proxmox.com
Fri Dec 13 17:30:31 CET 2024


For now, only 'raw+size' is supported and it's not possible to
export/import with snapshots. The volume or snapshot is mapped using
krbd and then the data is read via 'dd'.

Introducing an 'rbd' transport format might be feasible for more
complete (i.e. with snapshots, incremental) transfer between two RBD
storages.

Fiona Ebner (5):
  rbd plugin: schema: document default value for 'krbd' setting
  export: redirect stdout to avoid any unrelated messages ending up in
    the export stream
  rbd plugin: factor out helper to check if volume already exists
  rbd plugin: implement volume import/export
  plugins: volume import: align size up to 1KiB

Max Carrara (1):
  common: introduce common module

 src/PVE/CLI/pvesm.pm            |   5 +-
 src/PVE/Storage/Common.pm       |  54 +++++++++++++
 src/PVE/Storage/Common/Makefile |   6 ++
 src/PVE/Storage/LVMPlugin.pm    |   4 +-
 src/PVE/Storage/Makefile        |   2 +
 src/PVE/Storage/Plugin.pm       |   4 +-
 src/PVE/Storage/RBDPlugin.pm    | 135 ++++++++++++++++++++++++++++++--
 7 files changed, 202 insertions(+), 8 deletions(-)
 create mode 100644 src/PVE/Storage/Common.pm
 create mode 100644 src/PVE/Storage/Common/Makefile

-- 
2.39.5





More information about the pve-devel mailing list