100% Disk space on OpenVZ

SamTzu

Active Member
I did something stupid. (Ones again :()
I deleted a big file within OpenVZ client straight from the Proxmox host.
Now the Disk Space keeps showing 100% Disk Usage even though there is no sign of the two 16Gb files I deleted inside the Client.

Any clues how to update the Disk Space data on the Host?

Here is what the client shows...
server:/var/www/testi1.mattila.local/web# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/simfs 50G 33G 18G 65% /
tmpfs 1.3G 0 1.3G 0% /lib/init/rw
tmpfs 1.3G 0 1.3G 0% /dev/shm
server:/var/www/testi1.mattila.local/web# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/simfs 10000000 27202 9972798 1% /
tmpfs 323072 4 323068 1% /lib/init/rw
tmpfs 323072 1 323071 1% /dev/shm
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,707
373
103
Austria
www.proxmox.com
Any clues how to update the Disk Space data on the Host?
Attach an empty disk, and copy everything to that new disk. Then use that new (smaller) disk instead of the old one.

EDIT: Oh, sorry - that is for KVM - ignore that.

What kernel version do you use?
 

dietmar

Proxmox Staff Member
Staff member
Apr 28, 2005
16,707
373
103
Austria
www.proxmox.com
maybe you need to re-init the quota system:

# vzctl stop <vmid>
# vzquota drop <vmid>
# vzctl start <vmid>

Does that help?
 
Jun 21, 2011
51
3
28
I had the same problem in Proxmox 3.2-4 (I manually deleted some files from the private folder on the host) and running the following commands fixed the problem (thanks dietmar):
# vzctl stop <vmid>
# vzquota drop <vmid>
# vzctl start <vmid>
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!