From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 CAA4CD6FE for ; Mon, 21 Aug 2023 11:10:53 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A29AE151A5 for ; Mon, 21 Aug 2023 11:10:23 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 ; Mon, 21 Aug 2023 11:10:23 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id C463242A22 for ; Mon, 21 Aug 2023 11:10:22 +0200 (CEST) Message-ID: <93168cee-93db-410f-6641-746ac83323d2@proxmox.com> Date: Mon, 21 Aug 2023 11:10:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Content-Language: en-US To: Proxmox VE development discussion , Leo Nunner References: <20230607133216.216761-1-l.nunner@proxmox.com> From: Fiona Ebner In-Reply-To: <20230607133216.216761-1-l.nunner@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 1.675 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -4.279 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH docs] storage: more documentation for content-dirs X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2023 09:10:53 -0000 Am 07.06.23 um 15:32 schrieb Leo Nunner: > give an overview over vtypes and also document the option for > cephfs. > While no big deal, sounds like it should be two patches ;) > Signed-off-by: Leo Nunner > --- > pve-storage-cephfs.adoc | 4 ++++ > pve-storage-dir.adoc | 20 ++++++++++++++++++++ > 2 files changed, 24 insertions(+) > > diff --git a/pve-storage-cephfs.adoc b/pve-storage-cephfs.adoc > index c10976b..6873660 100644 > --- a/pve-storage-cephfs.adoc > +++ b/pve-storage-cephfs.adoc > @@ -57,6 +57,10 @@ fuse:: > Access CephFS through FUSE, instead of the kernel client. Optional, defaults > to `0`. > > +content-dirs:: > + > +Overrides for the default directory layout. Optional. > + > .Configuration example for an external Ceph cluster (`/etc/pve/storage.cfg`) > ---- > cephfs: cephfs-external > diff --git a/pve-storage-dir.adoc b/pve-storage-dir.adoc > index 3367394..61dddeb 100644 > --- a/pve-storage-dir.adoc > +++ b/pve-storage-dir.adoc > @@ -59,6 +59,26 @@ in the following format: > Where `vtype` is one of the allowed content types for the storage, and > `path` is a path relative to the mountpoint of the storage. > > +.Overrides > +[width="100%",cols="d,m,m",options="header"] > +|=========================================================== > +|Content type |vtype | Example > +|VM images |`images` | images=sub/dir > +|ISO images |`iso` | iso=sub/dir > +|Container templates |`vztmpl` | vztmpl=sub/dir > +|Backup files |`backup` | backup=sub/dir > +|Snippets |`sinppet` | snippet=sub/dir > +|=========================================================== > + Typo: sinppet and it should be plural: snippets Maybe instead of adding a second table here, we could also just add a vtype column to the Directory layout table that's right above? > +So an override for VM images would look like `images=dir/path`, an > +override for ISO images like `iso=dir/path` etc. They can also be > +combined in a list: > + > +---- > +content-dirs images=dir/path,iso=dir/path > +---- > + > + > .Configuration Example (`/etc/pve/storage.cfg`) > ---- > dir: backup