{"id":267,"date":"2008-05-01T13:10:20","date_gmt":"2008-05-01T13:10:20","guid":{"rendered":"http:\/\/parkesy.wordpress.com\/2008\/05\/01\/missing-server-disk-space\/"},"modified":"2008-05-01T13:10:20","modified_gmt":"2008-05-01T13:10:20","slug":"missing-server-disk-space","status":"publish","type":"post","link":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/","title":{"rendered":"Missing Server Disk Space"},"content":{"rendered":"<p>Yesterday we got an alert from a client&#8217;s server that it was a running low on disk space. <\/p>\n<p>This particular server has a data partition that is about 44GB but in the past they have never got anywhere near this much data<\/p>\n<p>I logged onto the server and yes indeed they were pretty low on space. I did a bit of house keeping and deleted some old backup\/image files on the server to free up about 7GB<\/p>\n<p>While I was looking at the folders something didn&#8217;t quite add up<\/p>\n<p>I selected all the folders and checked the properties and the size totaled to about 9GB.<\/p>\n<p>Strange. The server was reporting 35GB had been used.<\/p>\n<p>I&#8217;d come across a similar probably in the past where you have to allow for the space used by shadow copies but on checking this it was only using about 2GB&#8230;where had the other 25GB gone?<\/p>\n<p>I&#8217;ve used <a href=\"http:\/\/www.jam-software.com\/freeware\/index.shtml\" target=\"_blank\">TreeSize Free<\/a> a couple of times in the past and this told the same story (just in a nice graphical fashion!)<\/p>\n<p>So I did a bit of searching and <a href=\"http:\/\/technet2.microsoft.com\/windowsserver\/en\/library\/02d690d9-7df0-4efb-8571-93c74952c20f1033.mspx?mfr=true\" target=\"_blank\" class=\"broken_link\">found the DIRUSE utility<\/a> and used the following<\/p>\n<p><strong>DIRUSE \/s \/m \/, E:\\ &gt; c:\\sizelog.txt<\/strong><\/p>\n<p>This gave me a text file with a complete a list of every folder on the partition with usage in megabytes with larger figures nicely separated by a comma<\/p>\n<p>I was able to open the file in excel and sort by the file size with the largest at the top<\/p>\n<p>I spotted a couple of subdirectories that were quite large where Treesize and Explorer had reported the containing folder as being quite small<\/p>\n<p>The name of the folder gave it away for me: PROFILES<\/p>\n<p>On this particular server each user has a roaming profile so they can log onto any PC in the office. <\/p>\n<p>But the way this had been setup meant that as an administrator, by default I didn&#8217;t have permission to view those files&#8230;even to check the file size<\/p>\n<p>When your logged on as an administrator DIRUSE gives you the file sizes regardless of permissions and surprise, surprise the profiles directory was 25GB <\/p>\n<p>Looking down the list the it turns out that someone must of had this bright idea,<\/p>\n<p>&#8220;I&#8217;ll install iTunes and rip some music to the PC, that way I can listen to music no matter which PC i&#8217;m on&#8221; <\/p>\n<p>Then everyone else had caught on to the idea and the re-directed My Documents folders were full of MP3&#8217;s<\/p>\n<p>There was a little while where this had me completely stumped and all sorts of ideas running through my head about file corruption and similar nightmares. Thankfully it wasn&#8217;t anything of the sort but i learnt all about a very useful command!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday we got an alert from a client&#8217;s server that it was a running low on disk space. This particular server has a data partition that is about 44GB but in the past they have never got anywhere near this much data I logged onto the server and yes indeed they were pretty low on<\/p>\n<p><a class=\"readmore\" href=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/\"><span class=\"arrow-right icon\"><\/span>Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[57],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","hentry","category-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.11 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Missing Server Disk Space - Andy&#039;s Techie Blog<\/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:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Missing Server Disk Space - Andy&#039;s Techie Blog\" \/>\n<meta property=\"og:description\" content=\"Yesterday we got an alert from a client&#8217;s server that it was a running low on disk space. This particular server has a data partition that is about 44GB but in the past they have never got anywhere near this much data I logged onto the server and yes indeed they were pretty low onRead More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/\" \/>\n<meta property=\"og:site_name\" content=\"Andy&#039;s Techie Blog\" \/>\n<meta property=\"article:published_time\" content=\"2008-05-01T13:10:20+00:00\" \/>\n<meta name=\"author\" content=\"Andy Parkes\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andy Parkes\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/\",\"name\":\"Missing Server Disk Space - Andy&#039;s Techie Blog\",\"isPartOf\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\"},\"datePublished\":\"2008-05-01T13:10:20+00:00\",\"dateModified\":\"2008-05-01T13:10:20+00:00\",\"author\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\"},\"breadcrumb\":{\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/andyparkes.co.uk\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Missing Server Disk Space\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#website\",\"url\":\"https:\/\/andyparkes.co.uk\/blog\/\",\"name\":\"Andy&#039;s Techie Blog\",\"description\":\"Professional Geek\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d\",\"name\":\"Andy Parkes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g\",\"caption\":\"Andy Parkes\"},\"description\":\"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.\",\"sameAs\":[\"http:\/\/www.andyparkes.co.uk\/blog\"],\"url\":\"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Missing Server Disk Space - Andy&#039;s Techie Blog","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:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/","og_locale":"en_US","og_type":"article","og_title":"Missing Server Disk Space - Andy&#039;s Techie Blog","og_description":"Yesterday we got an alert from a client&#8217;s server that it was a running low on disk space. This particular server has a data partition that is about 44GB but in the past they have never got anywhere near this much data I logged onto the server and yes indeed they were pretty low onRead More","og_url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/","og_site_name":"Andy&#039;s Techie Blog","article_published_time":"2008-05-01T13:10:20+00:00","author":"Andy Parkes","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Andy Parkes","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/","url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/","name":"Missing Server Disk Space - Andy&#039;s Techie Blog","isPartOf":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#website"},"datePublished":"2008-05-01T13:10:20+00:00","dateModified":"2008-05-01T13:10:20+00:00","author":{"@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d"},"breadcrumb":{"@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/andyparkes.co.uk\/blog\/index.php\/2008\/05\/01\/missing-server-disk-space\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/andyparkes.co.uk\/blog\/"},{"@type":"ListItem","position":2,"name":"Missing Server Disk Space"}]},{"@type":"WebSite","@id":"https:\/\/andyparkes.co.uk\/blog\/#website","url":"https:\/\/andyparkes.co.uk\/blog\/","name":"Andy&#039;s Techie Blog","description":"Professional Geek","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/andyparkes.co.uk\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/3534e8ac6b1bec765cd061feff56679d","name":"Andy Parkes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/andyparkes.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3824cbf53df51d7ca5cf809b6ad81a157fbfff2292e36ab8666f04ddad06bfcc?s=96&d=mm&r=g","caption":"Andy Parkes"},"description":"Andy Parkes is Technical Director at Coventry based IT support company IBIT Solutions. Formerly, coordinator of AMITPRO and Microsoft Partner Area Lead for 2012-2013. He also isn't a fan of describing himself in the third person.","sameAs":["http:\/\/www.andyparkes.co.uk\/blog"],"url":"https:\/\/andyparkes.co.uk\/blog\/index.php\/author\/andyparkes\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pmvJ6-4j","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":0,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"wp:attachment":[{"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyparkes.co.uk\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}