Skip to navigation
   
Simon Bisson & Mary Branscombe's Blog

The case of the disappearing disk space

By Simon Bisson & Mary Branscombe in Editorial

Posted in Windows Vista, Storage, Laptop, HP, Microsoft on June 19, 2008 at 5:32 pm

Permalink | Author Profile

Where has 32GB of disk space gone and how do I make Vista give it back, or there’s no such thing as a free lunch.

When we’re on the road at conferences I take a fair few photographs, and I copy a lot of PowerPoints and PDFs onto my notebook, not to mention photographing products I’m reviewing, and then there’s recordings of interviews… It all takes up space, so when I got an 8 megapixel camera the day we drove into Death Valley I did wonder if disk space on my notebook might be a problem.

Over the last few weeks I’ve been kicking along with only a few gigabytes of my 84GB disk free. Simon, who has the same laptop and takes just as many photos, had already removed the recovery partition to get 8GB back. And last week at TechEd I got down to just 1GB free,. I grabbed the biggest USB stick I have, which at 32GB is a sizable proportion of my hard drive space, and started looking for files to move, using the excellent WinDirStat to see a treemap and size-sorted folder list. Recordings and photos were the obvious place to start and after I transferred a few gigabytes of those I had enough room to download more PowerPoints and worry later. The figures didn’t seem quite right, but I was spending more time thinking about how soon we could move the server to Windows Server 2008 to get faster network file copying with SMB 2: I want to know if the 30-40x Microsoft is claiming will work for us.

Yesterday I sat down to copy the photos and recordings still on my tablet PC onto the server and after removing 3GB of recordings I had - about the same space I’d started with. I’d get up to 2.2GB and then go back down to 1.9GB or right back to 800MB free. I ran disk cleanup and deleted two 500MB files of crash reports that were hanging around waiting to upload, and felt I was rearranging deck chairs on the Titanic. I ran WinDirStat and wondered why Windows needs 13GB of disk space, 6GB of which is in the WinSxS directory - ’side by side’ versions of files to avoid DLL hell. I kept coming back to the 8GB of photos that I wanted to keep on my notebook, the 11GB I use for OneNote and Outlook caches (recordings and attachments again), the fact that the conference files I was worrying about where only 2GB because the XML PowerPoint format is so compact…  and finally I looked at the summary at the top of WinDirStat that was telling me I only had 46GB of files on my hard drive.

Oh no, I thought; finally an application I care about that doesn’t run properly under Vista. Maybe every folder is just bigger. WinDirStat says it’s 20.9GB for the Users folder tree but Explorer says- well Explorer said 20.9GB as well. It’s not the swap and hibernation files; I can see 3GB for each of them in WinDirStat and besides, 84.2GB-46.5GB is some 32GB of disk space that’s missing. I cleared everything except the last system restore point: no difference. If I had 32GB of bad sectors, the hard drive ought to have raised the white flag in surrender by now. Where else would Vista be hiding disk space?

There’s a great new feature that Apple put into the Leopard release of Mac OS X called Time Machine, that takes a copy of all your files as you edit them, creating continuous backup so you can find files you’ve deleted and undo changes you made long after you’ve saved a document and moved on. Apart from the starry backdrop and the timeline scrollbar this is exactly the same as the Volume Shadow copy that Microsoft put into Windows Server 2003, which powers the Previous Versions feature in Vista, as well as System Restore. Shadow because you have to copy the ’shadow’ a file casts if it’s open or you can’t copy it at all, volume because it can get any or all files on that drive and Volume Shadow because, let’s face it, Microsoft has no clue about good product and feature names.

The interface is much less sexy too; you right-click on a file or folder and choose Restore previous versions. And how do you see how much space this really useful feature is using?

First you have to open a command prompt as an administrator; I run as a standard user because I don’t mind clicking on a dialog that confirms it’s me and not a virus mucking with the internals of Windows, so I hit the Start button, type CMD and right-click on the Command Prompt icon that appears to choose Run as Admin.  The command for working with Volume Shadow Services is VSSAdmin and the command to find out how much space it has its shadowy fingers on is:

VSSAdmin List ShadowStorage

By default, Vista gives 15% of total disk space or 30% of free disk space to System Restore and Volume Shadow Services, whichever is smaller. There’s no slider to adjust as there was in XP and the space doesn’t change unless you turn System Restore on and off - which deletes all the previous versions and restore points, so while it’s easy it’s not really a good idea. But you’re going to want to check and probably change the setting because a lot of PCs seem to think 15% isn’t enough and set the upper limit to - well, all the free disk space you have.  In my case Vista had used 15GB of space for previous versions, it had allocated itself 16GB of space and the maximum space was UNBOUNDED. Yes, all my free disk space. I could have gone back to the day I turned on the notebook and got the files I was editing - but that’s not much use if I can’t create any new files.

Put some limits on VSS by typing:
VSSAdmin Resize ShadowStorage /For=C: /On=C: /MaxSize=15GB
I was feeling parsimonious, and I keep most of the files on the SBS 2003 server which also runs VSS, so I gave it 5GB to play with. It allocated just over 2GB and filled 700MB immediately, so I suspect I get the changes on my files yesterday and nothing more. But I also get 39GB of free disk space, so I’m not complaining. 

