Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Mar 2005
    Posts
    73

    Default permenently disabling disk quotas

    disk quotas are a constant hassle for me and I don't need them, what is the best way to permanently disable them on an entire server? Does:
    quotaoff -av
    work and will this keep the quotas disabled even after a reboot?

    thanks!

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    No. You should remove the usrquota parameter from your disks in /etc/fstab to achieve that.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by chilihost
    disk quotas are a constant hassle for me and I don't need them, what is the best way to permanently disable them on an entire server? Does:
    quotaoff -av
    work and will this keep the quotas disabled even after a reboot?
    To achieve this goal, you'll need to re-compile your Kernel with quota off.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    AFAIK, No, you don't. You only need to make the fstab modification I mentioned and then turn off quotas and remove the quota files as I mentioned.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  5. #5
    Member
    Join Date
    Mar 2005
    Posts
    73

    Default

    thank you I will try removing that parameter.

  6. #6
    Member
    Join Date
    Mar 2005
    Posts
    73

    Default

    My /etc/fstab file looks like this:
    Code:
    LABEL=/                 /                       ext3    defaults,usrquota        1 1
    LABEL=/boot             /boot                   ext2    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    LABEL=/home2            /home2                  ext3    defaults        1 2
    none                    /proc                   proc    defaults        0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    /dev/hda2               swap                    swap    defaults        0 0
    /dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
    so should I just remove that ,usrquota bit?

    thanks again.

  7. #7
    Member bijo's Avatar
    Join Date
    Aug 2004
    Location
    India
    Posts
    475

    Default

    Quote Originally Posted by chilihost
    My /etc/fstab file looks like this:
    Code:
    LABEL=/                 /                       ext3    defaults,usrquota        1 1
    LABEL=/boot             /boot                   ext2    defaults        1 2
    none                    /dev/pts                devpts  gid=5,mode=620  0 0
    LABEL=/home2            /home2                  ext3    defaults        1 2
    none                    /proc                   proc    defaults        0 0
    none                    /dev/shm                tmpfs   defaults        0 0
    /dev/hda2               swap                    swap    defaults        0 0
    /dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0
    so should I just remove that ,usrquota bit?

    thanks again.
    Hello,

    Run the command
    quotaoff -a
    Then remove the entry userquota from fstab, It will help you
    Bijo
    Yahoo: "bijo505"
    Msn: "bijo_baby@hotmail.com"
    AIM: "bijobaby"

    http://slashome.com

  8. #8
    Member
    Join Date
    Mar 2005
    Posts
    73

    Default

    perfect, thanks!

Similar Threads & Tags
Similar threads

  1. Understanding Disk Space quotas
    By apage in forum New User Questions
    Replies: 5
    Last Post: 09-28-2011, 04:30 PM
  2. Disk quotas
    By its_joy in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-08-2008, 09:25 AM
  3. Disk Quotas show as doubled
    By Snowman30 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-26-2005, 06:31 AM
  4. Disk Quotas for rearranged accounts
    By ialex03 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-02-2004, 12:39 PM
  5. Disk Quotas - New User Problem
    By johnmcneely in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-16-2004, 01:29 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube