OpenVZ Forum


Home » General » Support » *SOLVED* diskspace no more than 40 GB
Re: diskspace no more than 40 GB [message #9971 is a reply to message #9970] Thu, 01 February 2007 14:01 Go to previous messageGo to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello!

According to
# vzquota stat 111
   resource          usage       softlimit      hardlimit    grace
  1k-blocks        2716712        39000000       39100000
                                    ^^^^^

you set a blocks limit for 111th VE to ~39Gb, and only ~2.7Gb are used in VE. Remember these numbers.

According to
#df -a
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda9             95121228  62907700  27381580  70% /vz
                       ^^^^       ^^^^^^

/vz partion is of ~95Gb size and ~63 Gb is used, so ~32Gb is free. Remember these numbers to.

Ok. When you give a df command inside VE, what should it output in this situation? First, consider the total amount of space. Should df output 39Gb? No! VE can't write so much, because there is not enough space on /vz partion.
According to http://wiki.openvz.org/OpenVZ_disk_quota%2C_df_and_stat_weir d_behaviour
df should output quota_usage + free_ext2 = 2.7 + 32 = ~34Gb. This is what we see in your output:

# df -a
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/simfs            34930264   2716712  27381604  10% /
                        ^^^^^^


So you problem is actually formulated in http://wiki.openvz.org/OpenVZ_disk_quota%2C_df_and_stat_weir d_behaviour:
"Do not set random disk quota barrier/limit! Even if you want VE to be unlimited, consider reasonable values."

HTH,
Vasily.
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Emergency - Server Crash
Next Topic: *SOLVED* ports and port forwarding
Goto Forum:
  


Current Time: Mon Nov 11 17:56:27 GMT 2024

Total time taken to generate the page: 0.03584 seconds