From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id E89901FF0BC for ; Wed, 02 Dec 2026 14:51:54 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id A165D215DA; Wed, 02 Dec 2026 14:51:51 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 02 Dec 2026 14:51:47 +0100 Message-Id: Subject: Re: [PATCH manager 0/3] ui: lvm: encourage the use of saferemove or on-volume-remove From: "Lukas Sichert" To: "Lukas Sichert" , "Maximiliano Sandoval" , References: <20261127153243.488023-1-m.sandoval@proxmox.com> In-Reply-To: X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1796219507799 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.395 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: WIW6YZF2P2I6KXHJ3BSU2FAADO76JKCD X-Message-ID-Hash: WIW6YZF2P2I6KXHJ3BSU2FAADO76JKCD X-MailFrom: l.sichert@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 2026-12-02 11:42, Lukas Sichert wrote: > On 2026-11-27 16:32, Maximiliano Sandoval wrote: > >> This series adds the checkmarks present in the LVM edit dialog to the >> storage wizard (e.g. creating a LVM over iSCSI) and displays a warning >> when both are disabled. >> >> Future steps: >> >> - Document in the LVM plugin which option one should enabled based on >> the setup, e.g. is the LUN thin-provisioned? Are there multiple users >> creating/removing disk images in it? >> >> - Link this documentation in the warnings >> >> - Re-evaluate the defaults when creating a new LVM. It might be >> possible to detect for the user a better combination of saferemove & >> on-volume-remove than having both disavbled. > > I tested this with the Shared LVM on iSCSI, NVMEoF, FibreChannel Wizard > and the LVMEdit window. > > Everything worked as expected. > With the nit addressed consider: > > Tested-by: Lukas Sichert > Reviewed-by: Lukas Sichert > > I will send a patch for the Documentation soon. I did not think about the wording of the warnings carefully enough. It makes it sound like discard is supposed to give back zeroes for discarded data, which is not the case in general. As discussed off-list I will include a revised version of this in my documentation patch.