Full OpenVZ VM disk

danisam

New Member
Dec 14, 2011
3
0
1
Hello,

I had a problem with an OpenVZ VM server with Zoneminder under Ubuntu Server 10.04 (CCTV appliance).
My disk is full, and cannot run any service.
i saw that my logs were very heavy and truncate them, releasing 4Gb of free space.
but after a reboot i still having

Code:
root@NxtCop:~# df -h
S.ficheros            Tamaño Usado  Disp Uso% Montado en
/dev/simfs             20G   20G     0 100% /

i tried to expand with success my disk size to 20GB from 14GB and when i reeboot i have all the space full.

This a beancounter problem?

Iam running Proxmox 1.8
Code:
nxtview_master:~# pveversionpve-manager/1.8/5754

i saw this in the VM logs
Code:
[COLOR=#000000][FONT=verdana]usr/sbin/vzctl start 113[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Starting container ...[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]vzquota : (warning) block_hard_limit [23068772] < block_current_usage [40412708][/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Container is mounted[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Setting CPU units: 1000[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Setting CPUs: 3[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Set hostname: NxtCop.nxtview_master.loc[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]File resolv.conf was modified[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Setting quota ugidlimit: 0[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]vzquota : (warning) block_hard_limit [23068672] < block_current_usage [40412708][/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Configure veth devices: veth113.0 [/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Adding interface veth113.0 to bridge vmbr0 on CT0 for CT113[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]Container start in progress...[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR][COLOR=#000000][FONT=verdana]VM 113 started[/FONT][/COLOR][COLOR=#000000][FONT=verdana]
[/FONT][/COLOR]
Thanks for your help.
 
I solved the problem with this command

Code:
 vzctl set 113 --diskspace 45G:49G --save

I find the solution here :

http://wiki.openvz.org/Disk_quota,_df_and_stat_weird_behaviour

After rebooting the Vm , i saw this in the VM logs.

Code:
/usr/sbin/vzctl start 113
Starting container ...
Container is unmounted
Container is mounted
Setting CPU units: 1000
Setting CPUs: 3
Set hostname: NxtCop.nxtview_master.loc
File resolv.conf was modified
Setting quota ugidlimit: 0
Configure veth devices: veth113.0 
Adding interface veth113.0 to bridge vmbr0 on CT0 for CT113
Container start in progress...
VM 113 started

But i really want to know how is the problem.

Regards
 
in any case, update your box. 1.8 is outdated and not supported. if the issue is still there, post again.