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 35EA762639 for ; Thu, 20 Jan 2022 13:23:39 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 2411624CAF for ; Thu, 20 Jan 2022 13:23:09 +0100 (CET) Received: from mail.pa.ass.de (mail.pa.ass.de [49.12.163.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 5F96824CA4 for ; Thu, 20 Jan 2022 13:23:08 +0100 (CET) From: "Daniel Plominski" To: "Proxmox VE user list" Date: Thu, 20 Jan 2022 12:23:06 +0000 Message-Id: In-Reply-To: References: Reply-To: "Daniel Plominski" User-Agent: eM_Client/9.0.549.0 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_SHORT 0.001 Use of a URL Shortener for very short URL SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [ass.de] Subject: Re: [PVE-User] Force reclaiming space on a vdisk... X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 12:23:39 -0000 Hello, we have had very bad experience with trim, due to a virtio driver error,=20 a special release, the trim resulted in a corrupt Windows NTFS file=20 system. The bug is fixed in the latest stable VirtIO drivers, but we only use=20 the legacy method using targeted "dd" (zero) cleanup on Linux / BSD VMs=20 and on Windows using "fsutil". >From the perspective of the HOST system, a zvolume formatted with=20 filesystem and stored data is simply a "data container" with=20 unstructured data (depending on the structure, however, this can be=20 compressed well). If now within the VM an area with zeros is written, this zvolume area is=20 stimulated to overwrite the contained data, the process is compressed=20 and the occupied blocks are released. The block free up should also work with the ZFS algorithm "zle". How often the cells of an SSD / NVME memory are overwritten depends on=20 the internal intelligence of the firmware / controller of the respective=20 memory. TRIM "Discard" (if supported by the hardware, the hypervisor, the=20 hypervisor driver and the guest OS) can be used to better control this=20 remapping. ASS - Der Bildungseinrichter GmbH Mit freundlichen Gr=C3=BC=C3=9Fen DANIEL PLOMINSKI Leitung IT | Head of IT Telefon 09265 808-151 | Mobil 0151 58026316 | dpl@ass.de PGP Key: https://pgp.ass.de/dpl@ass.de.asc PGP Fingerprint: 74DBC06BD9F63187C4DF8934C96585A89CFC10B3 Company Logo ASS-Einrichtungssysteme GmbH =09 ASS-Adam-Stegner-Stra=C3=9Fe 19 | D-96342 Stockheim Gesch=C3=A4ftsf=C3=BChrer: Matthias Stegner, Michael Stegner, Ralph M=C3= =BCller =09 Amtsgericht Coburg HRB 3395 | Ust-ID: DE218715721 Bottom_Line