About the disk storage space exception in ProxmoxVE7.1-7 version

winwingmgm

New Member
Mar 28, 2024
4
0
1
Regarding the problem that the actual disk space used by ProxmoxVE7.1-7 version VM exceeds the upper limit of the mounted disk


My ProxmoxVE Disks use the Directory method to mount storage.
The hard disk used by my VM is in qcow2 format, and the allocated size is 1T.
However, I checked in the ProxmoxVE system and found that the space used by my VM's qcow2 disk exceeded 1T and the usage reached 1.4T.
What is the reason for this?
 

Attachments

  • 1111111111111111111111.jpg
    1111111111111111111111.jpg
    86 KB · Views: 4
  • 222222222222222222222222.jpg
    222222222222222222222222.jpg
    84.2 KB · Views: 4
Last edited:
Hi,

May you run the following command:

Bash:
qm disk rescan --vmid <VMID>


Then re-check the size of the VM disks again?
 
Hi,

May you run the following command:

Bash:
qm disk rescan --vmid <VMID>


Then re-check the size of the VM disks again?

Thank you very much for your reply!

I would like to inquire why the hard disk size seen when logging into the system using shell exceeds the disk size of the VM on the porxmoxve web management page.

But I can't use the command you gave me, it will prompt an error:

Code:
root@gj-prod-11:# qm disk rescan --vmid 2044
ERROR: unknown command 'qm disk'

root@gj-prod-11:# qm rescan disk --vmid 2044
400 too many arguments
qm rescan [OPTIONS]

I used the following command to do it and there was no change in the result.
Code:
root@gj-prod-11:# qm rescan --vmid 2044
rescan volumes...


root@gj-prod-11:# du -sh *
20G vm-2044-disk-0.qcow2
1.3T vm-2044-disk-1.qcow2
1.4T vm-2044-disk-2.qcow2
 
Yes, after I shut down the virtual machine, I took a snapshot after the shutdown. It has not been deleted yet. Is this caused by the snapshot?
 
Thank you very much for your reply!
I hope to clean up my snapshots to solve the disk occupancy. However, when I delete snapshots, the task of deleting snapshots often fails to be completed. The task is always running and does not end for more than an hour. I have no choice but to do so. The deletion task can be ended manually. What is the reason for this?
 
Hi,


when I delete snapshots, the task of deleting snapshots often fails to be completed.
Does the same behavior occur even if you delete the snapshot using the CLI?

What is the reason for this?
Hard to say without more details, I would check the syslog while deleting the snapshot.
 

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!