openvz fixing vzquota

vzquota show 100
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
resource usage softlimit hardlimit grace
1k-blocks 0 4194304 4194304
inodes 25 200000 220000

vzctl stop 100
vzquota init 100 -p /vz/private/100 -b 4194304 -B 4194304 -i 200000 -I 220000 -e 0 -n 0

Leave a Reply

Your email address will not be published. Required fields are marked *