From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <oscar@dearriba.es> 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 1C7E79279B for <pve-user@lists.proxmox.com>; Thu, 29 Dec 2022 11:49:19 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 00BC36410 for <pve-user@lists.proxmox.com>; Thu, 29 Dec 2022 11:48:49 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 <pve-user@lists.proxmox.com>; Thu, 29 Dec 2022 11:48:47 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id E05CD3200959; Thu, 29 Dec 2022 05:48:37 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute5.internal (MEProxy); Thu, 29 Dec 2022 05:48:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dearriba.es; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1672310917; x=1672397317; bh=zb3XtPqxSC giW14hFcKhOywvXc3FHrY2lNvWYErQmV4=; b=GYN+OIARYTZYvFQHgnNQbwqYi+ WGIFt00zWj3q/WtO6139V1jm+9KRMp6HOmVEApl4O5rLukMIQMKrwmXcOmyPKANa JMvRIKATyd2M/t7PRvXIAv1bfbtZ5jIwPsKeosObGo36hNSpj4gteKiXwk/oKTxz z/xQyQ4LDmaou+F7WT0iLZ5VG6tYkcx+m6+KLtPPd7K+QAnlkRTyNgqiA6J/LVVV 47cJW90apIPgj/PPArkw4aVeWrRrZdUx7RZvE21BFhwRFn117MYmETLNW3CevBto YYPkgNL4pk/NBZfcFqz7avG7CJgajO7u2R+FCnPnSVGEsuRlkQ4knwMu16ow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1672310917; x=1672397317; bh=zb3XtPqxSCgiW14hFcKhOywvXc3F HrY2lNvWYErQmV4=; b=E49pmP7GX1Zz4Z+aZGf/+OzHbwE3TGO+9GIQhwjSneH9 m297J+qIE6gpCi4kz6Udcjjb9bAywFGkyyO3oq9+mgc5Rji3EA4gXtfSN6Fipk/q UAV3cjAC4XFD9q8Ox4kza/rT7EbbUUO7ApRxI3m0M7BrNY6oteZd+pgxYoQsNOHj VS2D5TR8wtfFku7I/LSHDPP3DdOh1YHn8A5NcKMpbdwEo3yP2dQ0RTBd1boYxBAa QOB1oGZLHHopt7nvwqW/aQRUtTxFGmALAUUXkSoqHoccgDtWlIKrP8IXAOBg1/Ex n0YdBHGiQkHCAOqeGg9sRfPy3PlHtTIDQkhCpyADHg== X-ME-Sender: <xms:hXCtY4rExLb97lKmU9j0sOafyTkOLHXsc-zQ1fnGLfbajrCnuXK4nw> <xme:hXCtY-rGib1T4a5tuVcgrgWVeybnOr97xdMp2tpNR1ibLEGqZfV5s0NxvuKhHc5Ro kRidQ9Ugs2HnsjiEcs> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieeggddvudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsegrtderreerreejnecuhfhrohhmpenmshgtrghr ucguvgcutehrrhhisggruceoohhstggrrhesuggvrghrrhhisggrrdgvsheqnecuggftrf grthhtvghrnhephedtteeukeefhfeukeelieefteegfeekkefhkeekgfeijeelkeehtdej leduueeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epohhstggrrhesuggvrghrrhhisggrrdgvsh X-ME-Proxy: <xmx:hXCtY9NFeL9yEqIvET6aV8p3uejZfKEx3oGpky2VpCAOU8_uCPAzbw> <xmx:hXCtY_64WDJbTl0NFi_JQtynZs2-NUJoJH6u3zAEl9gBdMOqOUrf1A> <xmx:hXCtY368ZjBAdWAXiZCUKjXIRdOrmsI8gSD9c1sYTxeO_9ILW6cjUg> <xmx:hXCtYwUt5IavDM3pgo6fQjzERIN3NNurlALngu32vZzlw876uSYhPw> Feedback-ID: ib1694623:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 231A41700089; Thu, 29 Dec 2022 05:48:37 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: <64119642-e2a3-428a-a053-371f9fc6bda0@app.fastmail.com> In-Reply-To: <b462e244-86a1-eada-c50b-4361f037dc1e@holub.co.at> References: <mailman.3.1672225201.17323.pve-user@lists.proxmox.com> <e207771d-7f93-415a-82fd-c3c8488d1e80@app.fastmail.com> <b462e244-86a1-eada-c50b-4361f037dc1e@holub.co.at> Date: Thu, 29 Dec 2022 11:48:16 +0100 From: =?UTF-8?Q?=C3=93scar_de_Arriba?= <oscar@dearriba.es> To: "Martin Holub" <martin@holub.co.at>, pve-user@lists.proxmox.com 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 HTML_MESSAGE 0.001 HTML included in message JMQ_SPF_NEUTRAL 0.5 SPF set to ?all RCVD_IN_DNSWL_LOW -0.7 Sender listed at https://www.dnswl.org/, low trust RCVD_IN_MSPIKE_H2 -0.001 Average reputation (+2) 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 Subject: Re: [PVE-User] Thin LVM showing more used space than expected X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list <pve-user.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-user/> List-Post: <mailto:pve-user@lists.proxmox.com> List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, <mailto:pve-user-request@lists.proxmox.com?subject=subscribe> X-List-Received-Date: Thu, 29 Dec 2022 10:49:19 -0000 Any idea why it still has 96.23% of space used but the VMs are using way= less? I'm starting to worry a lot about it (I don't kant tobe really fu= ll) and my current only hope is backup + reinstall PVE. Thanks, Oscar On Thu, Dec 29, 2022, at 11:01, Martin Holub wrote: >=20 >=20 > Am 28.12.2022 um 12:44 schrieb =C3=93scar de Arriba: >> Hi Martin, >>=20 >> > Did you try to run a fstrim on the VMs to regain the allocated spac= e? At least on linux something like "fstrim -av" should do the trick. >>=20 >> I did it now and it freed ~55GiB of a running isntance (the one with = 128 GiB allocated). However that should only free blocks of the LV used = to store that VM disk, right? And the issue itself is that the sum of ma= ximum allocations of those disks is much lower than the space occupied. >>=20 >> I also have the feeling that those blocks remain used by a no longer = existant LVs, but I don't know how to fix it. >>=20 >> Should I also enable trim/execute trim on Proxmox itself? >>=20 >> Oscar >>=20 >=20 >=20 >=20 > Hi, >=20 > TRIM only works on a filesystem level, so you can't trim a VG or simil= ar. On the pve host i doubt it will help, but it wouldn't harm either.=20 >=20 > hth > Martin >=20