[pve-devel] [PATCH storage v3 0/2] add disk management

Dominik Csapak d.csapak at proxmox.com
Thu Jun 9 12:42:57 CEST 2016


changes to v2:
* refactor block device test to assert_blockdev
* remove the eval/die construct in init disk,
  let the run_command bail out on error
* warn on lvm/zfs run_command errors, to indicate something went wrong,
  but do not give up on listing the disks
* get zfs/lvm devices also per /dev/disk/by-parttypeuuid/ like ceph journals
  (for the case of non imported zpools/pvs)
* some additional explaining comments

Dominik Csapak (2):
  add Diskmanage Utilities
  add api entries for disk management

 PVE/API2/Disks.pm | 190 ++++++++++++++++++++++++
 PVE/API2/Makefile |   3 +-
 PVE/Diskmanage.pm | 420 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 PVE/Makefile      |   1 +
 4 files changed, 613 insertions(+), 1 deletion(-)
 create mode 100644 PVE/API2/Disks.pm
 create mode 100644 PVE/Diskmanage.pm

-- 
2.1.4





More information about the pve-devel mailing list