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.

Accounts moved to different partition - stats not being displayed

Discussion in 'General Discussion' started by nightaddix, Mar 3, 2011.

  1. nightaddix

    nightaddix Active Member
    PartnerNOC

    Joined:
    Jul 7, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    We had a customer who requested the accounts to be moved to a different partition due to low disk space. We've moved the accounts to a separate partition mounted under /backups. The accounts were moved from the /home partition to /backups and then symlinked and are displaying fine. The problem is that the usage stats got borked. As such, going to WHm -> List accounts will show the disk used as 0 M. Moreover, logging into the cPanel account itself I am able to see 0 M of disk space usage and 0 monthly bandwidth transfer. I ran /scripts/fixquotas however, this didn't help. Does anyone have any idea what needs to be done to fix the issue ? I suspect the cPanel quota / usage scripts fail to work due to the accounts being symlinks instead of regular folders however, I'm wondering what's the solution for this problem. Thanks in advance !
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Can you check the mount and fstab to see if that partition has quotas enabled on it?

    Code:
    mount
    cat /etc/fstab
    You should see something like usrquota listed for the partition if it does have quotas enabled. If it does not, you'll have to revise /etc/fstab (please make a backup copy of it first) to enable quotas on that partition.
     
  3. nightaddix

    nightaddix Active Member
    PartnerNOC

    Joined:
    Jul 7, 2008
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Hello Tristan,

    Thank you for your reply. Indeed, quotas aren't enabled for the /backups partition. We'll need to wait for confirmation on when to reboot the server in order to enable quotas for that partition. I'll update this thread if that doesn't fix the issue. Thanks.
     
Loading...

Share This Page