Disk usage 100% full

noscah

New Member
Aug 20, 2024
3
1
3
Hello,

As many post before me, my VM crash because my disk is full. It's a 1To disk used for docker (images) and personnal files.
I have a difference of space between inside my VM and command from PVE.

Inside VM
Disk sdd1 seems to be 20% used.

NVIDIA_Share_1o2u5B3Wj8.png

Outside VM on Proxmox
Disk mounted /dev/nvme/0n1p1 seems to be full used. Here is the result of few commands line
vgs
df-h
lsblk
pvs
lvs
pvesm status

NVIDIA_Share_7l02vIc8JS.png
NVIDIA_Share_mINufmrRth.png

I have already deleted docker prune and images useless. But it seems to be not enough.
Any idea how i could solve this issue ?

Thanks
 
Hello,

Perfect ! You solve my problem easily. This option was disable. But why the virtual disk grow up like that ?
I dont have this issue wih others disk.
 
  • Like
Reactions: gurubert
Hello,

But why the virtual disk grow up like that ?
When you delete a file you don't actually zero the bytes on the disk, the filesystem simply marks them as being free.

The problem is that from the host's perspective the disk is an array of bytes and has no way of knowing whether certain bytes are freed or not from the point of view of the guest's filesystem. With the discard option both parties can communicate. Please refer to our documentation for more details [1].

[1] https://pve.proxmox.com/pve-docs/pve-admin-guide.html
 
  • Like
Reactions: gurubert