I’m not sure if my notebook came from HP with VSS set to UNBOUNDED in first place or if SP1 might have changed this, so I don’t know who to name and shame. I have seen a lot of Vista users reporting that they’ve been losing disk space the same way, with UNBOUNDED set on machines from Dell, Lenovo and other big-name PC companies. But Microsoft gets a share of the blame, for adding a great feature with no way to control it except from the command line. Worried users will make the VSS space too small? Don’t take the slider away all together; just don’t let it go down below, say, 5GB. I can stop certain file types from getting shadowed by adding them to the HKLM\SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToSnapshot registry key. Temporary files are there by default; I’ll probably add MP3 files as I tend not to be editing these… but I’d rather do it without delving into the registry.

And if you’re running Vista Basic or Home Premium, VSS is running for System Restore and backing up your documents, but you can’t right-click to see and retrieve previous versions of a file even though they’re taking up space. Get a copy of ShadowExplorer  (only at version 0.2 but also free) from www.shadowexplorer.com and you can make the most of the disk space you agree to give up. 
-Mary

12345
Rated: 40% (1 votes)
Loading ... Loading ...

Previous Post | Next Post

 
 
Comments

Comment by justine - June 20, 2008 on 6:49 am

i have Windows Vista Home Basic on my home PC and from a 250GB hard drive - brand new PC before i started using it - i only had something like 232GB available. Its bugged me and if you find an easy solution. My home PC is a Gigabyte put together locally but using Intel, Seagate etc. good components. all the best,
Justine

Comment by Simon Bisson & Mary Branscombe - June 20, 2008 on 1:00 pm

Justine; I believe the VSSAdmin commands will work on Home Basic, it’s just the Previous Versions interface you don’t get. Open the command window by right-clicking as described above and type VSSAdmin /? to find out if it’s available; if it is, just follow the instructions to set the volume shadow space to the amount you want to use for it.

Make a comment

* required

* required

We stop spam using reCaptcha.
Type the words below and click Submit Comment.

   
Tag cloud

provisioning developer GPS national museum of computing camera business Internet Explorer HR automation Corsair IT value data centre virtual desktop UMPC Windows Live Nuance OEM MacWorld 2008 troubleshooting video macbook power cuts Tablet Kiosk Nokia business technology automation adfs fibre IT transformation iPhone Microsoft MRDA Crossfader upgrade networks OpenID regulation mscape HTML 5 toshiba BBC politics Loki OFCOM fingerprint utilities media Asus Enterprise 2.0 Volume Shadow Copy support information cards Wyse Numenta Salesforce whitelist Palm offload green IT ADFS 2.0 RSA 2008 amherst geek tourism Location Jeff Hawkins smartphone NVIDIA evernote exchange processors Ruby accelerator hardware privacy RAZR installer OQO yahoo bandwidth Delphi LHC Trend Micro RIA MacBook Air Barracuda Large Hadron Collider Ask.com gaming patch Tuesday WinHEC wireless USB Internet MING exabytes desktop. PC Netscan winhec2008 security paradox payroll DisplayLink VSSAdmin security theatre distributed computing blog business technology optimisation disk high performance computing Xen colossus mobile security Google IO ruggedized Embarcadero O'Reilly eu NGSCB Mercury calit2 thin client xT9 cisco flash history wildfire Facebook conference data mobile data tariffs nvision08 dual display robot codec fingerprint scanner server conferences LiveID mobile ofcom network power wubi control panel spin social networking deperimeterization open source transcoding Windows Mobile fire community service oriented enterprise accessories .NET bea Adobe Google analytics sun Bill Gates Bill Cheswick traffic fraud enterprise architecture National Insurance Mono SSD Silverlight pen computing anti-virus visualisation ubuntu TouchSmart case storage Toshiba Portege R500 parallel computing pgp Firefox cracking wifi cosmic rays 64-bit Jeff Jones CES NAS Intel migration SBS Trampoline mobility mobile working vulnerabilities geotagging interoperability network timezones Hugh Thompson Live Mesh firewall Google Sets Hp 2710p images EEE HP Tom Hogan WPF MIX08 streaming media bletchley park RBL NexT mobile Linux hp microsoft research credit crunch patent bbc iplayer Express Gate SMB 2 Verbatim management business intelligence ProCurve Secunia terabytes Ruby On Rails green printing CardSpace Beacon isp laptop etech voice recognition hierarchical temporal memory 3G lawsuit CTO T9 hold music QWERTY automation todo list windows 7 machine learning active digitiser forensics user interface Greasemoneky email CIO GPU natural interface ballmerbot enterprise user experience information Seagate moscow TechEd 2008 electricity price Apple software html Palladium SSVAGENT.EXE geocaching IBM CPU Moonlight power supply christmas legislation mysql Gears Linux turing regulations BT cables SapphireSteel SP1 cloud service google online applications identity theft Trolltech HTC Frauenhofer Vista isps oracle Credentica numbers geneva open i-mate benchmark DSL co-processor WWW phone management licensing fault IDF spam fighting virtualisation CUDA HMT Reqall Fire Eagle Girl Geek Dinners TNT Tablet PC Xobni telecoms Dell griffin. microsoft research quiz CERN Mozilla Tripit spam Ray Ozzie 24 hours Previous Versions battery Dopplr onboarding HSDPA ucsd hacking identitity Web 2.0 Tim Berners-Lee mythbusters performance productivity acquisitions Internet Explorer 8 mash-up Opsware browser disk space office Windows Server 2008 EMC IT automation AMD merger Motorola Lenovo business continuity AuthenTec Google Spreadsheets biometrics education digital signature IIW2008b advertising optical interconnects AskEraser greenplum beta TSA O2 bombe Visual Studio identity metasystem Gartner
Advertisement
Advertisement
Advertisement