{"id":3833,"date":"2026-06-19T14:31:40","date_gmt":"2026-06-19T14:31:40","guid":{"rendered":"https:\/\/pheonixsolutions.com\/knowledge-base\/?p=3833"},"modified":"2026-06-19T14:31:49","modified_gmt":"2026-06-19T14:31:49","slug":"how-to-increase-disk-quota-for-a-cpanel-account-via-cli","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/","title":{"rendered":"How to Increase Disk Quota for a cPanel Account via CLI?"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Introduction:<\/h3>\n\n\n\n<p>Disk quotas in cPanel allow administrators to control the amount of disk space allocated to individual hosting accounts. As websites grow, users may require additional storage for files, emails, databases, and backups. cPanel provides a command-line interface (CLI) that enables administrators to quickly modify disk quotas without accessing the WHM graphical interface.<\/p>\n\n\n\n<p>This article explains how to increase the disk quota for a cPanel account using the command line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Before proceeding, ensure that the following requirements are met:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root SSH access to the server.<\/li>\n\n\n\n<li>cPanel &amp; WHM installed on the server.<\/li>\n\n\n\n<li>Knowledge of the cPanel account username.<\/li>\n\n\n\n<li>Disk quotas enabled on the server.<\/li>\n\n\n\n<li>Sufficient available disk space.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Implementation<\/h3>\n\n\n\n<p><strong>Step 1:<\/strong><\/p>\n\n\n\n<p>Log in to the server via SSH as the root user:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ ssh root@server_ip<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Step 2: <\/strong><\/p>\n\n\n\n<p>To view the current disk quota assigned to a cPanel account, execute:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 accountsummary user=username<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Replace <code>username<\/code> with the actual cPanel account username.<\/p>\n\n\n\n<p><strong>Step 3: <\/strong><\/p>\n\n\n\n<p>To set the disk quota to 20 GB (20480 MB), run:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 editquota user=username quota=20480<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 editquota user=testuser quota=20480<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>Note:<\/strong> The quota value is specified in megabytes (MB). For example, 10 GB = 10240 MB and 50 GB = 51200 MB.<\/p>\n<\/blockquote>\n\n\n\n<p><strong>Step 4: <\/strong>Set Unlimited Disk Quota (Optional)<\/p>\n\n\n\n<p>To assign unlimited disk space to an account, execute:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 editquota user=username quota=0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 editquota user=testuser quota=0<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Step 5:<\/strong> Verify the Updated Quota<\/p>\n\n\n\n<p>Run the following command to confirm the changes:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 accountsummary user=username<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Example:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$ whmapi1 accountsummary user=testuser<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>The output should display the updated disk quota.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Conclusion<\/h3>\n\n\n\n<p>Managing disk quotas through the command line provides a quick and efficient way to allocate additional storage to cPanel accounts. Using the <code>whmapi1 editquota<\/code> command, administrators can easily increase, decrease, or set unlimited quotas without accessing the WHM interface.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Disk quotas in cPanel allow administrators to control the amount of disk space allocated to individual hosting accounts. As websites grow, users may require additional storage for files, emails, databases, and backups. cPanel provides a command-line interface (CLI) that enables administrators to quickly modify disk quotas without accessing the WHM graphical interface. This article ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-3833","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Increase Disk Quota for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase Disk Quota for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"og:description\" content=\"Introduction: Disk quotas in cPanel allow administrators to control the amount of disk space allocated to individual hosting accounts. As websites grow, users may require additional storage for files, emails, databases, and backups. cPanel provides a command-line interface (CLI) that enables administrators to quickly modify disk quotas without accessing the WHM graphical interface. This article ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/\" \/>\n<meta property=\"og:site_name\" content=\"PheonixSolutions Knowledge-Base\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-19T14:31:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-19T14:31:49+00:00\" \/>\n<meta name=\"author\" content=\"Saikrishna Areddy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Saikrishna Areddy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/\"},\"author\":{\"name\":\"Saikrishna Areddy\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"headline\":\"How to Increase Disk Quota for a cPanel Account via CLI?\",\"datePublished\":\"2026-06-19T14:31:40+00:00\",\"dateModified\":\"2026-06-19T14:31:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/\"},\"wordCount\":292,\"commentCount\":0,\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/\",\"name\":\"How to Increase Disk Quota for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\"},\"datePublished\":\"2026-06-19T14:31:40+00:00\",\"dateModified\":\"2026-06-19T14:31:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/2026\\\/06\\\/19\\\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Increase Disk Quota for a cPanel Account via CLI?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/\",\"name\":\"PheonixSolutions Knowledge-Base\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/#\\\/schema\\\/person\\\/8a5f4b5a8e71659e5a3bbee27663d9ba\",\"name\":\"Saikrishna Areddy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g\",\"caption\":\"Saikrishna Areddy\"},\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/knowledge-base\\\/author\\\/saikrishna\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Increase Disk Quota for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase Disk Quota for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base","og_description":"Introduction: Disk quotas in cPanel allow administrators to control the amount of disk space allocated to individual hosting accounts. As websites grow, users may require additional storage for files, emails, databases, and backups. cPanel provides a command-line interface (CLI) that enables administrators to quickly modify disk quotas without accessing the WHM graphical interface. This article ..Read more","og_url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/","og_site_name":"PheonixSolutions Knowledge-Base","article_published_time":"2026-06-19T14:31:40+00:00","article_modified_time":"2026-06-19T14:31:49+00:00","author":"Saikrishna Areddy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Saikrishna Areddy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/"},"author":{"name":"Saikrishna Areddy","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"headline":"How to Increase Disk Quota for a cPanel Account via CLI?","datePublished":"2026-06-19T14:31:40+00:00","dateModified":"2026-06-19T14:31:49+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/"},"wordCount":292,"commentCount":0,"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/","name":"How to Increase Disk Quota for a cPanel Account via CLI? - PheonixSolutions Knowledge-Base","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website"},"datePublished":"2026-06-19T14:31:40+00:00","dateModified":"2026-06-19T14:31:49+00:00","author":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba"},"breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/2026\/06\/19\/how-to-increase-disk-quota-for-a-cpanel-account-via-cli\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"How to Increase Disk Quota for a cPanel Account via CLI?"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#website","url":"https:\/\/pheonixsolutions.com\/knowledge-base\/","name":"PheonixSolutions Knowledge-Base","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/knowledge-base\/#\/schema\/person\/8a5f4b5a8e71659e5a3bbee27663d9ba","name":"Saikrishna Areddy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/219fb50fa61a168b58a5e704d05058f958504aa8324675172185e3f0e8b3fd24?s=96&d=mm&r=g","caption":"Saikrishna Areddy"},"url":"https:\/\/pheonixsolutions.com\/knowledge-base\/author\/saikrishna\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/3833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=3833"}],"version-history":[{"count":5,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/3833\/revisions"}],"predecessor-version":[{"id":3843,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/posts\/3833\/revisions\/3843"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=3833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/categories?post=3833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/knowledge-base\/wp-json\/wp\/v2\/tags?post=3833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}