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 459D71FF161 for ; Sat, 27 Sep 2025 18:07:29 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D89B91F60A; Sat, 27 Sep 2025 18:07:27 +0200 (CEST) Date: Sat, 27 Sep 2025 18:06:42 +0200 To: pve-user@lists.proxmox.com References: <4e2222b8-f423-41e3-a6fb-522a6f792f0b@gilouweb.com> <4d28ql-5ua2.ln1@leia.lilliput.linux.it> <4sidql-6r83.ln1@leia.lilliput.linux.it> In-Reply-To: <4sidql-6r83.ln1@leia.lilliput.linux.it> MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE user list List-Post: From: Matthieu Dreistadt via pve-user Precedence: list Cc: Matthieu Dreistadt 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="===============7240829638841258346==" Errors-To: pve-user-bounces@lists.proxmox.com Sender: "pve-user" --===============7240829638841258346== 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 E5E30D668A for ; Sat, 27 Sep 2025 18:07:25 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id BCCD51F4B0 for ; Sat, 27 Sep 2025 18:06:55 +0200 (CEST) Received: from mail.3-stadt.de (mail.3-stadt.de [IPv6:2a01:4f8:202:3187::103]) (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 ; Sat, 27 Sep 2025 18:06:55 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 50DFD2E15E5 for ; Sat, 27 Sep 2025 18:06:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=3-stadt.de; s=dkim; t=1758989207; h=from:subject:date:message-id:to:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=XgD2apG71eLhtfdEvmsiGj76xBIi8uSuR2wFynNJlE0=; b=hLS8ZcvveyzLCYBpv8btDvehVuduhPmUf1VvP0j4HGC4+HZTJipNLavRoiLJKIKSEbAhvc HgIr712g0GiZxnG7gGUmZ1+sx8cP6qxPoEQJYedFF++ZRBCa//3y+cN4pmn+nXQMU7Zv8l j4s/FMtEnp7MRo2fQQ6PrZMFN3jv50KlUUf3AZc3OtWXSjNdUSHit0tFUtvQ7AQIGBDDDO VROdLZHmHqi55NsbwE7qO5trs8pWxOnI+t8QguSiQcdaLuzTeN+vrD8O3xsrK/gO8XWxdq oSlh5RqU2QMUAAGiBcNqBsOR9BBP/q9uVz8RSgR+YIOcRCQ1JwUygSCq/0iypw== Message-ID: <831baaaa-3d7d-487c-be79-6162a05745b4@3-stadt.de> Date: Sat, 27 Sep 2025 18:06:42 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PVE-User] Analysis of free space... To: pve-user@lists.proxmox.com References: <4e2222b8-f423-41e3-a6fb-522a6f792f0b@gilouweb.com> <4d28ql-5ua2.ln1@leia.lilliput.linux.it> <4sidql-6r83.ln1@leia.lilliput.linux.it> From: Matthieu Dreistadt In-Reply-To: <4sidql-6r83.ln1@leia.lilliput.linux.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 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 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 POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [3-stadt.de] Hi Marco, you can check "zfs list -o space", which will give you a more detailed view of what is using the space: root@xxx:~# zfs list -o space NAME                          AVAIL   USED  USEDSNAP  USEDDS USEDREFRESERV  USEDCHILD rpool                          507G   354G        0B    104K      0B       354G rpool/ROOT                     507G  4.40G        0B     96K      0B      4.40G rpool/ROOT/pve-1               507G  4.40G     1.05G   3.35G      0B         0B rpool/data                     507G   312G        0B    112K      0B       312G rpool/data/subvol-105-disk-0  8.62G  11.4G     49.2M   11.4G      0B         0B Used = overall used Usedsnap = Used by Snapshots Usedds = Used Disk Space (not counting snapshots, only live data) Usedchild = Used by datasets/zvols further down in the same path (in my example, rpool has the same amount of Used and Usedchild space, since there is nothing directly inside of rpool itself) Cheers, Matthieu Am 24.09.2025 um 18:29 schrieb Marco Gaiarin: > Mandi! Marco Gaiarin > In chel di` si favelave... > >> Uh, wait... effectively we forgot to enable 'discard' on volumes, and we have >> enabled afterward (but rebooted the VM). >> I'll check refreservation property and report back. > No, volumes seems have all refreservation to 'none', as expected; current > situation is: > > root@lamprologus:~# zfs list | grep ^rpool-data > rpool-data 54.2T 3.84T 171K /rpool-data > rpool-data/vm-100-disk-0 1.11T 3.84T 1.11T - > rpool-data/vm-100-disk-1 2.32T 3.84T 2.32T - > rpool-data/vm-100-disk-10 1.82T 3.84T 1.82T - > rpool-data/vm-100-disk-11 2.03T 3.84T 2.03T - > rpool-data/vm-100-disk-12 1.96T 3.84T 1.96T - > rpool-data/vm-100-disk-13 2.48T 3.84T 2.48T - > rpool-data/vm-100-disk-14 2.21T 3.84T 2.21T - > rpool-data/vm-100-disk-15 2.42T 3.84T 2.42T - > rpool-data/vm-100-disk-16 2.15T 3.84T 2.15T - > rpool-data/vm-100-disk-17 2.14T 3.84T 2.14T - > rpool-data/vm-100-disk-18 3.39T 3.84T 3.39T - > rpool-data/vm-100-disk-19 3.40T 3.84T 3.40T - > rpool-data/vm-100-disk-2 1.32T 3.84T 1.32T - > rpool-data/vm-100-disk-20 3.36T 3.84T 3.36T - > rpool-data/vm-100-disk-21 2.50T 3.84T 2.50T - > rpool-data/vm-100-disk-22 3.22T 3.84T 3.22T - > rpool-data/vm-100-disk-23 2.73T 3.84T 2.73T - > rpool-data/vm-100-disk-24 2.53T 3.84T 2.53T - > rpool-data/vm-100-disk-3 213K 3.84T 213K - > rpool-data/vm-100-disk-4 213K 3.84T 213K - > rpool-data/vm-100-disk-5 2.33T 3.84T 2.33T - > rpool-data/vm-100-disk-6 2.28T 3.84T 2.28T - > rpool-data/vm-100-disk-7 2.13T 3.84T 2.13T - > rpool-data/vm-100-disk-8 2.29T 3.84T 2.29T - > rpool-data/vm-100-disk-9 2.11T 3.84T 2.11T - > > and a random volume (but all are similar): > > root@lamprologus:~# zfs get all rpool-data/vm-100-disk-18 | grep refreservation > rpool-data/vm-100-disk-18 refreservation none default > rpool-data/vm-100-disk-18 usedbyrefreservation 0B - > > Another strange thing is that all are 2TB volumes: > > root@lamprologus:~# cat /etc/pve/qemu-server/100.conf | grep vm-100-disk-19 > scsi20: rpool-data:vm-100-disk-19,backup=0,discard=on,replicate=0,size=2000G > > but: > > root@lamprologus:~# zfs list rpool-data/vm-100-disk-19 > NAME USED AVAIL REFER MOUNTPOINT > rpool-data/vm-100-disk-19 3.40T 3.84T 3.40T - > > why 'USED' is 3.40T? > > > Thanks. > --===============7240829638841258346== 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 --===============7240829638841258346==--