Parallels H-Sphere Documentation System Administrator Guide

 

Fixing Quota For 2.4.20 Kernels

 
 

Related Docs:   RedHat Linux Up2date

Last modified: 18 Jan 2005

 

WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

RedHat Linux 2.4.20-xx.x kernels of versions prior to 2.4.20-18.7 do not support quota management.

There are two ways how to fix this problem:

  • Install the new 2.4.20-18.7 kernel, the new quota package (version 3.06), and the new quota Perl module (version 1.4.8).
  • Downgrade the kernel back to 2.4.18-xx.x.

To install the new kernel and the new quota packages:

  1. Log in as root.

  2. Download the patched kernel 2.4.20-18.7 and the quota 3.06-9.7 package from the RedHat Support page and install them according to instructions provided there.

  3. Download and install the new quota Perl module:

    # wget http://www.perl.com/CPAN/modules/by-module/Quota/Quota-1.4.8.tar.gz
    # tar xfz Quota-1.4.8.tar.gz
    # cd Quota-1.4.8
    # perl Makefile.PL
    # make install clean
  4. Enable quota:

    # quotaoff -a
    # cd <partition_where_quota_is_set>
    # rm -f aquota.user
    Note: Some older quota types take rm -f quota.user
    # quotacheck -am -F vfsv0
    quotacheck creates the aquota.user file automatically; however, if this file is still not created, force its creation with the following command:
    # touch aquota.user
    # chmod 600 aquota.user
    # quotaon -a
  5. Log in as the cpanel user and reset user quota limits using H-Sphere SetQuota tool:

    java -Xms64M -Xmx256M psoft.hsphere.tools.SetQuota -lid <logical_web_server_id>

Related Docs:   RedHat Linux Up2date



© Copyright 2017. Parallels Holdings. All rights reserved.