The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Quota problem after migrating cpanel server

Discussion in 'General Discussion' started by ncl3us, Oct 20, 2009.

  1. ncl3us

    ncl3us Member

    Joined:
    Jun 11, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello All;

    I have migrated my cpanel vps server from entire one server to other vps server by rsync. After finishing migration all run well, but I have a problem with quota. All account in new server have unlimited quota. Anyone can help me?

    Thx
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I would think that the tool in WHM > Initial Quota Support, would solve this for you.
     
  3. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
  4. ncl3us

    ncl3us Member

    Joined:
    Jun 11, 2008
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Fixed now :) the problem is about cpanel quota in openvz.
     
  5. kanyapond

    kanyapond Registered

    Joined:
    Nov 10, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have the same problem with you.
    and I tried the following but can not solve the problem.
    -----------------------------------------
    1.
    rm -rf /aquota.user 2>/dev/null
    rm -rf /aquota.group 2>/dev/null
    unlink /aquota.user 2>/dev/null
    unlink /aquota.group 2>/dev/null
    for x in `find /proc/vz/vzaquota/ | tail -1 | xargs find | tail -2 `; do ln -s $x /; done

    2.
    Increase "--quotaugidlimit"
    Restart VPS
    # /scripts/fixquotas
    # /scripts/initquotas

    3.
    # /scripts/upcp

    4.
    # quotacheck -augvmf
    quotacheck: Scanning /dev/simfs [/] done
    -----------------------------------------

    Example.
    # quota MMM
    Disk quotas for user MMM (uid 820):
    Filesystem blocks quota limit grace files quota limit grace
    /dev/simfs 807568 1024000 1024000 22064 0 0

    # du -sh /home/MMM
    570M .
    # du -sh /var/lib/mysql/MMM_*
    4.4M /var/lib/mysql/MMM_etcexpress
    228K /var/lib/mysql/MMM_thanathareeallotment

    --------------------------------------------

    Hope this helps anyone :(

    Thanks
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    #6 cPanelDon, Oct 27, 2009
    Last edited: Sep 21, 2010
Loading...

Share This Page