Difference between revisions of "CPanel Disk Quotas in OpenVZ"
Line 12: | Line 12: | ||
Step 2. | Step 2. | ||
+ | |||
+ | Enter WHM and execute Initial Quota Setup | ||
+ | |||
+ | '''Home »Server Configuration »Initial Quota Setup''' | ||
+ | |||
+ | -------------------------------------------------------------- | ||
+ | |||
+ | == If this not helped: == | ||
+ | |||
+ | |||
+ | Step 3. | ||
From the inside of the container run: | From the inside of the container run: | ||
Line 18: | Line 29: | ||
for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done | for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done | ||
− | Step | + | Step 4. |
From the inside of the container run: | From the inside of the container run: |
Latest revision as of 17:44, 25 February 2015
How to enable second level quota for OpenVZ container with cPanel/WHM installed.
Step 1.
Open container's conf file
nano /etc/vz/conf/101.conf
Add the following parameter:
QUOTAUGIDLIMIT="150"
Reboot VPS:
vzctl stop 101 vzctl start 101
Step 2.
Enter WHM and execute Initial Quota Setup
Home »Server Configuration »Initial Quota Setup
If this not helped:
Step 3.
From the inside of the container run:
rm -f /aquota.user 2>/dev/null rm -f /aquota.group 2>/dev/null for x in `find /proc/vz/vzaquota/ | tail -2 `; do ln -s $x / ; done
Step 4.
From the inside of the container run:
/scripts/fixquotas
""