Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 21
  1. #1
    Member
    Join Date
    Mar 2003
    Posts
    28

    Default Space Usage?

    For some reason, none of the cpanel accounts I create show any space used. I know that someone has uploaded at least 100megs in files.

    My server was just set up yesterday.

    ~Weed

  2. #2
    Member
    Join Date
    Mar 2003
    Posts
    28

    Default

    Nobody knows...?

  3. #3
    Member
    Join Date
    May 2003
    Location
    Switzerland
    Posts
    15
    cPanel/Enkompass Access Level

    Website Owner

    Default nfs?

    do you have /home mounted over nfs?
    then nothing is displayed for quota.

  4. #4
    Member
    Join Date
    Mar 2003
    Posts
    28

    Default Re: nfs?

    Originally posted by thug
    do you have /home mounted over nfs?
    then nothing is displayed for quota.
    I wouldn't know... It was set up for me by managed.com.

    How would I find that out?

    ~Weed

  5. #5
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Log in to your server with ssh and enter
    /scripts/fixquotas

    This may take care of the problem.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    28

    Default

    That does work, through SSH and WHM... it will update the numbers correctly, but it won't continue to.

    Should I upload a 50MB file, the server won't increase space used until I run that script again..

    Any idea what could be causing this?

    ~Weed

  7. #7
    Registered User
    Join Date
    Nov 2003
    Posts
    2

    Default

    Originally posted by Weed
    That does work, through SSH and WHM... it will update the numbers correctly, but it won't continue to.

    Should I upload a 50MB file, the server won't increase space used until I run that script again..

    Any idea what could be causing this?

    ~Weed
    It takes a while for it to appear in most cases..

  8. #8
    Member
    Join Date
    Mar 2003
    Posts
    28

    Default

    Originally posted by Refined-Designs
    It takes a while for it to appear in most cases..
    Yeah, well, how long? I've been waiting 3 days and still haven't seen my space go up.

    ~Weed

  9. #9
    Member ddeans's Avatar
    Join Date
    Feb 2004
    Location
    Maryland
    Posts
    302

    Default

    I am having the same problem with this and managed.com. I asked them to fix it and they said there was nothing they could do. They don't support cPanel. They will tell you to e-mail softwareworks.com.. Another member suggested to me to use cron and run /scripts/fixquotas daily. Seems to work okay and I don't have to work with managed.com maybe it's a solution you could try. unless you got it fixed already?

  10. #10
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Do these steps after running /scripts/fixquotas :

    1. touch /var/tmp/repquota.txt (replace /var/tmp and repquota.txt with any directory and file name of your choice; make sure the file path matches the one you put in the crontab). The touch command creates an empty file.

    2. Put this at the end of /etc/crontab:

    0-59/5 * * * * root repquota /home > /var/tmp/repquota.txt 2> /dev/null &

    Save the changes in the crontab and your quotas will be updated every 5 minutes. You can change the frequency if you want.

    For more info on crontab type: man 5 crontab

    The above assumes your users are in /home.

    This is the tidied up code (copy and paste):

    Code:
    touch /var/tmp/repquota.txt
    
    pico -w /etc/crontab
    
    0-59/5 * * * * root repquota /home > /var/tmp/repquota.txt 2> /dev/null &
    
    Save the changes!
    Last edited by goodmove; 02-25-2004 at 12:54 AM.

  11. #11
    Member ddeans's Avatar
    Join Date
    Feb 2004
    Location
    Maryland
    Posts
    302

    Default

    What do you mean by:

    touch /var/tmp/repquota.txt (it can be any file name and any directory)

  12. #12
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    That's a shell command to create that file.
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  13. #13
    Member ddeans's Avatar
    Join Date
    Feb 2004
    Location
    Maryland
    Posts
    302

    Default

    I did everything exactly as said, but it did not update my quota's. I gave it about 3 hours.

  14. #14
    Member
    Join Date
    May 2003
    Posts
    613

    Default

    Originally posted by ddeans
    I did everything exactly as said, but it did not update my quota's. I gave it about 3 hours.
    I put some additional comments in my post and reorganized the steps.
    Last edited by goodmove; 02-25-2004 at 12:46 AM.

  15. #15
    Member ddeans's Avatar
    Join Date
    Feb 2004
    Location
    Maryland
    Posts
    302

    Default

    I wen't back and did it all again. Deleted a bunch of files off the server. Waited about 2 hours or so. nothing changed. you think it's my server or something?

Similar Threads & Tags
Similar threads

  1. Replies: 3
    Last Post: 06-13-2010, 09:08 PM
  2. disk space usage
    By izghitu in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-25-2010, 03:13 PM
  3. SQL Usage, Bandwidth Usage, Space Usage
    By Gaming-Heaven in forum Database Discussions
    Replies: 9
    Last Post: 04-13-2007, 02:12 AM
  4. SQL Usage, Bandwidth Usage, Space Usage
    By Gaming-Heaven in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-13-2007, 02:12 AM
  5. Mail usage: show disk space used does not match actual disk usage
    By NNNils in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-25-2004, 07:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube