{"id":1576,"date":"2026-10-20T12:30:16","date_gmt":"2026-10-20T12:30:16","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/?page_id=1576"},"modified":"2026-10-20T12:30:16","modified_gmt":"2026-10-20T12:30:16","slug":"disk-usage","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/getting-started-on-icsf\/disk-usage\/","title":{"rendered":"Disk Usage"},"content":{"rendered":"<h2>Storage quotas and usage<\/h2>\n<p>To ensure fair-usage of storage, the <em>home<\/em> directory storage and any additional <em>Research Data Storage<\/em> (RDS) areas have quotas applied to them. The following sections show how to check the quota of the areas of storage you have access to and how to measure your usage of the storage.<\/p>\n<p>We generally ask users to keep their <em>home<\/em> storage to <strong>50GB or less<\/strong>. RDS storage areas have their own (larger) quota, arranged with the owner of the storage. There are no quotas on <em>scratch<\/em> but an automatic <a href=\"\/csf3\/filesystems\/scratch-cleanup\/\">scratch cleanup policy<\/a> is enforced to delete old scratch files.<\/p>\n<h2>Home Directories<\/h2>\n<p>Home directories are located on the <em>Isilon<\/em> storage platform and therefore have quotas applied to them.<\/p>\n<h3>Group Storage Quota and Usage<\/h3>\n<p>Your <em>home directory<\/em> (folder) is itself in a parent folder associated with your research group. The group area has a <em>storage quota<\/em> applied to it &#8211; the overall usage is restricted, usually to a total that depends on the size of the group. We request that users try <strong>not to use more than 50GB each<\/strong>.<\/p>\n<p>You can find out the overall <em>quota<\/em> and <em>usage<\/em> for your group by running the following command:<\/p>\n<pre>df -h $HOME\r\n\r\nFilesystem                                     <strong>Size  Used Avail Use%<\/strong> Mounted on\r\nnas.isilonr.manchester.ac.uk:\/ifs\/nas\/path...  <strong>4.0T  2.5T  1.6T  63%<\/strong> \/mnt\/<em>iusers01<\/em>\r\n     #                                           #                          #\r\n     #                                           #                          #\r\n     #                                           # The overall size:  4TB   #\r\n     # You can ignore the <em>Filesystem<\/em> name        # Storage used:    2.5TB   # You can ignore the\r\n                                                 # Still available: 1.6TB   # <em>Mounted on<\/em> name\r\n                                                 # Storage is 63% full\r\n<\/pre>\n<p>Remember, this is the overall usage and quota for your group&#8217;s storage area used for home directories. <strong>If you use too much storage you will fill your group&#8217;s area, preventing yourself and your colleagues from working!<\/strong><\/p>\n<h2>Scratch<\/h2>\n<p>The <em>scratch<\/em> area <code>~\/scratch<\/code> is a different filesystem (different physical storage) to your home directory. There is no quota applied to this directory but you are expected to delete unwanted \/ temporary files after jobs have completed to ensure you don&#8217;t use excessive amounts of storage.<\/p>\n<p><strong>The system can also delete files older than 3-months to free up space!<\/strong> (please see the <a href=\"\/csf3\/filesystems\/scratch-cleanup\/\">scratch cleanup policy<\/a> for more information)<\/p>\n<h2>Additional RDS areas<\/h2>\n<p>If your group has access to additional <em>Research Data Storage<\/em>, usually accessible via a shortcut in your home directory named <code>~\/data<\/code> (or <code>~\/rds<\/code>) then you can check the group&#8217;s overall quota and your usage using similar commands to those used for the <em>home<\/em> directory:<\/p>\n<pre class=\"slurm\"># Overall quota and usage stats for additional RDS area\r\ndf -h ~\/<em>rds<\/em>\/\r\n        #\r\n        # Use the name of your shortcut to your RDS area\r\n<\/pre>\n<h2>Fast and detailed interactive usage scanning<\/h2>\n<p>You can use the <strong><code>ncdu<\/code><\/strong> utility to interactively scan <em>any<\/em> directory you have <em>Read<\/em> access to, including your home directory, scratch directory and any other place like an RDS share. This method is quicker than using the <code>du<\/code> command and you can look through the sub-directories and find what is consuming most of your space.<\/p>\n<h3>Running the scan<\/h3>\n<pre class=\"slurm\"># Load the ncdu module which will do the scanning\r\nmodule purge\r\nmodule load apps\/binapps\/ncdu\/2.9.1\r\n\r\n# cd to the directory which you want to scan\r\ncd\r\n#or\r\ncd ~\/scratch\/\r\n\r\n# Start scanning\r\nncdu -r\r\n      #\r\n      # -r = Read Only\r\n\r\n# Faster scanning\r\nncdu -t 2 -r\r\n      #\r\n      # -t 2 = Two Threads\r\n\r\n<\/pre>\n<p><strong>TIP<\/strong>:<\/p>\n<ol>\n<li>If you have lots of files and folders in the directory you are scanning, request a larger number of cores for your scanning (e.g. <strong>-t 4<\/strong>). More number of cores means faster scanning. 4-Core is good for few hundreds of GB to many TB of data.<\/li>\n<p><\/p>\n<li>Instead of <strong>cd<\/strong>&#8216;ing to the directory that you want to scan, you can provide the path of the directory as last argument to the ncdu command: <strong><code>ncdu -r \/path\/to\/dir<\/code><\/strong><\/li>\n<\/ol>\n<h3>Viewing and navigating the results<\/h3>\n<h4>Scanning<\/h4>\n<p>While scanning is still in progress, you will see this view:<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-12552\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/usage.png\" alt=\"\" width=\"880\" \/><br \/>\nLet the scanning complete.<\/p>\n<h4>Scan result<\/h4>\n<p>When the scan is completed, you will be presented with the scan results.<br \/>\nAt the top line starting with <code>---<\/code> the path of the scanned directory is shown.<br \/>\nThen the sub-directories are listed in descending order, based on their size.<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-12552\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/usage1.png\" alt=\"\" width=\"880\" \/><\/p>\n<p>At the bottom left you will see the <strong>Total disk usage<\/strong> of the directory. It is <strong>1.1TB<\/strong> in the above example.<br \/>\nAt the same line, towards the right end <strong>Items<\/strong> shows the total number of files and folders of the directory (3,693,319 in the example).<\/p>\n<h4>Navigating<\/h4>\n<p>You can navigate into sub-directories by using the <strong>arrow keys<\/strong> and then hitting <strong>Enter<\/strong>. In this example using the <strong>down arrow key<\/strong>, we have scrolled down and selected\/highlighted the <code>.conda<\/code> sub-directory:<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-12552\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/usage2.png\" alt=\"\" width=\"880\" \/><\/p>\n<p>With the <code>.conda<\/code> sub-directory selected\/highlighted, when you hit <strong>Enter<\/strong>, you will be presented with the contents and detailed usage of the .<code>.conda<\/code> sub-directory:<br \/>\n<img decoding=\"async\" class=\"alignnone size-full wp-image-12552\" src=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-content\/uploads\/usage3.png\" alt=\"\" width=\"880\" \/><br \/>\nTo return to the previous\/upper-level directory, navigate towards the top to highlight the item <strong><code>\/..<\/code><\/strong> and hit <strong>Enter<\/strong>.<\/p>\n<p>You can use <code>i<\/code> to toggle on and off more information about a file\/directory &#8211; e.g. it will tell you how many files in a particular folder.<\/p>\n<h4>Quitting<\/h4>\n<p>Press <strong><code>q<\/code><\/strong> to quit <strong>ncdu<\/strong>.<br \/>\nType <strong><code>exit<\/code><\/strong> and hit <strong>enter<\/strong> to exit the interactive job\/session.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Storage quotas and usage To ensure fair-usage of storage, the home directory storage and any additional Research Data Storage (RDS) areas have quotas applied to them. The following sections show how to check the quota of the areas of storage you have access to and how to measure your usage of the storage. We generally ask users to keep their home storage to 50GB or less. RDS storage areas have their own (larger) quota, arranged.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/getting-started-on-icsf\/disk-usage\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":19,"featured_media":0,"parent":90,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1576","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1576","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/comments?post=1576"}],"version-history":[{"count":8,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1576\/revisions"}],"predecessor-version":[{"id":1585,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1576\/revisions\/1585"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/90"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/media?parent=1576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}