Link to home
Start Free TrialLog in
Avatar of syssolut
syssolutFlag for United States of America

asked on

Server 2008 R2 has no more space on C: (OS) drive

I have a DC controller running Windows 2008 R2 S1.   It is a raid 5 broken into a 40 Gb  C: (OS)  Partition and a D: (Data) Partition.   Lately the OS has been running very low on space.   Last week it was 1+ GB.  Today it said 530 MB open.   So I ran Disk Cleaner and it said that it would open 439 Mb of space.  After I rebooted there was only 620 MB open.  There is no one connected to the server since it is only a daytime running business.  But then as the evening progressed, there was less and less space.  I do believe some Windows Updates may have installed.  Now there is no space.  I read that I can run "dism.exe /online /cleanup-Image /spsuperseded".   Should I run this command?   Is there anything else I can do?  Should I try to uninstall those updates?
Avatar of Wayne88
Wayne88
Flag of Canada image

You can probably regain some space by deleting some temp files but 40gb partition for OS too small for a Server 2008 OS.  With hard drives being so cheap these days I would replace them with at least 500gb drives and safe you headaches for the long run.

Having said that, download CCleaner (free version) and run it.  It will help you clean the OS and regain hard drive space.

https://www.piriform.com/ccleaner/download

Then I would run the Windows Disk Cleanup tool to regain what CCleaner missed

https://support.appliedi.net/kb/a110/how-to-enable-the-disk-cleanup-tool-on-windows-server-2008-r2.aspx
Avatar of syssolut

ASKER

I have rerun Disk Cleaner and it only says it can open 3 Kb of space
SOLUTION
Avatar of Wayne88
Wayne88
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
even after cleanup you find you cannot get much more space (if any) - 40 GB is just way too little for 2008 R2.  60 is too little in my opinion.  For a comfortable size, I use 120 GB.

If this is a VM, expand it.  If not, convert it to a VM and expand it.  Or migrate it to a VM.  Sorry, but there are few good options and in my opinion, just about any other is a waste of time that will likely need to be repeated if you don't expand the disk space.
ASKER CERTIFIED SOLUTION
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
It is a Dell server and a few months ago they said they can expand the C: drive by stealing form the D:drive.   But I haven't talked to them yet Since this happened and I am concerned that they will say they need a little open space to do this.  I was going to have them make the C: drive to 100 Gb.  

Not sure what is a WSUS?  
No, it is not a VM.
SOLUTION
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
SOLUTION
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
I transferred Windows\Software Distribution to the D drive and it opened 1.05 Gb,  Now I can at least get ready to increase the size of the C: drive.   I did run CCleaner and it wants to delete all logs which would delete 10 Mil Kb.  Is that a wise thing to delete the log files?
Don't use CC on it. Have you checked what exactly is using the space?
Run TreeSize or windirstat on that machine and see who takes you space.
If these are real data then you can always extend the C: partition by taking space from D: drive.
I downloaded and ran TreeSize.   It shows 31 Gbs in Windows of which 12.7 Gb is Winsxs, and 9.4 Gb are Logs which are "CBS" cbspersistent.    The next largest is 2,8 GB which is System 32,   Can I do anything with these?
The CBS Logs were last modified on 3/24/2016
These are small numbers.  WinSxS cannot be deleted - you *MIGHT* be able to clean it up using disk cleanup if you can get that component installed, The CBS logs - if they are text files - can be compressed, would could halve their size.  And the System32 folder is pretty much Windows itself - the core components and 2.8 GB sounds about right.  

CBS - Computer based servicing - this suggests to me you're server hasn't been updated (Windows Update) in over a year - has it?
The server is updated a couple weeks.   In fact 4 updates ran last night which I think ate up the remaining 500 Mb and brought me to 0, before moving the Software Distribution folder.

Yes, the logs are text, they open in Notepad.   There are a few that are relatively small that are .cab files.
did you try to delete  the temp files and folders, as i suggested in the post where i proposed to run tresize?
"Don't use CC on it."

Why not?  Never had any problem with it and if you do then we would like to hear.

"Not sure what is a WSUS?"

It's Windows Update Server.  If you have this configured then it's storing alot of WIndows updates files that can be eating up alot of space but I don't think you're using it otherwise you would know.

In terms of short term solution, what can we work with?  Do you have the budget for hardware (drive replacement) and time (take server offline)?

Maybe you can temporarily reimage the computer and restore to a much larger IDE hard drive for now while you sort out the RAID size issue?
SOLUTION
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
Nobus, are you talking about the Temp file under Windows?
yes -among others  (in programs)

you can do a search on tmp files and folders to find them
I was able to open 1.5 GB space by moving Temp and Software Distribution files.  I am also going to take some of the D: drive and give it to the C: drive, via Dell Support.   Thank you for your help.
happy to help