|
|
|
|
|
|
Re: Problem In Cpanel, Disk Quota Doesnt working [message #29422 is a reply to message #26507] |
Sat, 12 April 2008 11:03 |
|
SoftDux
Messages: 55 Registered: November 2007 Location: Johannesburg, South Afric...
|
Member |
|
|
ok, so setting the --diskspace won't make a difference then?
I currently have a VE with 10GB space, but want to increase it to 15 GB, which didn't work, as can be seen here:
vzquota show 1001; vzctl exec 1001 df -H
vzquota : (warning) Quota is running, so data reported from quota file may not reflect current values
resource usage softlimit hardlimit grace
1k-blocks 3374996 15728640 16777216
inodes 122722 600000 660000
Filesystem Size Used Avail Use% Mounted on
simfs 8.9G 4.6G 3.6G 57% /
I used
vzctl set --diskspace 15G:16G 1001 --save
Reading throught the man page again, http://openvz.org/documentation/mans/vzctl.8 - I don't fully understand this statement
--quotaugidlimit num
sets maximum number of user/group IDs in a VE for which disk quota inside the VE will be accounted. If this value is set to 0, user and group quotas will not be accounted inside the VE. Note that if you have previously set value of this parameter to 0, changing it while the VE is running will not take effect
what gid is this that it's talking about?
|
|
|
|
|
|
|
Re: Problem In Cpanel, Disk Quota Doesnt working [message #36740 is a reply to message #26507] |
Tue, 14 July 2009 12:46 |
hostingbiniz
Messages: 1 Registered: July 2009 Location: Turkey
|
Junior Member |
|
|
OK here is the solution for VPS.
Please try following it worked for me.
1- First change the /etc/fstab file similsr to as follows:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/ / ext3,usrquota defaults 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmps defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
2- change in the
/etc/sysconfig/vz-scripts/xxx.conf
setup it to QUOTAUGIDLIMIT="3000"
reboot
3- this command as well as in sequence :
quotaoff -av
quotaon -av
/scripts/fixquotas
it should solve the issue
aikazemi
hostingbizniz.com
|
|
|