
{"id":898,"date":"2012-03-15T23:55:46","date_gmt":"2012-03-15T23:55:46","guid":{"rendered":"http:\/\/tech-no.104.210.61.21.xip.io\/?p=898"},"modified":"2012-05-01T15:22:10","modified_gmt":"2012-05-01T15:22:10","slug":"strange-issue-consumes-disk-space-on-windows-2008r2-sp1","status":"publish","type":"post","link":"https:\/\/tech-no.org\/?p=898","title":{"rendered":"Strange issue consumes disk space on Windows 2008R2 sp1"},"content":{"rendered":"<p>Recently i was troubleshooting a lack of disk space on Hyper-V host servers and was baffled by the large (50+gb ) of disk space that was missing from the system.<\/p>\n<p><a href=\"http:\/\/tech-no.104.210.61.21.xip.io\/wp-content\/uploads\/sites\/4\/2011\/03\/Windowslogo.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-236\" title=\"Windowslogo\" src=\"http:\/\/tech-no.104.210.61.21.xip.io\/wp-content\/uploads\/sites\/4\/2011\/03\/Windowslogo.jpg\" alt=\"\" width=\"225\" height=\"225\" srcset=\"https:\/\/tech-no.org\/wp-content\/uploads\/sites\/4\/2011\/03\/Windowslogo.jpg 225w, https:\/\/tech-no.org\/wp-content\/uploads\/sites\/4\/2011\/03\/Windowslogo-150x150.jpg 150w, https:\/\/tech-no.org\/wp-content\/uploads\/sites\/4\/2011\/03\/Windowslogo-64x64.jpg 64w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/><\/a><\/p>\n<p>The host servers have modest (read 160gb) Partitions for the DOM0 partition.\u00a0 I found that VSS in the default setting when disabled in set to &#8220;UNBOUNDED&#8221; and applications that use VSS, such as ONTAP and Netbackup may create temporary files that need to be cleaned up , and ultimately, you should set the maxsize parameter with vssadmin to avoid this issue altogether.<\/p>\n<p>&nbsp;<\/p>\n<p>Start with a command prompt in administrator mode<\/p>\n<p>next run this command to see where your VSS usage is at the moment:<\/p>\n<p><code>\"vssadmin list shadowstorage<\/code>&#8221;<\/p>\n<p>&nbsp;<\/p>\n<p>the output should look something like this<\/p>\n<pre>C:\\&gt;vssadmin list shadowstorage\r\nvssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool\r\n(C) Copyright 2001-2005 Microsoft Corp.\r\n\r\nShadow Copy Storage association\r\n   For volume: (C:)\\\\?\\Volume{1f579c24-a50d-11dd-83df-xxxxxxxxxxxxx}\\\r\n   Shadow Copy Storage volume: (C:)\\\\?\\Volume{1f579c24-a50d-11dd-83df-xxxxxxxxxxxxx}\\\r\n   Used Shadow Copy Storage space: 47.256 GB\r\n   Allocated Shadow Copy Storage space: 49.405 GB\r\n   Maximum Shadow Copy Storage space: 50 GB<\/pre>\n<p>If the last line shows &#8220;Maximum Shadow Copy Storage space: UNBOUNDED (100%) &#8221; Then your application that is listed as a provider or writer for VSS can and will consume quite a bit of disk space. I found articles from Microsoft that made similar recommendations on the 15% value.<\/p>\n<p>&nbsp;<\/p>\n<p>Here is an example of the command you would use to re-size the Unbounded ShadowStorage to a percentage of drive space (this is the recommendation from Symantec for the Netbackup product)<\/p>\n<p>&nbsp;<\/p>\n<pre>vssadmin resize ShadowStorage \/for=C: \/on=C: \/maxsize=15%<\/pre>\n<p>Obviously you can find what drive letter to insert after the \/for= by looking at the output from the list shadowstorage command.<\/p>\n<p>&nbsp;<\/p>\n<p>And if you are a Netbackup customer, do not set the size lower than 15% as your backups may fail.<\/p>\n<p>&nbsp;<\/p>\n<p>The official recommendation seems to come from Microsoft (10%) but i had to increase the size of the shadow storage to avoid &#8220;Status Code 156&#8221; errors on backup. Other issues may arise from insufficient shadowstorage space such as &#8220;Network Read Error&#8221;.<\/p>\n<p>Here is a link to Symantec&#8217;s KB on the issue<\/p>\n<p><a title=\"http:\/\/www.symantec.com\/business\/support\/index?page=content&amp;id=HOWTO44941#v18522639\" href=\"http:\/\/www.symantec.com\/business\/support\/index?page=content&amp;id=HOWTO44941#v18522639\" target=\"_blank\">http:\/\/www.symantec.com\/business\/support\/index?page=content&amp;id=HOWTO44941#v18522639<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>I hope to apply this change to all Hyper-V host servers along with a cleanup of files leftover from sp1 for 2008R2.<\/p>\n<p>Here is the link on how to clean up that leftover backup files and get back 4gb or more: (<a title=\"http:\/\/everythingsysadmin.wordpress.com\/2011\/03\/16\/cleanup-winsxs-after-windows-7-sp1-install\/\" href=\"http:\/\/everythingsysadmin.wordpress.com\/2011\/03\/16\/cleanup-winsxs-after-windows-7-sp1-install\/\" target=\"_blank\">http:\/\/everythingsysadmin.wordpress.com\/2011\/03\/16\/cleanup-winsxs-after-windows-7-sp1-install\/<\/a>)<\/p>\n<p>&nbsp;<\/p>\n<p>Let me know if you have any more disk space hogs that can be safely removed from windows 2008 R2 SP1.<\/p>\n<p>&nbsp;<\/p>\n<p>The end result of running these two procedures netted over 250gb of free space on some servers. Your Mileage May Vary&#8230;..<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently i was troubleshooting a lack of disk space on Hyper-V host servers and was baffled by the large (50+gb ) of disk space that was missing from the system. The host servers have modest (read 160gb) Partitions for the DOM0 partition.\u00a0 I found that VSS in the default setting when disabled in set to &hellip;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/898"}],"collection":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=898"}],"version-history":[{"count":4,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/898\/revisions"}],"predecessor-version":[{"id":900,"href":"https:\/\/tech-no.org\/index.php?rest_route=\/wp\/v2\/posts\/898\/revisions\/900"}],"wp:attachment":[{"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech-no.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}