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) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 1206062924 for ; Fri, 21 Jan 2022 12:10:48 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 05FC32F109 for ; Fri, 21 Jan 2022 12:10:48 +0100 (CET) Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS id E60D32F0F1 for ; Fri, 21 Jan 2022 12:10:46 +0100 (CET) Received: by picard.linux.it (Postfix, from userid 10) id 47FBA3C96DF; Fri, 21 Jan 2022 12:10:40 +0100 (CET) Received: from news by eraldo.lilliput.linux.it with local (Exim 4.89) (envelope-from ) id 1nArk1-0002zQ-JK for pve-user@lists.proxmox.com; Fri, 21 Jan 2022 12:06:01 +0100 From: Marco Gaiarin Date: Fri, 21 Jan 2022 11:06:18 +0100 Organization: Il gaio usa sempre TIN per le liste, fallo anche tu!!! Message-ID: References: <2b2b8b20-480a-38d4-2a5c-cc58afac7fa5@konzept-is.de> X-Trace: eraldo.lilliput.linux.it 1642762846 9600 192.168.24.2 (21 Jan 2022 11:00:46 GMT) To: Ralf Storm X-Mailer: tin/2.4.4-20191224 ("Millburn") (Linux/5.4.0-96-generic (x86_64)) X-Gateway-System: SmartGate 1.4.5 Cc: pve-user@lists.proxmox.com In-Reply-To: <2b2b8b20-480a-38d4-2a5c-cc58afac7fa5@konzept-is.de>; from SmartGate on Fri, Jan 21, 2022 at 12:06:01PM +0100 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.010 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% JMQ_SPF_NEUTRAL 0.5 SPF set to ?all KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment 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-User] Trim and ZFS pools on SSD... 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: Fri, 21 Jan 2022 11:10:48 -0000 Mandi! Ralf Storm In chel di` si favelave... > make sure your Vdisks are connected via scsi and the scsi controller is > virtioscsi, the discs need to have the checkmark "discard". > You can check if it works under ubuntu and debian wit hte command > "fstrim -av" - if there is no output it doesn`t work, otherwise, after a > while you will get the trim results displayed. No, sorry, i've posted two 'trim/discard' topic that (apart this) are totally unrelated. I'm speaking now of host OS, eg PVE: if i have an SSD-based ZFS pool, how can i trim it? Seems that recent 'zfsutils-linux' package add some 'framework' to do trim, but seems (totally) undocumented. So i'm seeking feedback. I hope i was clear now... -- Dai diamanti non nasce niente dal letame nascono i fior (F. De Andre`)