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 A981D1FF165 for ; Thu, 9 Oct 2025 22:22:27 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id C896F777F; Thu, 9 Oct 2025 22:22:27 +0200 (CEST) Date: Thu, 09 Oct 2025 20:21:46 +0000 To: "Proxmox VE user list" In-Reply-To: References: <5letql-mot2.ln1@leia.lilliput.linux.it> MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE user list List-Post: From: Alwin Antreich via pve-user Precedence: list Cc: Alwin Antreich X-Mailman-Version: 2.1.29 X-BeenThere: pve-user@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE user list List-Help: Subject: Re: [PVE-User] Analysis of free space... Content-Type: multipart/mixed; boundary="===============3374216133882950922==" Errors-To: pve-user-bounces@lists.proxmox.com Sender: "pve-user" --===============3374216133882950922== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: pve-user@lists.proxmox.com Delivered-To: pve-user@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)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 6718DDBCB2 for ; Thu, 9 Oct 2025 22:22:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 413E176C3 for ; Thu, 9 Oct 2025 22:21:55 +0200 (CEST) Received: from mx.antreich.com (mx.antreich.com [173.249.42.230]) (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 for ; Thu, 9 Oct 2025 22:21:53 +0200 (CEST) Received: from mx.antreich.com (localhost [127.0.0.1]) by mx.antreich.com (Proxmox) with ESMTP id 6C998760C1F; Thu, 09 Oct 2025 22:21:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antreich.com; h= cc:cc:content-type:content-type:date:from:from:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to; s=2025; bh=72OJa3JGquq3QoJ09g0GXgJNQLOInBWuhM9xAX6vp1g=; b= V+dlL6rwi8dpTOulkkMze18f5Rql5gJYw+vg5RoT4VrwUONbrC6jQQ5INFqr2Ms8 V44tP1sXFEDLycHLlPv6Eh9dikoQ75DcIOCfVcjoyPuIUn6T3VFpyLsi1xYA6hbc m/BbaIrTM6ZHmfALgRJBJSYD9jpcY1sy2vdoB/OpMMcTAP4r8/wSzHzrCyYZ0/h/ EmT2wP4K12NHRSuTDu6PLp1fgb83VBTSBmL/XXj+CcP5Jbjm1FPPT19CuHjMR2u1 xgIdh71ozxG6JtblsmeZduXfp1fI/XkTweZOsusJL/yjLtd0DPWDOwwkSSE33bI7 oJe+Gfp315msexGuWO0/dQ== MIME-Version: 1.0 Date: Thu, 09 Oct 2025 20:21:46 +0000 From: "Alwin Antreich" Message-ID: <83a699e14058057ed3467637dc2f2e1fa4199a08@antreich.com> TLS-Required: No Subject: Re: [PVE-User] Analysis of free space... To: "Proxmox VE user list" In-Reply-To: References: <5letql-mot2.ln1@leia.lilliput.linux.it> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.080 Adjusted score from AWL reputation of From: address 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 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain DMARC_PASS -0.1 DMARC pass policy HTML_MESSAGE 0.001 HTML included in message SPF_HELO_PASS -0.001 SPF: HELO matches SPF record SPF_PASS -0.001 SPF: sender matches SPF record Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Hi Marco, October 6, 2025 at 1:32 PM, "Marco Gaiarin" wrote: >=20 >=20Mandi! Alwin Antreich via pve-user > In chel di` si favelave... >=20 >=20>=20 >=20> Hm... I assume you're running a RAIDz1? > >=20 >=20root@lamprologus:~# mailto:root@lamprologus:~# zpool status rpool-da= ta > pool: rpool-data > state: ONLINE > status: Some supported and requested features are not enabled on the po= ol. > The pool can still be used, but some features are unavailable. > action: Enable all features using 'zpool upgrade'. Once this is done, > the pool may no longer be accessible by software that does not support > the features. See zpool-features(7) for details. > scan: scrub repaired 0B in 1 days 15:06:52 with 0 errors on Mon Sep 15= 15:30:54 2025 > config: >=20 >=20 NAME STATE READ WRITE CKSUM > rpool-data ONLINE 0 0 0 > raidz1-0 ONLINE 0 0 0 > scsi-35000c500d2ae07db ONLINE 0 0 0 > scsi-35000c500d2ae767f ONLINE 0 0 0 > scsi-35000c500e24688cf ONLINE 0 0 0 > scsi-35000c500d2af2d43 ONLINE 0 0 0 > scsi-35000c500d2aee0df ONLINE 0 0 0 > scsi-35000c500d2af4693 ONLINE 0 0 0 > scsi-35000c500f9797483 ONLINE 0 0 0 > scsi-35000c500d2ae777f ONLINE 0 0 0 > scsi-35000c500d2af3e77 ONLINE 0 0 0 >=20 >=20errors: No known data errors >=20 >=20Yep. >=20 >=20>=20 >=20> See the link: https://pve.proxmox.com/pve-docs/pve-admin-guide.html= #sysadmin_zfs_raid_size_space_usage_redundancy > >=20 >=20OK. But this can explain some data, not 20TB of not reclaimed space; = and, as > just stated, if i delete now (after that i've set discard=3Don on volum= e > property) data, space get correctly reclaimed. >=20 The=20parity is calculated for data written and by the docs [0], it is 8K= zvol block + 4K parity (50%).=C2=A0See also the openzfs docs [1]. By that calculation you'll need 512 GB for every 1 TB written. That means= that the 2TB disk will use 3TB on ZFS, plus some extra. I hope this helps. Cheers, Alwin [0]=C2=A0https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_z= fs_raid_size_space_usage_redundancy [1]=C2=A0https://openzfs.github.io/openzfs-docs/Basic%20Concepts/RAIDZ.ht= ml --===============3374216133882950922== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-user mailing list pve-user@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user --===============3374216133882950922==--