Proxmox 3.4 diisk usage reporting issue

alexdimarco

Member
Apr 28, 2010
17
0
21
If I run du -hs on /var/lib/vz I get the following 2.3TB
If I run du -hs on /var/lib/vz/private I get 703G
If I run du -hs on /var/lib/vz/dump I get 838G

/var/lib/vz/root also reports 703G which makes sense since it is a hardlink...

What is confusing me is why the total is 2.3TB which would be a combination of private and root counted separately... this is also reflected when I check the disk usage using df.

My understanding is that du and df usually do not count hard links. Is there an issue with hardlinks?
I am using 3.4 with ZFS.
Is this broken with ZFS? Is there a better tool to check disk usage from the command line?

Any ideas?

Thanks

Alex DiMarco
 
Hi,

the correct information you get from ZFS list.
 
no zfs is the command and list the subcommand.
zfs has two important admin commands zpool and zfs.
 
Any idea why ZFS in both df and hu and ZFS list report the hardlinks as taking up the full amount of disk space as if it was the full file?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!