OpenVZ Forum


Home » General » Support » Disk quota on gentoo template
Re: Disk quota on gentoo template [message #1869 is a reply to message #1864] Thu, 02 March 2006 07:56 Go to previous messageGo to previous message
steffen.zieger is currently offline  steffen.zieger
Messages: 43
Registered: February 2006
Location: Germany, Stuttgart
Member
Hello,

sure. Here we go.

df in gentoo-vps:
Filesystem           1K-blocks      Used Available Use% Mounted on
simfs                  5000000    965040   4034960  20% /


du -sh /:
pegasus / # du -sh /
929M    /


Ok, I've found the problem.

cat /proc/vz/quota:
qid: path            usage      softlimit      hardlimit       time     expire
100: /vz/private/100
  1k-blocks        1124974        5000000        5120000          0          0
     inodes         200001         200000         220000 1141285151          0
111: /vz/private/111
  1k-blocks        1662919        5000000        5100000          0          0
     inodes          85754         200000         220000          0          0


Both are running into the same problem. On debian-vps (111) there are only more inodes unused than on gentoo-vps (100).

But one problem is left:
There is a softlimit and a hardlimit. Hardlimit is 20000 inodes bigger than softlimit, but if I'm reaching the softlimit, a message is printed, that disk quota is exceeded. Why?

What is a sane number for inodes if I want to have 5Gb?

TIA,
Steffen
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vps on lvm
Next Topic: Oops. How do i find out what it means.
Goto Forum:
  


Current Time: Sun Aug 24 21:19:12 GMT 2025

Total time taken to generate the page: 0.07140 seconds