From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id AE1FD1FF165 for ; Wed, 15 Jan 2025 17:14:12 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9AEF610E95; Wed, 15 Jan 2025 17:14:10 +0100 (CET) Date: Wed, 15 Jan 2025 17:14:05 +0100 To: Daniel Kral , Proxmox VE development discussion References: <20250110170040.201474-1-d.kral@proxmox.com> <20250110170040.201474-2-d.kral@proxmox.com> <0999b2e1-8b8b-4baf-84d6-32251a675338@m2r.biz> <0472416b-6e05-4793-876f-cc679fccf70f@proxmox.com> In-Reply-To: <0472416b-6e05-4793-876f-cc679fccf70f@proxmox.com> MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Fabio Fantoni via pve-devel Precedence: list Cc: Fabio Fantoni 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: Re: [pve-devel] [RFC PATCH 2/2] common: btrfs: lower minimum amount of disks for raid10 to 2 Content-Type: multipart/mixed; boundary="===============8732649032182066739==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============8732649032182066739== 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) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id C4D49CD365 for ; Wed, 15 Jan 2025 17:14:09 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id AC64210E82 for ; Wed, 15 Jan 2025 17:14:09 +0100 (CET) Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 15 Jan 2025 17:14:08 +0100 (CET) Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-aaeec07b705so1099365366b.2 for ; Wed, 15 Jan 2025 08:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=m2r-biz.20230601.gappssmtp.com; s=20230601; t=1736957648; x=1737562448; darn=lists.proxmox.com; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=BuaqiPvZGBoUhQlQBkv1lpGTdYvT3+j+PkumLqFr3Ks=; b=iEi4RuuxKDgRcbNIuvg/6O6GYcWNReBjCVv6BGvinSFAUCSTCVWbPURCqfDDRxXEmJ ACxffu9RYeGmChUNxqGr11igjjUeQvARynC/Iyur4+idSjBA7RwT1qkFIOiRInx31Y7F 8XNMZicSnEUIk5uYTW5vBe3UvNUP0oJOeFgvB4piTzpvMiXj6IB+5al4OSHWGIxCZ/Is Bm8fwI4+BqtnbhdhOyiFbUz02ohPAuILIboxzBROsRrytUl8kmpluK3POGwfEoBbDjSh Q5d6nImR24iJJynUjeuZE61J3NiqXjsS3KYqQBmSnpfx4KdEzZowIHgwG7pn5KsufsnW hK9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736957648; x=1737562448; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BuaqiPvZGB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Ag== X-Received: by 2002:a17:907:7ba8:b0:ab2:f5e9:9a27 with SMTP id a640c23a62f3a-ab2f5e99b6amr1810295666b.28.1736957648273; Wed, 15 Jan 2025 08:14:08 -0800 (PST) Received: from [192.168.178.27] (host-79-35-192-124.retail.telecomitalia.it. [79.35.192.124]) by smtp.googlemail.com with ESMTPSA id a640c23a62f3a-ab2eadb6638sm640330066b.43.2025.01.15.08.14.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jan 2025 08:14:07 -0800 (PST) Message-ID: <65b62a24-fd78-4c4b-a7a9-5955237e872b@m2r.biz> Date: Wed, 15 Jan 2025 17:14:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [pve-devel] [RFC PATCH 2/2] common: btrfs: lower minimum amount of disks for raid10 to 2 To: Daniel Kral , Proxmox VE development discussion References: <20250110170040.201474-1-d.kral@proxmox.com> <20250110170040.201474-2-d.kral@proxmox.com> <0999b2e1-8b8b-4baf-84d6-32251a675338@m2r.biz> <0472416b-6e05-4793-876f-cc679fccf70f@proxmox.com> Content-Language: it From: Fabio Fantoni In-Reply-To: <0472416b-6e05-4793-876f-cc679fccf70f@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Antivirus: Avast (VPS 250115-8, 15/1/2025), Outbound message X-Antivirus-Status: Clean X-SPAM-LEVEL: Spam detection results: 0 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 DMARC_PASS -0.1 DMARC pass policy JMQ_SPF_NEUTRAL 0.5 SPF set to ?all KAM_INFOUSMEBIZ 0.75 Prevalent use of .info|.us|.me|.me.uk|.biz|xyz|id|rocks|life domains in spam/malware KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Il 15/01/2025 10:00, Daniel Kral ha scritto: > On 1/13/25 13:24, Fabio Fantoni wrote: >> btrfs profiles work differently but other hardware or software raids, >> many users may not inform themselves well beforehand but even in the >> case of informed users even if technically now btrfs allows lower >> limits with the creation of raid 0 (and raid10) I think it would be >> better to keep them at the base at the creation and then it must be >> the user who consciously makes any subsequent conversions. > > Hm, I'm still unsure about this, because AFAIK we already allow > creating ZFS RAID0 with a single disk, which technically also isn't a > "real" RAID0 setup itself. But fair point for RAID10, it could be > irritating for users to have a discrepancy between the minimum disk > amount of ZFS and BTRFS RAID10 and it'd be a bit harder to communicate > that in a understandable manner. I'm not really sure if the difference with zfs (which they might not use at all by btrfs users) is more impactful, or at least how proxmox implements it, but I think it's more what you would expect in general and even if it recently allows the use of the raid0 profile in "fictitious" cases without requirements, or the possible removal of disks without needing to convert the profile, it still seems strange to me to have a "particular" situation by default, perhaps confusing even more any less expert users. I could be wrong, it would be useful to have more people's opinions. > >> >> regarding btrfs profiles at creation, one thing that could be useful >> is to always put duplicate metadata (dup with single disk or raid 1 >> in the case of raid0), if you don't want it by default maybe put it >> as an additional option, and if you don't want that either at least >> add it to the documentation (as a suggestion if you want greater >> resilience of the filesystem without consuming excessive space) > > Currently, the installer creates the BTRFS filesystem with the data > and metadata both using the same profile. I also think it could be > valuable to have an "advanced" option, which allows to set a separate > profile for the metadata. > > Feel free to send either a RFC for it (even if I can't tell you > whether it will be accepted as it adds some complexity to the fs > setup) or create a Bugzilla so also other users and developers can > discuss it. > By default recently duplicate metadata is for all disk types, forcing them to single is a proxmox specific thing. so it seemed good to me to have at least the optional possibility to have them duplicated in the installation. eventually could at least inform about this thing in the documentation so that users are more aware and if they want they can convert the metadata profile easily and quickly (dup for single disk and raid1 in case of multiple disks in raid0). regarding opening discussions I tried for some things even if there were few or no answers. bugzilla seems to me little used, the forum is very much used and there is a minimum of participation but unfortunately given the enormous quantity of topics that are continuously created the topics quickly disappear from view. I don't know what is best to do, eventually I will try to write again on the forum. -- Questa email =C3=A8 stata esaminata alla ricerca di virus dal software anti= virus Avast. www.avast.com --===============8732649032182066739== 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 --===============8732649032182066739==--