Link to home
Start Free TrialLog in
Avatar of No1Coder
No1CoderFlag for United States of America

asked on

Lost Disk Space on Windows Server 2012 R2

I have a windows Server 20012 R2 that runs a SQL database.  The disk is partitioned to 60GB for C.  The only thing there is program files and OS.  If I right-mouse and click properties on each of the five folders in drive C, I can only account for about half of the storage.  Where is the rest?  There must be some log files that are filling up the drive, but I can't fine them.  I can afford for this server to crash.  It only has 1.8GB of free space.  

I have cleaned up temp and some log directories, but can't find the missing space.
Avatar of John
John
Flag of Canada image

Get Tree Size Pro (Jam Software), install it and run it as Administrator. That will show you where the space is being used. Be sure to expose hidden files.

60 GB is not enough for Windows, SQL and all the log and like files that will grow over time.
Avatar of No1Coder

ASKER

It has been running for two years, and only recently become full.
It there a way to determine this without installing third party software?
Tree size is inexpensive and top notch. I use it all the time to solve problems like yours.
Adjust your map options to show you hidden- and system files,  Usually the updates consume your space.
Avatar of Lee W, MVP
I wouldn't hesitate to install Treesize or Windirstat on the server of a small business exhibiting these problems.  HOWEVER, if you prefer, at least for Windirstat, you can install it on a workstation and connect to the server as a server administrator and run it against \\server\c$

Common issues with disk space:
*SQL Express databases growing large
*VSS data using LOTS of space
*Pagefile using LOTS of space
*Bad administrators downloading large files like ISOs to the server's C: drive (downloaded on the server rather than a workstation).
I don't have SQL Express (I do have sql server, but all DB's are on D drive).
No ISO files.
Don't know what VSS is.
Don't remember where to see page file size.  I used to see the file itself but don't see it.   Show hidden is on.

What is confusing to me:
disk is 60GB.  5 sub-directories.  No files in root (that appear)
\PerfLogs = 0
\Program Files = 3GB
\Program Files x86 = 1.35GB
Users = 239MB
\Windows = 20.6gb

Where's the rest?
Windows has Winsxs and that uses a lot of space (windows updates)
System-files is another option. Enable that as well. (a page-file is a system-file.)
Show hidden and system files is enabled, but I don't see the page file.

This has been a weakness in the windows file system since day one.
VSS = Volume Shadow Copy - depending on your systems, these can take up MANY GB.  Open Computer Management administrative tool and right click on the Shared folders and select "Configure Volume Shadow Copy"and review the settings (you may also be able to access by right clicking on the drive and looking for the Previous versions tab or the Volume Shadow Copy tab (going from memory; not exactly sure what it says).
You didn.t mention Programdata, Recovery and Pagefile, so you don't see system-files. It is under View, Options,  Change options, Hide protected operating systemfiles. Disable that.
Shadow copy is disabled on all drives.
I see the pagefile now.  its only 2.5GB

ProgramData is 29GB.  That's the mystery.  Now, what is it.  Can I clean it up?
Avg_Update accounts for most.  What is it?  Can I remove?
Capture.PNG
That's your antivirus.  I don't use AVG.  I would suggest you look through your AVG settings for a way to store those files on another drive letter.  You can test delete them by renaming the folder - it no negative consequences, you can move or delete them (I move and delete only MONTHS later).  If negative consequences, you can always rename back.  (Renames are not permanent - deletes tend to be!)
And I would enable VSS - just change the settings before you let it take a snapshot and you can store the VSS data on another drive.
If you are pushing AVG Updates out to workstations, you should be careful what you delete.

If AVG is a paid product, call AVG support and ask them what can be deleted.

Sometimes Symantec creates update folders and Symantec Support says what to delete.

Sooner or later you will have to make this disk bigger. Software is bigger than it was 2 years ago.
I am trying to buy some time.  Its a virtual disk (VM environment) so I am hoping to extend it.  Don't have time now.  Leaving for vacation next week, and wanted to free space before I left to avoid issue.

I don't have Symantec on this server.  Only Microsoft products and WinZip.  That's is.  I try and keep production environment very clean.

Don't know what avg_? would be.  Must be an auto update file of some kind.  I turned off auto-update until I can free more space.
I was using Symantec only as an example.

Don't know what avg_? would be.    ??? Why would it be on your server?  It is AVG Anti Virus.
Don't have any anti-virus on server that I have installed or purchased..  Only Microsoft products and WinZip.  I don't know why it is on my server.

The files in those folders are named like "0215tb_{5A215CED-8665-49B0-80D1-32C83EA617E5}.exe

The date on one is 2-2015.
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There was an AVE Toolbar installed (automatically I assume), because I never install anything.  I uninstalled, and it release a little storage (not much).  Thanks for help.  Leaving for vacation!
Thanks for the update and I was happy to help.
You can just delete the AVG_update folder if there is no longer a program called AVG something installed