{"id":20721,"date":"2020-11-30T05:31:12","date_gmt":"2020-11-29T21:31:12","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&#038;p=20721"},"modified":"2023-01-18T11:25:23","modified_gmt":"2023-01-18T03:25:23","slug":"server-hard-disk-full-a-quick-guide","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/server-hard-disk-full-a-quick-guide","title":{"rendered":"Server Hard Disk Full? A Quick Guide"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"20721\" class=\"elementor elementor-20721\" data-elementor-post-type=\"kb\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6540708 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6540708\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9d6ceba\" data-id=\"9d6ceba\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c59d87e elementor-widget elementor-widget-heading\" data-id=\"c59d87e\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Server Hard Disk Full? A Quick Guide\n<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-aa02e83 elementor-widget elementor-widget-text-editor\" data-id=\"aa02e83\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Hi, if you are facing this problem:<\/p><p>Server Hard Disk Full.<\/p><p>For server administrators, it is essential to maintain your server upkeep in terms of the hard disk space. When the server hard disk full, there will be a serious downtime that will happen to your server.<\/p><p>The most important sign when the hard disk is full, you will start getting complaints that email service is down and customers unable to login to WHM\/cPanel. Usually, you will get this error when trying to login:<\/p><p>====================================<\/p><p><em>Sorry for the inconvenience!<\/em><\/p><p><em>The filesystem mounted at \/home\/username on this server is running out of disk space.<\/em><\/p><p><em>cPanel operations have been temporarily suspended to prevent something bad from happening.<\/em><\/p><p><em>lease ask your system admin to remove any files, not in use on that partition.<\/em><\/p><p>====================================<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9c4b6a9 elementor-widget elementor-widget-heading\" data-id=\"9c4b6a9\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">How To Solve Server Hard Disk Full Problem<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-766d3ae elementor-widget elementor-widget-text-editor\" data-id=\"766d3ae\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Please bear in mind that when it comes to this situation, your ONLY choice is to urgently clear the hard disk space by remoting to the server using a telnet client application.<\/p><p>Once Inside<\/p><p>So once you are inside, go to \/ and run the command below:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-17ec020 elementor-widget elementor-widget-image\" data-id=\"17ec020\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/command01.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-341ed7f elementor-widget elementor-widget-text-editor\" data-id=\"341ed7f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>This will display the overall hard disk usage of your server.\u00a0<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3bb3f44 elementor-widget elementor-widget-text-editor\" data-id=\"3bb3f44\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Next, type the command below:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-852b9b1 elementor-widget elementor-widget-image\" data-id=\"852b9b1\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/casbay.com\/guide\/wp-content\/uploads\/2021\/02\/command02.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c20bb99 elementor-widget elementor-widget-text-editor\" data-id=\"c20bb99\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<figure class=\"wp-caption alignnone\"><figcaption class=\"wp-caption-text\">Identify file or folder<\/figcaption><\/figure>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1270b28 elementor-widget elementor-widget-text-editor\" data-id=\"1270b28\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>You can then select the folder that has the biggest size and continue running the \u201cdu -sh *\u201d command until you are able to identify the files or folders.<\/p><p>To remove the files or folders, you can use the commands below:<\/p><p>========================<\/p><p><em>1.\u00a0<strong><kbd>rmdir<\/kbd><\/strong>\u00a0command \u2013 Deletes the specified empty directories.<\/em><\/p><p><em>2.\u00a0<strong><kbd>rm<\/kbd><\/strong>\u00a0command \u2013 Delete the file including sub-directories. You can delete non-empty\u00a0<\/em><\/p><p>========================<\/p><p>If you are having a problem executing the command above, you can execute this command instead \u201c<strong>rm -rf foldername<\/strong>\u201d But please be careful while using this command since it will not ask for any confirmation before deleting.<\/p><p>Most common folders or files that you can check for removal:<\/p><p>======================<\/p><p><em>\/backup\/<\/em><\/p><p><em>\/home\/backup\/<\/em><\/p><p><em>\/home\/username\/public_html\/error_log<\/em><\/p><p><em>\/var\/log\/<\/em><\/p><p><em>\/var\/lib\/mysql\/serverhostname.err<\/em><\/p><p>======================<\/p><p>Have a nice day!<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fb8f794 elementor-widget elementor-widget-text-editor\" data-id=\"fb8f794\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>If you are interested in the topic: Linux Operating System, you can find more articles like this from our <a href=\"https:\/\/www.casbay.com\/guide\/kb\/how-to-securely-transfer-files-via-rsync-and-ssh-on-linux\">Knowledge Base<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Server Hard Disk Full? A Quick Guide Hi, if you are facing this problem: Server Hard Disk Full. For server administrators, it is essential to maintain your server upkeep in terms of the hard disk space. When the server hard disk full, there will be a serious downtime that will happen to your server. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[109],"kbtag":[106,105],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/20721"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=20721"}],"version-history":[{"count":18,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/20721\/revisions"}],"predecessor-version":[{"id":38210,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/20721\/revisions\/38210"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=20721"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=20721"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=20721"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=20721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}