{"id":829,"date":"2021-07-23T12:39:05","date_gmt":"2021-07-23T12:39:05","guid":{"rendered":"https:\/\/ssdsunucum.com\/blog\/quota-modification\/"},"modified":"2021-07-23T12:39:05","modified_gmt":"2021-07-23T12:39:05","slug":"quota-modification","status":"publish","type":"post","link":"https:\/\/ssdsunucum.com\/blog\/quota-modification\/","title":{"rendered":"Quota Modification"},"content":{"rendered":"<\/p>\n<div class=\"col-md-9\">\n<div class=\"flex-column flex-md-row article-header\">\n<div id=\"versioned-article-header\">\n<p class=\"valid-version-info\"><em>Valid for versions 94 through the latest version<\/em><\/p>\n<\/div>\n<div id=\"version-select-group\" aria-label=\"select versions\">\n<h4>Version:<\/h4>\n<h4>82<\/h4>\n<h4>94<\/h4>\n<\/div><\/div>\n<hr>\n<h2 id=\"overview\">Overview<\/h2>\n<p>This interface allows you to change an account\u2019s disk space quota. This quota specifies the maximum amount of disk space that an account can use on your server.<\/p>\n<div class=\"callout callout-danger\">\n<div class=\"callout-heading\">Warning:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>We enable quotas by default on new installations.<\/li>\n<li>If you disable and then reenable quotas, servers that use the XFS\u00ae filesystem and run AlmaLinux 8, CentOS 7 and 8, CloudLinux\u2122 7 and 8, or Red Hat\u00ae Enterprise Linux\u00ae (RHEL) 7 require additional actions for quotas to function properly:\n<ul>\n<li><strong>WHM Interface<\/strong> \u2014 Use WHM\u2019s <em>Initial Quota Setup<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Initial Quota Setup<\/em>) to configure quotas.<\/li>\n<li><strong>Command Line<\/strong> \u2014 Run the <code>\/usr\/local\/cpanel\/scripts\/fixquotas<\/code> script and then remount the file system.<\/li>\n<li><strong>Manually via the Command Line<\/strong> \u2014 For instructions on how to perform the <code>\/usr\/local\/cpanel\/scripts\/fixquotas<\/code> script\u2019s actions manually, read the Red Hat XFS and XFS Quota Management documentation.<\/li>\n<\/ul>\n<\/li>\n<li>If you have enabled <em>Quota System Administration<\/em> notifications, the system sends notifications when it is ready to reboot <strong>and<\/strong> when the quota scan finishes and quotas are functional.<\/li>\n<li>CloudLinux 7 and 8 updates may break quotas. For this reason, after each CloudLinux 7 and 8 update, you <strong>must<\/strong> run the <code>\/usr\/local\/cpanel\/scripts\/fixquotas<\/code> script and then remount the file system.<\/li>\n<\/ul><\/div>\n<\/div>\n<p>Set appropriate quotas for each account on your server. For example, users who wish to host video content need more disk space than a user who only hosts a blog.<\/p>\n<div class=\"callout callout-warning\">\n<div class=\"callout-heading\">Important:<\/div>\n<div class=\"callout-content\">\n<ul>\n<li>\n<p>Quotas do <strong>not<\/strong> limit changes to MySQL\u00ae or PostgreSQL\u00ae databases.<\/p>\n<\/li>\n<li>\n<p>Quotas that include database space only affect cPanel-related functions.<\/p>\n<\/li>\n<li>\n<p>Processes that the system runs, such as PHP scripts that create files, can create user-owned files until the number of files reaches the quota. This situation occurs because the kernel-enforced quota does not access cPanel settings.<\/p>\n<\/li>\n<li>\n<p>The backup process for an account near or over its quota may fail because the system cannot write necessary files, such as a database lock file.<\/p>\n<\/li>\n<li>\n<p>If a discrepancy exists between quotas and the results of the <code>du -sh \/home\/username<\/code> command, the user\u2019s UID may own other files on the system. To find the locations of the user\u2019s files, run the <code>find \/ -user username -ls<\/code> command, where <code>username<\/code> is the username.<\/p>\n<\/li>\n<\/ul><\/div>\n<\/div>\n<h2 id=\"change-quotas\">Change quotas<\/h2>\n<p>To assign a new quota, perform the following steps:<\/p>\n<ol>\n<li>\n<p>Choose one of the following options. The bandwidth information for the selected account or accounts will display.<\/p>\n<ul>\n<li>To change a single quota, select the desired account and click <em>Modify<\/em>.<\/li>\n<li>To view all of your users\u2019 quotas, click <em>Show all Accounts<\/em> at the bottom of the interface.<\/li>\n<li>To view only a specific reseller\u2019s accounts, click <em>Show Only this Reseller\u2019s Accounts<\/em>.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Enter the new quota for each account in the appropriate text box, in megabytes (MB), or select <em>Unlimited<\/em> to grant the user unlimited disk space.<\/p>\n<ul>\n<li>If you chose to view all of your accounts, click <em>Show Only this Reseller\u2019s Accounts<\/em> under a reseller\u2019s username to view only that reseller\u2019s accounts.<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>Click <em>Save<\/em>.<\/p>\n<\/li>\n<\/ol>\n<div class=\"callout callout-info\">\n<div class=\"callout-heading\">Note:<\/div>\n<div class=\"callout-content\">\n<p>If all of your accounts\u2019 quotas incorrectly display as <code>0<\/code>, rebuild your system\u2019s quota files. Click the <em>click here<\/em> link, or, if the interface does not display a link, use WHM\u2019s <em>Initial Quota Setup<\/em> interface (<em>WHM &gt;&gt; Home &gt;&gt; Server Configuration &gt;&gt; Initial Quota Setup<\/em>).<\/p>\n<\/p><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Valid for versions 94 through the latest version Version: 82 94 Overview This interface allows you to change an account\u2019s disk space quota. This quota specifies the maximum amount of disk space that an account can use on your server. Warning: We enable quotas by default on new installations. If you disable and then reenable &hellip;<\/p>\n","protected":false},"author":1,"featured_media":830,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/829"}],"collection":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/comments?post=829"}],"version-history":[{"count":0,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/posts\/829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media\/830"}],"wp:attachment":[{"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/media?parent=829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/categories?post=829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ssdsunucum.com\/blog\/wp-json\/wp\/v2\/tags?post=829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}