SBS 2008 disk space and the DataServiceComponents.log file

I was doing some house keeping on one of the oldest SBS 2008 servers I have in the field, and was trying to free up some disk space on C:, I usually like to keep 20-30GB free on a C: which is usually 100GB.

There is a really good Technet blog post here, which gives a good overview of some of the areas where we can reclaim diskspace from. These include, SBS Logs, IIS Logs, Badmail directory, and a couple of wizards, the WSUS Cleanup Wizard, and the Move Data Wizards.

One of the first things we do with a new SBS server is move the data and WSUS off of the C: so this generally leaves logs and Badmail.

On this particular server the admin account i was using didn’t have permissions to the C:Program FilesWindows Small Business ServerLogsMonitoringServiceLogs folder. Once i had given the account access to it I was amazed to see the DataServiceComponents.log was nearly 3.5GB in size, not only is it huge but for a text based log file it would be a nightmare to use. Now SBS 2008 logs an awful lot of data to this file, so you don’t want to just delete it in case you need to reference it in future for troubleshooting. On this server, I sent it to an archive folder, the size reduced to 85MB. You have to stop the Windows SBS Manager Service first, so you can archive and delete the log file. When you start the Windows SBS Manager Service a new DataServiceComponents.log file will be created.

2 thoughts on “SBS 2008 disk space and the DataServiceComponents.log file

  1. OxfordSBSguy.com

    I’m not sure of a way of limiting its growth, but you could always create a scheduled report to run weekly or monthly in File Server Resource Manager to alert you to files over a certain size.

    Give me a couple of days and I’ll add a walk through blog post.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.