Skip to main content

Disk usage incorrect

Comments

2 comments

  • cPanelMichael
    Hello Mike, The following document is a good place to start when troubleshooting disk space usage and quotas: How to Fix Quotas - cPanel Knowledge Base - cPanel Documentation If none of those solutions are helpful, could you let us know the output when running the "/scripts/fixquotas" command? Thank you.
    0
  • JIKOmetrix
    Hello, I had a ticket open too and here is what we found. So this whole issue came up because I did not know that putting the backup location on /home would remove quotas from /home. 1) my /home is a partition with most of the storage space 2) my backup location is /home/backup 3) To prevent performance degradation, the system automatically disables quotas on non-root filesystems that contain a backup destination. So it turn once backups are no longer configured to be stored in "/home/*" I can run the following commands to initialize and recalculate the quota system: ===== # /scripts/initquotas # /scripts/fixquotas ===== The catch 22 here is that my root '/' partition only has 100GB with 65GB free. I fear filling the root with backups while they spend time transferring out to remote location. The tech said some users create symlinks to "trick" the backup system into thinking it's backing up to another partition while still storing backups in the larger "/home" partition. You would need to create a symlink from "/home/backup" to "/backup" and then adjust your backup configuration to use the "/backup" directory. But I'm thinking they disable quota's for good reason. However, I may have to try this until I can figure out what to do next. Maybe get a drive added to the server for backups or just live with the current no quotas setup. - Mike
    0

Please sign in to leave a comment.