Skip to main content

Moving Account to new Partition exceeds account quota

Comments

4 comments

  • cPanelMichael
    Hello @martin MHC, Can you open a
    0
  • martin MHC
    Hello @cPanelMichael - I have submitted ticket 12017851 . Incidentally, I am impressed how short the service queue is - I think this is a sign of WHMs ongoing improvements, previous tickets are in the ~40+ queue mark but now I'm at 10!! Cheers
    0
  • martin MHC
    Update: The issue is ambiguous and apparently does not seem to be caused by changing partition -- but the WHM system (various subsystems) seemed to count emails hidden in the /.Trash folder . I don't know how they got there or why they're not part of the email quota counter, but removing these emails seemed to fix the quota overflow. From the cPanel Ticket: [QUOTE] My apologies for any confusion, the 'Other usage' category does include the '.Trash' folders for users. Additionally, the disk limits for accounts are not updated in real-time as this would cause unneeded load on the server as well as some pretty extreme disk I/O, so this can be a bit of sync at times. >>1) How to remove this excess quota load. >>2) How to update the WHM interface to correctly place disk quota usage in the various subsystems. >>Is there a way of making WHM reassess it's countings? I'm going to answer all of these at once, as the answer for each is basically the same. The easiest way to update these (if you are using maildir as opposed to MDBOX) is to move the 'maildirsize' file out of the way and run '/usr/local/cpanel/scripts/generate_maildirsize --confirm ${user}'
    where ${user} represents the cPanel user in question e.g.: ==================== [root@78 ~]# mv -vi /home/cptech/mail/cptech.testing/cptech/maildirsize{,.$(date +%s).bak} "/home/cptech/mail/cptech.testing/cptech/maildirsize" -> "/home/cptech/mail/cptech.testing/cptech/maildirsize.1555668004.bak" [root@78 ~]# /usr/local/cpanel/scripts/generate_maildirsize --confirm cptech ====================

    0
  • cPanelMichael
    Hello @martin MHC, I'm glad to see the issue was solved. Thanks for sharing the outcome!
    0

Please sign in to leave a comment.