all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: "Konold, Martin" <martin.konold@konsec.com>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: [PVE-User] ZFS Disk Usage unexpected high
Date: Mon, 05 Apr 2021 10:22:56 +0200	[thread overview]
Message-ID: <7e9d1358dcb12b288e884547553e39b4@konsec.com> (raw)


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).

-- 
Regards
ppa. Martin Konold

--
Martin Konold - Prokurist, CTO
KONSEC GmbH -⁠ make things real
Amtsgericht Stuttgart, HRB 23690
Geschäftsführer: Andreas Mack
Im Köller 3, 70794 Filderstadt, Germany



             reply	other threads:[~2021-04-05  8:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-05  8:22 Konold, Martin [this message]
2021-04-05  9:54 ` Yanni M.
2021-04-06  7:41 ` Maximilian Hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e9d1358dcb12b288e884547553e39b4@konsec.com \
    --to=martin.konold@konsec.com \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal