all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Aaron Lauterer <a.lauterer@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH docs v3] pveceph: add section for rbd namespaces
Date: Fri,  4 Apr 2025 16:53:39 +0200	[thread overview]
Message-ID: <20250404145339.1067261-7-a.lauterer@proxmox.com> (raw)
In-Reply-To: <20250404145339.1067261-1-a.lauterer@proxmox.com>

and a few basic examples on how to manage them.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
changes since v2:
* {pve} instead of written out
* incorporated other small fixes and style recommendation

v1: none

 pveceph.adoc | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/pveceph.adoc b/pveceph.adoc
index 79aa045..ab0be25 100644
--- a/pveceph.adoc
+++ b/pveceph.adoc
@@ -800,6 +800,47 @@ You can find a more in-depth introduction to the PG autoscaler on Ceph's Blog -
 https://ceph.io/rados/new-in-nautilus-pg-merging-and-autotuning/[New in
 Nautilus: PG merging and autotuning].
 
+[[pve_ceph_rbd_namespaces]]
+RBD Namespaces
+~~~~~~~~~~~~~~
+
+Namespaces in the rados block device (RBD) layer can be used to have multiple
+Proxmox VE clusters using the same pool, but still be logically separated.
+Namespaces can be managed in the web UI in the 'Node -> Ceph -> Pools' panel.
+
+Alternatively, the `pveceph` or Ceph's `rbd` footnote:[https://docs.ceph.com/en/latest/man/8/rbd/]
+utility can be used too. To list all RBD namespaces of the pool `vmstore`, run the
+following command:
+[source, bash]
+----
+pveceph pool namespace ls vmstore
+----
+The result will be for example:
+[source, bash]
+----
+┌───────────┐
+│ Namespace │
+╞═══════════╡
+│ bar       │
+├───────────┤
+│ foo       │
+└───────────┘
+----
+
+To create a new RBD namespace `baz` in the pool `vmstore`, run:
+[source, bash]
+----
+pveceph pool namespace create vmstore baz --add-storage 1
+----
+The `--add-storage` parameter is optional an when set, will create a new
+storage configuration with the new namespace.
+
+To delete the `baz` RBD namespace in pool `vmstore`:
+[source, bash]
+----
+pveceph pool namespace destroy vmstore baz
+----
+
 
 [[pve_ceph_device_classes]]
 Ceph CRUSH & Device Classes
-- 
2.39.5



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

  parent reply	other threads:[~2025-04-04 14:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-04 14:53 [pve-devel] [PATCH manager, docs v3 0/6] Ceph: add RBD Namespace management Aaron Lauterer
2025-04-04 14:53 ` [pve-devel] [PATCH manager v3 1/6] api: ceph: add rbd namespace management endpoints Aaron Lauterer
2025-04-04 14:53 ` [pve-devel] [PATCH manager v3 2/6] pveceph: add pool namespace subcommands Aaron Lauterer
2025-04-04 14:53 ` [pve-devel] [PATCH manager v3 3/6] ui: ceph pool: add rbd namespace panel Aaron Lauterer
2025-04-04 15:19   ` [pve-devel] [PATCH manager v3 3/6 follow up] " Aaron Lauterer
2025-04-04 14:53 ` [pve-devel] [PATCH manager v3 4/6] ui: utils: add ceph rbd namespace task names Aaron Lauterer
2025-04-04 14:53 ` [pve-devel] [PATCH manager v3 5/6] ui: storage rbd: remove hint for manual rbd namespace creation Aaron Lauterer
2025-04-04 14:53 ` Aaron Lauterer [this message]
2025-04-11  8:33   ` [pve-devel] [PATCH docs v3 follow-up] pveceph: add section for rbd namespaces Aaron Lauterer

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=20250404145339.1067261-7-a.lauterer@proxmox.com \
    --to=a.lauterer@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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal