{"id":3764,"date":"2023-11-21T16:32:15","date_gmt":"2023-11-21T08:32:15","guid":{"rendered":"https:\/\/www.servergigabit.com\/guide\/?post_type=kb&#038;p=3764"},"modified":"2026-03-16T11:49:31","modified_gmt":"2026-03-16T03:49:31","slug":"hdd-ssd-free-storage-fast","status":"publish","type":"kb","link":"https:\/\/www.servergigabit.com\/guide\/kb\/hdd-ssd-free-storage-fast","title":{"rendered":"HDD\/SSD Running Out Space? 5 Easy Ways to Free Storage Fast"},"content":{"rendered":"<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-3766\" src=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-300x169.jpeg\" alt=\"HDD\/SSD\" width=\"666\" height=\"375\" srcset=\"https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-300x169.jpeg 300w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-1024x576.jpeg 1024w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-768x432.jpeg 768w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-1536x864.jpeg 1536w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-2048x1152.jpeg 2048w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-370x208.jpeg 370w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-1230x692.jpeg 1230w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-800x450.jpeg 800w, https:\/\/www.servergigabit.com\/guide\/wp-content\/uploads\/2023\/11\/p-390x219.jpeg 390w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/p>\n<div class=\"markdown markdown-main-panel\" dir=\"ltr\">\n<h2 data-sourcepos=\"7:1-7:339\"><strong>What Happens If There Is Insufficient Storage on HDD\/SSD?<\/strong><\/h2>\n<p data-sourcepos=\"7:1-7:339\">Running out of disk space on HDD\/SSD can cause various problems, such as websites becoming unreachable, game servers becoming unavailable, and other services failing to start. To avoid these problems, it is important to identify and remove large files from your system. In this guide, we will show you how to do this on both <a href=\"https:\/\/www.servergigabit.com\/linux-vps-hosting\/\">Linux<\/a> and Windows systems.<\/p>\n<h2 data-sourcepos=\"9:1-9:30\"><strong>Finding Big Files on Linux<\/strong><\/h2>\n<ol data-sourcepos=\"11:1-14:0\">\n<li data-sourcepos=\"11:1-12:0\">\n<p data-sourcepos=\"11:4-11:36\">Connect to your server using SSH.<\/p>\n<\/li>\n<li data-sourcepos=\"13:1-14:0\">\n<p data-sourcepos=\"13:4-13:58\">Gain root privileges by entering the following command:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">sudo -i\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"3\" data-sourcepos=\"19:1-20:0\">\n<li data-sourcepos=\"19:1-20:0\">Execute the following command to find the top 10 largest files:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">cd \/\r\nfind -type f -exec du -Sh {} + | sort -rh | head -n 10\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"4\" data-sourcepos=\"26:1-29:0\">\n<li data-sourcepos=\"26:1-27:0\">\n<p data-sourcepos=\"26:4-26:325\">Once the command finishes executing, a list of the 10 largest files will be displayed. These files might be old downloads or large log files. Files that are no longer used can be safely deleted. Before deleting log files, it is recommended to check them for errors that you can resolve to prevent the issue from recurring.<\/p>\n<\/li>\n<li data-sourcepos=\"28:1-29:0\">\n<p data-sourcepos=\"28:4-28:47\">To delete a file, use the following command:<\/p>\n<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">rm &lt;path_to_file&gt;\r\n<\/code><\/pre>\n<\/div>\n<h2 data-sourcepos=\"34:1-34:32\"><strong>Finding Big Files on Windows<\/strong><\/h2>\n<ol data-sourcepos=\"36:1-37:0\">\n<li data-sourcepos=\"36:1-37:0\">Download and install the freeware <a href=\"https:\/\/apps.microsoft.com\/detail\/xp9m26rsclnt88?hl=en-US&amp;gl=MY\" target=\"_blank\" rel=\"noopener\">TreeSize<\/a> from the following link:<\/li>\n<\/ol>\n<div class=\"code-block ng-star-inserted\">\n<pre><code class=\"code-container no-decoration-radius\" role=\"text\">http:\/\/www.jam-software.de\/treesize_free\/?language=EN\r\n<\/code><\/pre>\n<\/div>\n<ol start=\"2\" data-sourcepos=\"42:1-47:0\">\n<li data-sourcepos=\"42:1-43:0\">\n<p data-sourcepos=\"42:4-42:58\">Run TreeSize and select the partition you want to scan.<\/p>\n<\/li>\n<li data-sourcepos=\"44:1-45:0\">\n<p data-sourcepos=\"44:4-44:67\">A list of all files on the selected partition will be displayed.<\/p>\n<\/li>\n<li data-sourcepos=\"46:1-47:0\">\n<p data-sourcepos=\"46:4-46:99\">Carefully review the list and delete any unnecessary files. Avoid deleting Windows system files.<\/p>\n<\/li>\n<\/ol>\n<h2 data-sourcepos=\"48:1-48:14\"><strong>Conclusion<\/strong><\/h2>\n<p data-sourcepos=\"50:1-50:155\">By following these instructions, you can effectively identify and remove large files from your system to free up disk space and prevent potential problems.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>What Happens If There Is Insufficient Storage on HDD\/SSD? Running out of disk space on HDD\/SSD can cause various problems, such as websites becoming unreachable, game servers becoming unavailable, and other services failing to start. To avoid these problems, it is important to identify and remove large files from your system. In this guide, we will show you how to&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[1099],"kbtag":[1172,1171],"class_list":["post-3764","kb","type-kb","status-publish","hentry","kbtopic-tutorials","kbtag-hdd","kbtag-ssd"],"_links":{"self":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/comments?post=3764"}],"version-history":[{"count":5,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3764\/revisions"}],"predecessor-version":[{"id":6287,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kb\/3764\/revisions\/6287"}],"wp:attachment":[{"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/media?parent=3764"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=3764"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.servergigabit.com\/guide\/wp-json\/wp\/v2\/kbtag?post=3764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}