From: Mira Limbeck <m.limbeck@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [RFC cluster/manager/storage 0/4] add storage mapping support
Date: Mon, 10 Nov 2025 18:01:20 +0100 [thread overview]
Message-ID: <20251110170124.3460419-1-m.limbeck@proxmox.com> (raw)
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
next reply other threads:[~2025-11-10 17:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-10 17:01 Mira Limbeck [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251110170124.3460419-1-m.limbeck@proxmox.com \
--to=m.limbeck@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.