[pve-devel] [PATCH-SERIES storage/manager] disk-level storage removal for directory, LVM, LVM-thin, ZFS

Fabian Ebner f.ebner at proxmox.com
Mon Oct 25 15:47:43 CEST 2021


So that disks can easily be repurposed when a storage is no longer
needed.


Dependency bump pve-manager -> pve-storage is needed.


pve-storage:

Fabian Ebner (6):
  LVM: add lvm_destroy_volume_group
  api: disks: add DELETE endpoint for directory, lvm, lvmthin, zfs
  api: list thin pools: add volume group to properties
  diskmanage: add helper for udev workaround
  api: disks: delete: add flag for wiping disks
  api: disks: delete: add flag for cleaning up storage config

 PVE/API2/Disks.pm            |   7 +--
 PVE/API2/Disks/Directory.pm  |  96 +++++++++++++++++++++++++++++--
 PVE/API2/Disks/LVM.pm        |  84 +++++++++++++++++++++++++--
 PVE/API2/Disks/LVMThin.pm    |  98 ++++++++++++++++++++++++++++++--
 PVE/API2/Disks/ZFS.pm        | 107 +++++++++++++++++++++++++++++++++--
 PVE/API2/Storage/Config.pm   |  27 +++++++++
 PVE/Diskmanage.pm            |  11 ++++
 PVE/Storage/LVMPlugin.pm     |  11 ++++
 PVE/Storage/LvmThinPlugin.pm |   1 +
 9 files changed, 416 insertions(+), 26 deletions(-)


pve-manager:

Fabian Ebner (6):
  ui: node: directory: use gettext for 'Directory'
  ui: node: lvmthin: add volume group to columns
  ui: utils: add task descriptions for disk removal
  ui: node: add destroy menu for directory, lvm, lvmthin, zfs
  ui: node: storage removal: add checkbox for cleaning up disks
  ui: node: storage removal: add checkbox for cleaning up storage config

 www/manager6/Makefile                     |  1 +
 www/manager6/Utils.js                     |  3 +
 www/manager6/node/Directory.js            | 83 ++++++++++++++++++-
 www/manager6/node/LVM.js                  | 82 +++++++++++++++++++
 www/manager6/node/LVMThin.js              | 97 +++++++++++++++++++++++
 www/manager6/node/ZFS.js                  | 80 ++++++++++++++++++-
 www/manager6/window/SafeDestroyStorage.js | 39 +++++++++
 7 files changed, 382 insertions(+), 3 deletions(-)
 create mode 100644 www/manager6/window/SafeDestroyStorage.js

-- 
2.30.2





More information about the pve-devel mailing list