Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

/hometwo no quotas set

Discussion in 'General Discussion' started by kernow, May 6, 2006.

  1. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    920
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    I can't get the quotas to work for new accounts installed in /hometwo . "Fixquotas" starts with a warning about a virtual file system. Eh ? what virtual file system ?. I set up quotas for /hometwo as fstab shows here:
    Code:
    /dev/sdc                /hometwo                ext3    defaults.usrquota        1 2
    And df-h shows its there;
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda8            1012M  611M  350M  64% /
    /dev/sda3              76M   17M   56M  23% /boot
    none                 1004M     0 1004M   0% /dev/shm
    /dev/sda9             981M   30M  901M   4% /tmp
    /dev/sda5             9.7G  3.8G  5.4G  42% /usr
    /dev/sda6             9.7G  4.3G  4.9G  47% /var
    /dev/sda2              43G   19G   23G  46% /home
    /dev/sdb               68G   23G   46G  33% /dev/backup
    /dev/sdc               68G   18G   50G  26% /hometwo
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Is this a typo:

    defaults.usrquota

    IIRC it should be:

    defaults,usrquota

    Apart from that, the script might not like the fact that you haven't created the partition with a number which is the normal way to do things:

    That is,

    Use fdisk to create the partition /dev/sdc1

    mke2fs -j -L /hometwo /dev/sdc1
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kernow

    kernow Well-Known Member

    Joined:
    Jul 23, 2004
    Messages:
    920
    Likes Received:
    13
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
    Chirpy, you must have Superman eyes :D
    I had to enlarge that line several times before i could see the difference. Yes, i had put a dot instead of a comma between defaults and usrquota. Problem should be solved now thanks.
    I didn't create the partition with a number as i wanted that drive as just one large partition.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice