From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id CC1FE1FF179 for ; Wed, 29 Oct 2025 10:27:00 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D3FEF46F8; Wed, 29 Oct 2025 10:27:30 +0100 (CET) To: pve-devel@lists.proxmox.com Date: Wed, 29 Oct 2025 10:18:10 +0100 In-Reply-To: <20251029091811.2800592-1-alwin@antreich.com> References: <20251029091811.2800592-1-alwin@antreich.com> MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Alwin Antreich via pve-devel Precedence: list Cc: Alwin Antreich X-Mailman-Version: 2.1.29 X-BeenThere: pve-devel@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE development discussion List-Help: Subject: [pve-devel] [PATCH docs v2 2/3] pveceph: add section about ceph configuration Content-Type: multipart/mixed; boundary="===============5099732162942199623==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============5099732162942199623== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: pve-devel@lists.proxmox.com Delivered-To: pve-devel@lists.proxmox.com Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 5930ED622A for ; Wed, 29 Oct 2025 10:27:29 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 3A8D84563 for ; Wed, 29 Oct 2025 10:26:59 +0100 (CET) Received: from mx.antreich.com (mx.antreich.com [173.249.42.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 29 Oct 2025 10:26:57 +0100 (CET) Received: from mx.antreich.com (localhost [127.0.0.1]) by mx.antreich.com (Proxmox) with ESMTP id 20E3B760F98 for ; Wed, 29 Oct 2025 10:18:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antreich.com; h= cc:content-transfer-encoding:date:from:from:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=2025; bh=XLrlZOdOco4etQogbxV+pd/0FQLBv+F6IWS8sX9CiVk=; b= eL/3WP1jjy0tlCOawwW0eviB8YAau6Xz23o1utwHLIYWwTitKH2896VbYq1gRrOz zFHztSWZO7y2r84wNEAycnOihfuXpCDxWgaX3v6zcekp9ZvPF5VF579OZUWT0ZYH zFCkzvLnSC3Oenf0PAuGOKNy1xn3jmeQaww5WUZ92gGf8oJKRzmERea2PFu3OEie WGkroCG9F9VVfKso4Ips7kF1IpeyqAOIU29DM5V/pVaboa5qQ54Gv5MJ7+IV15bt B1bc3aBAmnYm0Y935jIz1S6AkLamEgdYGQl9/CiYU0dZCKoZnWmKameVnzJ4joaO QxIWWWxuP2CjKSwDnegFEQ== From: Alwin Antreich To: pve-devel@lists.proxmox.com Subject: [PATCH docs v2 2/3] pveceph: add section about ceph configuration Date: Wed, 29 Oct 2025 10:18:10 +0100 Message-Id: <20251029091811.2800592-2-alwin@antreich.com> In-Reply-To: <20251029091811.2800592-1-alwin@antreich.com> References: <20251029091811.2800592-1-alwin@antreich.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.078 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record to illustrate how to change the configuration in the MON DB. Signed-off-by: Alwin Antreich --- pveceph.adoc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/pveceph.adoc b/pveceph.adoc index 1ed6666..cefecad 100644 --- a/pveceph.adoc +++ b/pveceph.adoc @@ -567,6 +567,36 @@ The CLI command to destroy the OSD is: pveceph osd destroy [--cleanup] ---- +[[pve_ceph_configuration]] +Ceph Configuration +------------------ + +Ceph daemon and clients pull their configuration from one or more sources +footnote:[Ceph config sources https://docs.ceph.com/en/latest/rados/configuration/ceph-conf/#config-sources]. +In {PVE}, a minimal ceph.conf file is used to hold bootstrap settings. Most of +the configuration is held in the central configuration database maintained by +the MON services. + +To persistently change configuration values use the bellow commands +footnote:[Ceph MON DB commands https://docs.ceph.com/en/latest/rados/configuration/ceph-conf/#commands]: + +[frame="none",grid="none", align="left", cols="30%,70%"] +|=== +|ceph config dump|Show all configuration option(s) +|ceph config get |Show configuration option(s) for an entity +|ceph config set |Set a configuration option for one or more entities +|ceph config rm | Clear a configuration option for one or more entities +|=== + +.Example for increasing the osd_memory_target for all OSD daemons +[source,bash] +---- +ceph config set osd osd_memory_target 8G +---- + +NOTE: If an option exists in a local configuration file, the configuration in +the MON DB will be ignored because it has a lower precedence. + [[pve_ceph_pools]] Ceph Pools -- 2.39.5 --===============5099732162942199623== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel --===============5099732162942199623==--