SBS 2008 - Reclaiming Space

I am trying to reclaim space on the c:\ drive of a SBS 2008 server. The log files in C:\Program Files\Windows Small Business Server\Logs have reached over 1GB is it ok to either delete these files or move them to another drive ?

Thanks

John
jhswinsonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Larry Struckmeyer MVPCommented:
All but the last several in each catagory should be fine.  But is there one log that is huge?  You can tell by running treesizepro or windirstat.  You must rclick the .exe or the menu item and "run as administrator" for this to work.

Have a look at this:

 http://blogs.technet.com/b/sbs/archive/2010/03/02/recovering-disk-space-on-the-c-drive-in-small-business-server-2008.aspx
jhswinsonAuthor Commented:
There is one file ConfigurationHelper_Policy which is about 200mb it appears to be in use as it has the current date and time on it. I have attached a screen dump of the largest files. I will delete all the older files but would like to know what the large file is and what I can do about it.

Thanks

John
FileListSBSLogs.jpg
Larry Struckmeyer MVPCommented:
200 mb file should not be an issue... did you do the run as admin on one of the space hog finders I suggested?  The biggest users may be hidden.  Also, have you run the wizards to move user data to another partition/drive?

How big is the system partition.... hint, it should be in the 120-150 GB range.  If not, there are several methods to resize this if you have space on another partition, but it has to be all on one physical drive.
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

jhswinsonAuthor Commented:
Sorry initially I did not give a full description of the problem.  Unfortunately the system partition size (as installed by Dell) is 60Gb. Over the 2-3 years that the system has been in service the amount of disk space on the C: partition has gradually declined.  I have attached a screen dump of the results from TreeSize Pro which shows the situation.  I have moved everything I can (Exchange, WSUS etc. )  to another partition, cleared all the large log files I can find, moved the virtual memory (pagefile) to another partition, all this has temporarly fixes the space problem for a while but it continues on a downward trend until it becomes a problem again. I have also tried to to move Sharepoint services data but if fails and generates an error. I think that a major part of the problem are the SQL Server log files and I have found a script from MS which is supposed to reduce the size of these files. As the server is in constant use in a busy office I can only carry out work that may cause a problem at weekends. I note that the script creates two temporary files on C: drive and I am concerned that this may cause a problem due to lack of space. Do you think that it would be OK to change the script so these files are created on another partition ? Any information on how I could fix the problem with moving the sharepoint services data and reducing the size of the SQL server log files would be helpful.

Thanks  

John
TreesizeProOutputSBSLargeFiles.jpg
Larry Struckmeyer MVPCommented:
One option is to replace the drives and restore from backup.... maybe time anyway.  Either backup or an imaging program.  RAID1 or?

The issues with moving SQL data, including Sharepoint is probably another question, but you might consider detaching the database, moving it, and reattaching.  Don't do this without more guidance from a SQL specialist.
jhswinsonAuthor Commented:
Removing the log files has fixed the immediate problem. In the longer term I will need a better solution.  When restoring from backup to the same server fitted with new drive(s) is there an option to change the size of the system volume at some time during the install procedure ?

The server is currently set up with a RAID 1 Array and the backups are done using the native MS backup system.

Thanks

John
Larry Struckmeyer MVPCommented:
You can restore to any media that is large enough.  If you have sufficient space on another partition on the current drives you can backup, repartition, and restore.  There are programs that will do this live... I have no experience with any.  I backup, then image, then test, then do the resize.  Or, I simply put in new larger drives, depending on their age.  Also, if you don't destroy the orginals you have a fall back if something goes wonkey.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jhswinsonAuthor Commented:
Thanks for your help

John
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.