Optimization of Disk Space usage in the Boot Disk


There are situations that needs to be work in a  system to avoid running out of space in System boot Drive:

I will mention some actions that you can do to gain space. In all scenarios we will need c:\ drive (boot drive) and another drive D:\

1 – Use multiple paging files.

In boot drive create a file with 1GB (minimum 512 MB), for the use of memory crash DUMPS.

In the Drive create a file with 1,5 * total physical memory in Server

With this action you can save some space in the boot drive.

2 – Remove the patch installation folders in “c:\windows”, see next image.

And copy them to another location, This files will only be needed you you uninstall a specific patch, if you need copy again to default location in Windows Folder. I copy data to “D:\OTHERFILES\$windowsfiles$”, and compressed the folder to save space.

With this action you can free almost one GiGaByte of information in the boot disk.

3 . Clean Temp Folder, and Downloaded program Files folder

This folders are in “C:\Windows” Folder.

4 . Check C:\WINDOWS\system32\wbem\Logs\framework.log

This is the correct behaviour of the framework logs file.

In some situations I’ve seen some framework.log files with the size of 4GB, in this case we have only file with 40 MB, see next image. you can delete the file, another one will be created automatically if needed.

This situation can occor if Network Service account does not have permission to delete files, you can and should give Full control to taht account over the folder “C:\WINDOWS\system32\wbem\Logs”.

You can read more about this issue here http://support.microsoft.com/kb/891011/en-us.

5 . Check Shadow Copy definitions

In this case I’ve disabled all shadow copy in all disk, in same cases if not controlled it can consume allot of space.

5 . Check IIS log files

In this case I’ve created an script to ensure that all files are compressed, you can read more about it here https://rodolfovaraujo.wordpress.com/2012/03/12/compress-all-iis-logs-files/.

Hope that this information can be useful.

Advertisements

About rodvars
Been working in IT Services/Consulting for the past 15 years. My main areas of work are planning, development, managing and administration System infrastructures focusing on optimizing user processes, enforcing business security, performance enhancements, high availabilty and infrastucture scalability.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: