public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [RFC cluster/manager/storage 0/4] add storage mapping support
@ 2025-11-10 17:01 Mira Limbeck
  2025-11-10 17:01 ` [pve-devel] [RFC cluster] mapping: add storage.cfg Mira Limbeck
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Mira Limbeck @ 2025-11-10 17:01 UTC (permalink / raw)
  To: pve-devel

This RFC is the first draft of storage mapping support. It
includes a reworked iSCSI plugin that handles storage mapping, as well
as an API to get/create/delete mappings.

Some features are not yet implemented, for example reachability checks
for iSCSI.
The pve-manager patches are limited to the API, no UI exists for now.

The idea would be to make it easy for iSCSI storages to use local
mappings that are managed through the GUI.
For this we would need to check the reachability of all announced
portals for each node.
This will be the next step after the basic mapping support.

For now only an iSCSI plugin exists, but this could be extended to other
(future) storages as well. As such the idea is to have a generic base.


pve-cluster:

Mira Limbeck (1):
  mapping: add storage.cfg

 src/PVE/Cluster.pm  | 1 +
 src/pmxcfs/status.c | 1 +
 2 files changed, 2 insertions(+)

pve-manager:

Mira Limbeck (1):
  api: mapping: add storage mapping path

 PVE/API2/Cluster/Mapping.pm | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

pve-storage:

Mira Limbeck (2):
  add basic mapping support and iSCSI mapping plugin
  api: add mapping support

 src/PVE/API2/Storage/Makefile     |   2 +-
 src/PVE/API2/Storage/Mapping.pm   | 213 ++++++++++++++++++++++++++++++
 src/PVE/Storage.pm                |   3 +
 src/PVE/Storage/ISCSIPlugin.pm    | 207 +++++++++++++++++++++++------
 src/PVE/Storage/Makefile          |   4 +-
 src/PVE/Storage/Mapping.pm        |  44 ++++++
 src/PVE/Storage/Mapping/ISCSI.pm  |  54 ++++++++
 src/PVE/Storage/Mapping/Makefile  |   7 +
 src/PVE/Storage/Mapping/Plugin.pm |  88 ++++++++++++
 src/PVE/Storage/Plugin.pm         |   6 +
 10 files changed, 584 insertions(+), 44 deletions(-)
 create mode 100644 src/PVE/API2/Storage/Mapping.pm
 create mode 100644 src/PVE/Storage/Mapping.pm
 create mode 100644 src/PVE/Storage/Mapping/ISCSI.pm
 create mode 100644 src/PVE/Storage/Mapping/Makefile
 create mode 100644 src/PVE/Storage/Mapping/Plugin.pm

-- 
2.39.5


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-11-11 16:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-10 17:01 [pve-devel] [RFC cluster/manager/storage 0/4] add storage mapping support Mira Limbeck
2025-11-10 17:01 ` [pve-devel] [RFC cluster] mapping: add storage.cfg Mira Limbeck
2025-11-10 17:01 ` [pve-devel] [RFC manager] api: mapping: add storage mapping path Mira Limbeck
2025-11-10 17:01 ` [pve-devel] [RFC storage 1/2] add basic mapping support and iSCSI mapping plugin Mira Limbeck
2025-11-10 17:01 ` [pve-devel] [RFC storage 2/2] api: add mapping support Mira Limbeck
2025-11-11  9:08 ` [pve-devel] [RFC cluster/manager/storage 0/4] add storage " Mira Limbeck
2025-11-11 16:56 ` Friedrich Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal