[pve-devel] [PATCH storage/widget-toolkit 0/2] List all OSDs on disk

Aaron Lauterer a.lauterer at proxmox.com
Tue Aug 22 11:04:54 CEST 2023


It is possible to have multiple OSD daemons on a single disk. This is
useful if fast NVME drives are used to utilize their full potential.

For these situations we want to list all OSD daemons that are located on
the disk in the disk panel of the node.

I added a new 'osdid-list' parameter to the Disks GET API endpoint for
this.
We can probably deprecate/remove the 'osdid' the next time we can
introduce breaking API changes.

storage: Aaron Lauterer (1):
  disks: get: add osdid-list return parameter

 src/PVE/API2/Disks.pm                         |  6 +++-
 src/PVE/Diskmanage.pm                         | 10 ++++++
 .../disk_tests/cciss/disklist_expected.json   |  1 +
 .../hdd_smart/disklist_expected.json          |  2 ++
 .../nvme_smart/disklist_expected.json         |  1 +
 .../disk_tests/sas/disklist_expected.json     |  1 +
 .../disk_tests/sas_ssd/disklist_expected.json |  1 +
 .../ssd_smart/disklist_expected.json          |  5 +++
 .../disk_tests/usages/disklist_expected.json  | 32 +++++++++++++------
 9 files changed, 49 insertions(+), 10 deletions(-)


widget-toolkit: Aaron Lauterer (1):
  DiskList: render osdid-list if present

 src/panel/DiskList.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.39.2






More information about the pve-devel mailing list