Disk space on proxmox Server

konabi

Active Member
Dec 14, 2013
108
4
38
Hi,

I have installed a Promox Server and usong one vm on the Server.
The vm disk file is 5GB.


When I do a ls -h it shows me the file is 5G
When I do a du -h ist shows me the directory where the file is located is 1,7 GB
When I do a df -h ist show me that the partition /var/lib/vz uses 738 GB.

But only one file with size 5GB is located on that partion.
Where is all my free space on that partition?



Code:
root@proxmox-02:/var/lib/vz/images/104# ls -lh
total 1.7G
-rw-r--r-- 1 root root 5.1G Jan 24 08:49 vm-104-disk-1.qcow2





root@proxmox-02:/var/lib/vz# du -h
16K     ./lost+found
4.0K    ./root
4.0K    ./dump
4.0K    ./template/qemu
4.0K    ./template/iso
4.0K    ./template/cache
16K     ./template
4.0K    ./private
4.0K    ./lock
4.0K    ./images/102
4.0K    ./images/101
1.7G    ./images/104
4.0K    ./images/103
1.7G    ./images
1.7G    .


root@proxmox-02:/var/lib/vz# df -h
Filesystem              Size  Used Avail Use% Mounted on
udev                     10M     0   10M   0% /dev
tmpfs                   794M  360K  794M   1% /run
/dev/mapper/pve-root    9.9G  2.1G  7.4G  22% /
tmpfs                   5.0M     0  5.0M   0% /run/lock
tmpfs                   1.6G   47M  1.6G   3% /run/shm
/dev/mapper/pve-data    1.8T  738G  1.1T  41% /var/lib/vz
/dev/sda1               496M   35M  436M   8% /boot
/dev/fuse                30M   24K   30M   1% /etc/pve
proxmox-02:/var/lib/vz  1.8T  738G  1.1T  41% /mnt/pve/NFSproxmox02


Thanks for your help.
Sven
 
seems you manually mounted a NFS server to the already used /var/lib/vz directory - which in not a good idea.

for NFS mounts, use another dir.
 
Hi Tom,


I am working on server proxmox-02 and I have a seccond server proxmox-03.
On both servers I have configured NFS shares.
The NFS share from proxmox-03 is /var/lib/vz and is mounted on peoxmox-02 to /mnt/pve/NFSproxmox03



Code:
proxmox-02:/var/lib/vz  1.8T  139G  1.7T   8% /mnt/pve/NFSproxmox02
proxmox-03:/var/lib/vz  418G  107G  312G  26% /mnt/pve/NFSproxmox03


Sven
 

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!