Missing disk space in my hardware server?

JMoreno

Renowned Member
Oct 26, 2011
53
2
73
Hi,

I have the impression I am missing 1 TB. Please have a look to my hardware server disk usage on /dev/mapper/pve-data:

Code:
 root@pmox12:~# [COLOR=#0000ff]df -h[/COLOR]
Filesystem                   Size  Used Avail Use% Mounted on
udev                          10M     0   10M   0% /dev
tmpfs                        797M  400K  797M   1% /run
/dev/mapper/pve-root          95G  1.8G   88G   2% /
tmpfs                        5.0M     0  5.0M   0% /run/lock
tmpfs                        1.6G   47M  1.6G   3% /run/shm
[COLOR=#ff0000]/dev/mapper/pve-data         2.6T  2.6T   61G  [B]98%[/B] /var/lib/vz[/COLOR]
/dev/sda2                    495M  187M  282M  40% /boot
/dev/fuse                     30M  100K   30M   1% /etc/pve
pmox12:/var/lib/vz/nfs/pmox  2.6T  2.6T   61G  98% /mnt/pve/sv-NFS

But I get the foder size, I get:

Code:
root@pmox12:~# [COLOR=#0000ff]du -ch [/COLOR][COLOR=#ff0000]/var/lib/vz[/COLOR][COLOR=#0000ff] | grep total[/COLOR]
[COLOR=#ff0000][B]1.6T[/B]    total[/COLOR]

May you please help me understand what I am missing? Is there any way I can get back that 1 TB?

Thanks in advance.

Best regards.
 
Hi M.Ardito,

This server has no VMs stored. I use it as NFS server for ProxMox dumps. I installed ProxMox to be able to run VMs just in case of emergencies, but today it has no VMs.

Regards.
 
Folder content details:

Code:
root@pmox12:/var/lib/vz# [COLOR=#0000ff]du -ch /var/lib/vz[/COLOR]
[COLOR=#008000]4.0K    /var/lib/vz/images[/COLOR]
4.0K    /var/lib/vz/dump
4.0K    /var/lib/vz/lock
4.0K    /var/lib/vz/root
1.6T    /var/lib/vz/nfs/pmox/dump
60M     /var/lib/vz/nfs/pmox/template/iso
60M     /var/lib/vz/nfs/pmox/template
1.6T    /var/lib/vz/nfs/pmox
[COLOR=#ff0000]1.6T    /var/lib/vz/nfs[/COLOR]
[COLOR=#008000]4.0K    /var/lib/vz/private[/COLOR]
4.0K    /var/lib/vz/template/cache
4.0K    /var/lib/vz/template/qemu
4.0K    /var/lib/vz/template/iso
16K     /var/lib/vz/template
16K     /var/lib/vz/lost+found
4.0K    /var/lib/vz/backups/dump
8.0K    /var/lib/vz/backups
1.6T    /var/lib/vz
1.6T    total

As you may guess, I am using /var/lib/vz/nfs as my NFS exchange folder.

My server settings:

Code:
root@pmox12:~# [COLOR=#0000ff]pveversion --verbose[/COLOR]
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-20-pve: 2.6.32-100
pve-kernel-2.6.32-19-pve: 2.6.32-95
pve-kernel-2.6.32-17-pve: 2.6.32-83
pve-kernel-2.6.32-22-pve: 2.6.32-107
pve-kernel-2.6.32-26-pve: 2.6.32-114
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-23-pve: 2.6.32-109
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1

Thanks again.
 
Hi Marco,

As you can see in my previous post, all folders are empty expceto the NFS one...

I had a look to your link, but I think it does not apply here.

Regards.
 
which kind of usage has the nfs share? It seems that physically is 1.6TB but it reserves 2.6TB to the OS, as it's seen by df -h...

Marco
 
It used for ProxMox dumps:

Code:
[COLOR=#ff0000]1.6T[/COLOR]    /var/lib/vz/nfs/pmox/dump

And a single ISO file:

Code:
[COLOR=#ff0000]60M [/COLOR]    /var/lib/vz/nfs/pmox/template/iso
 

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!