OpenVZ Forum


Home » Mailing lists » Users » Skipping quota at start and doing it later?
Re: Skipping quota at start and doing it later? [message #30197 is a reply to message #30119] Thu, 15 May 2008 13:07 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Gregor Mosheh wrote:
> Kir Kolyshkin wrote:
>   
>> I guess that if you can live w/o disk quotas you can disable this
>> entirely and forget about the problem you have. Option to set is
>> DISK_QUOTA=no (in /etc/vz/vz.conf)
>>     
>
> Sure, but we DO want quotas to be enforced. I just don't want to wait 90
> minutes for recalculating disk usage at startup, when I know that the
> usage hasn't changed since the power went out.
It was suggested earlier in this thread that if you will comment out the 
following line

need_restart="${need_restart} ${veid}"

in /etc/init.d/vz you get the exact behavior you ask for. Can you 
confirm (or deny) this?

If you can confirm, a parameter can be added to vz.conf making this 
restart optional.
 
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: linux vlan + ipv6 tunnel
Next Topic: 2.6.24-ovz004 kernel BUG at net/8021q/vlan.c:182 with 'modprobe -r 8021q'
Goto Forum:
  


Current Time: Fri Oct 18 09:24:42 GMT 2024

Total time taken to generate the page: 0.04982 seconds