OpenVZ Forum


Home » General » Support » *SOLVED* Disk space issue
*SOLVED* Disk space issue [message #8919] Mon, 11 December 2006 11:18 Go to next message
dagr is currently offline  dagr
Messages: 83
Registered: February 2006
Member
for 1 of my VPS - disk space is shown wrong .


[dagr@ssw2-ca dagr]$ sudo vzctl enter php4_base
entered into VE 10411
[root@10 /]# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 1.0G 827M 198M 81% /
ext3 485M 431M 29M 94% /vps_static
[root@10 /]# du -ms /
460 /
[root@10 /]#
//////////////////////////////////////
Why 827Mb used ? Usually it happens when some processes keeps inodes but its not this case

[root@10 /]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 14:03 ? 00:00:00 init [3]
root 14128 1 0 14:03 ? 00:00:00 syslogd -m 0
root 14196 1 0 14:03 ? 00:00:00 crond
root 16487 1 0 14:06 ? 00:00:00 vzctl: pts/0
root 17512 16487 0 14:06 pts/0 00:00:00 -bash
root 18242 17512 0 14:09 pts/0 00:00:00 ps -ef


//////////////////////////////////////////////////////
I have very similar VPS and its ok - at least 486Mb and 563Mb are quite close.

[dagr@ssw2-ca dagr]$ sudo vzctl enter php5_base
entered into VE 10511
[root@10 /]# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 1.0G 563M 462M 55% /
ext3 485M 431M 29M 94% /vps_static
[root@10 /]# du -ms ./
486 ./
////////////////////////////////////////////////////////
Mounts are the same. Confs - identical except ips. From HN it looks like this

[dagr@ssw2-ca dagr]$ sudo cat /proc/vz/vzquota
qid: path usage softlimit hardlimit time expire
10411: /u03/vz/private/10411
1k-blocks 846132 1048576 1153434 0 0
inodes 30717 200000 220000 0 0
10511: /u03/vz/private/10511
1k-blocks 575760 1048576 1153434 0 0
inodes 27783 200000 220000 0 0

[dagr@ssw2-ca dagr]$ sudo du -ms /vz/private/10411/
37 /vz/private/10411
[dagr@ssw2-ca dagr]$ sudo du -ms /vz/private/10511/
63 /vz/private/10511
[dagr@ssw2-ca dagr]$ sudo du -ms /vz/root/10411/
460 /vz/root/10411
[dagr@ssw2-ca dagr]$ sudo du -ms /vz/root/10511/
486 /vz/root/10511


(vzctl 3.0.13 kernel 2.6.9-023stab032.1-smp and 2.6.18-028test007-smp , RHEL4 x86 )


[Updated on: Tue, 12 December 2006 14:18] by Moderator

Report message to a moderator

Re: Disk space issue [message #8931 is a reply to message #8919] Mon, 11 December 2006 14:53 Go to previous messageGo to next message
dagr is currently offline  dagr
Messages: 83
Registered: February 2006
Member
BTW - reboot of HN doesnt help
Re: Disk space issue [message #8959 is a reply to message #8919] Tue, 12 December 2006 07:10 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
There is an article on wiki:
http://wiki.openvz.org/OpenVZ_disk_quota%2C_df_and_stat_weir d_behaviour
concerning df/stat output on simfs if vzquota is on.
Please, read it.

HTH,
Vasily
Re: Disk space issue [message #8979 is a reply to message #8919] Tue, 12 December 2006 14:05 Go to previous messageGo to next message
dagr is currently offline  dagr
Messages: 83
Registered: February 2006
Member
Nice - in my case it was cause i made some deletion directly in private area from HN , and vz didnt updated quota info. I suspected that somehow vz keeps old info. After i dropped quota - all went ok.

Bad thing that wiki docs are clamzy. Totally unclear in what category to seek this article http://wiki.openvz.org/OpenVZ_disk_quota%2C_df_and_stat_weir d_behaviour. I tried every of Main Categories,even Entry Points pages - nothing.


Was able to find it only here http://wiki.openvz.org/Special:Allpages and in Recent pages - which is uncomfortable.
Re: Disk space issue [message #8986 is a reply to message #8979] Tue, 12 December 2006 14:15 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
You're right, we're working on this problem and
I hope soon Smile wiki-pages will be reordered in much more
clear manner.

Thank you for using OpenVZ!
Vasily.
Previous Topic: Fatal resource shortage: privvmpages
Next Topic: Sharing IP addresses between stoped VPS's - Is it possible?
Goto Forum:
  


Current Time: Mon Nov 11 08:05:55 GMT 2024

Total time taken to generate the page: 0.03432 seconds