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 6404C70A8F for ; Mon, 5 Apr 2021 10:23:07 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 510BF21E34 for ; Mon, 5 Apr 2021 10:23:07 +0200 (CEST) Received: from mx0.konsec.net (hbase53.h.konsec.com [88.99.94.78]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id F1AA221E28 for ; Mon, 5 Apr 2021 10:23:05 +0200 (CEST) Received: from kolab.konsec.com (unknown [10.21.1.190]) by mx0.konsec.net (Postfix) with ESMTPS id A112485C0A8 for ; Mon, 5 Apr 2021 10:22:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsec.com; s=201809; t=1617610979; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+IJo1fobFL+u3/XOqhJSR9v/c9fn3mMvEsg3xkgFpzs=; b=rdkeX37t/C/18MDiZZGfa9EUaJRQbfuOZNpDZJqS98y5AkswVKCvUbLHyK7V4tplPwQRBl Akyb9Y/PiG25hJqMpCj50InOt/+4Yy30Txe8mc/KrYYfdSiN2QjDwCLyHFk6Ji1AnMmU5I wT7ZFDr1GXWDx36CaKielaJcoHb4zvdMDE2Fb1l02DSEIQ52BOccrSQSpcuLz7Q3wLuuVR ILgc/iV1DJ0YXJLDTBdwP6j5VS+P1mgR9fk3EtugmasQLBkk2wJg6v8s+RBLJi2CfkitDj RdIoOQE1hLVFks34oGQZlXx2RPzPa4iwb9b75BBW2az/pk0lzMHC0wc5Tz+Bpw== Sender: martin.konold@konsec.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Mon, 05 Apr 2021 10:22:56 +0200 From: "Konold, Martin" To: Proxmox VE user list Message-ID: <7e9d1358dcb12b288e884547553e39b4@konsec.com> X-Sender: martin.konold@konsec.com Organization: KONSEC GmbH Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL -0.125 Adjusted score from AWL reputation of From: address 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 JMQ_SPF_NEUTRAL 0.5 SPF set to ?all SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [PVE-User] ZFS Disk Usage unexpected high 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: Mon, 05 Apr 2021 08:23:07 -0000 Hi, I set up a single VM which currently used 15TB of data. /dev/sdb is technically a ZFS volume on the Proxmox Host. [root@vm ~]# df -h /data Filesystem Size Used Avail Use% Mounted on /dev/sdb 40T 15T 25T 37% /data [root@vm ~]# du -s /data/ 14874345100 /data/ [root@host /]# zfs list zfs01/PVE-BE/vm-1-disk-1 NAME USED AVAIL REFER MOUNTPOINT zfs01/PVE-BE/vm-1-disk-1 31.5T 5.82T 31.5T - Why is the usage on the host about twice as large as within the vm? (Yes, I have given fstrim and discard a try). --=20 Regards ppa. Martin Konold -- Martin Konold - Prokurist, CTO KONSEC GmbH -=E2=81=A0 make things real Amtsgericht Stuttgart, HRB 23690 Gesch=C3=A4ftsf=C3=BChrer: Andreas Mack Im K=C3=B6ller 3, 70794 Filderstadt, Germany