Link to home
Start Free TrialLog in
Avatar of iFrog
iFrogFlag for United States of America

asked on

Lost space on my c drive

I have a Sbs 2003 server with a c drive partition with 25gb, suddenly there is only 57mb free on the drive. If I use disk cleanup it finds nothing to clean up. Is there any other things I can remove to clear up space?  None of my programs run on the c drive.
Avatar of Gasp9
Gasp9
Flag of Belgium image

if it's a server, no need to have an hibernation file, so you can already reclaim that space by issuing the following command :
powercfg -H off

if you have another drive, you could also move the swap file (which is managed by the system by default, so that's maybe where your free space went) to that other drive. For that, go to <contral panel><System><advanced system settings><performance settings> then click on the <advanced> tab and you will find a button to change the virtual memory settings ...

Hope that helps

Pierre
Possibly some log files taking up space. Use TreeSizeFree to scan the system and find out what's hogging all the space:
http://www.jam-software.com/freeware/index.shtml
Avatar of Rob Williams
There have been numerous blogs lately about various logs suddenly taking up space. The following article states for SBS 2008, but much of it applies to 2003 as well:
http://blogs.technet.com/b/sbs/archive/2010/03/02/recovering-disk-space-on-the-c-drive-in-small-business-server-2008.aspx

Also if you have not run an Exchange backup, probably using the SBS backup tool, the Exchange logs and deleted items get very large. These can be cleared simply by running a backup.
It could be your config log in IIS, or any other number of things.

A good program to let you see what's taking up your space is WinDirStat:
http://windirstat.info/
Avatar of iFrog

ASKER

Looks like the issue is a Wsus Database.  An sql database can I compact it?
ASKER CERTIFIED SOLUTION
Avatar of Rob Williams
Rob Williams
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
Avatar of iFrog

ASKER

Ok, I know I will sound like an idoit but how do I get the program to run.  When I run click on it, It flashes and goes away.  When I use comand prompt, I can not get to the file to run.  How do I access it?
Avatar of iFrog

ASKER

Ok, I got to wsusutil nowmbut I am having an issue
my command is:

wsusutil movecontent d:\Wsusdatabase d:\Wsusdatabase\wsus_mov.log

I get an error saying: Fatal Error: You must specify an existing local directory on an NTFS partition as an absolute path or specify an exisitng UNC path for the new content file location.

The D drive is a NTFS local drive
Did you create the folder "d:\Wsusdatabase". It must exist before you run the command.
Avatar of iFrog

ASKER

yes the folder exisits
Very odd. I actually have never specified the log file location, or changing the folder name, but perhaps try:
wsusutil movecontent d:\WSUS d:\wsus_mov.log
D is a local drive not a network/mapped drive I assume.

Avatar of iFrog

ASKER

it says it is moving the content now.  After it is all moved can I delete the file on the C drive?
Yes but look at the moved folder and only remove the matching files/folders. There is usually a folder with a few items you still have to leave behind. Doesn't take much space at all.