New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
'vzquota init' doesnt work?
Hi all
Just a minute before i was tring to restarting one of the VPS on my own server.
then when i used 'vzquota init 1' to reinitialize quota.
It always gave me usage instructions like this:
'root:/# vzquota init 1
Usage: vzquota init -p [-c ]
[-R,--relative]
[-s,--sub-quotas 1|0]
[-u,--ugid-limit ]
-b,--block-softlimit
-B,--block-hardlimit
-i,--inode-softlimit
-I,--inode-hardlimit
-e,--block-exptime
-n,--inode-exptime '
so "vzquota init xxx" is supposed to work?
any help? thx!
Comments
try
vzquota $CID off
vzquota $CID on
vzquota $CID off
vzquota $CID on
I did it however the result will be 'Can't open quota file for id 1, maybe you need to reinitialize quota: No such file or directory'
thanks all the same
I thought all 1-100 are reserved or something, you have to start at 101.
@Derek Just a guideline http://wiki.openvz.org/User_Guide/Operations_on_Containers#Choosing_Container_ID
@AsadHaider thanks
but the '1' in my post is just a sample
actually it is 118.
sorry for the misunderstanding.