SQL Disk Space Errors in SBS 2003 R2

by Ради Атанасов 14. September 2010 09:55

I was working on a VM and stumbled upon a TEMPDB issue. I was getting disk is full errors…:

C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\tempdb.mdf: Operating system error 112(There is not enough space on the disk.) encountered.

Could not allocate space for object '<temporary system object: >' in database 'tempdb' because the 'PRIMARY' filegroup is full.

This may occur for other databases as well, or for that matter, other files.

I had a look around and had appropriate disk space, so I new that wasn't the issue. SQL services we're running under a service account, so I started looking around to make sure the service account has enough rights to use large amounts of space. I couldn't expand the TEMPDB size manually in SQL Server Management Studio and Quota's in AD/Group Policy we're not configured, so that wasn't the problem.

If you right-click on the drive where TEMPDB is located, you will see that SBS has quota enabled by default (in my case it was the C: drive and that would have the setting ON by default).

Here's the Quota tab where you could disable it:

clip_image001

Turning quota management off will allow the service account to use up disk space and enlarge its TEMPDB. This should be only turned off on a development environment or if you really know what you are doing. It is also best practice to relocate the TEMPDB on a different disk for performance reasons.

Hope this helps!

Tags: ,

English

Comments

Add comment


(Will show your Gravatar icon)

biuquote
  • Comment
  • Preview
Loading



Microsoft Certified Master

SharePoint Server MVP

About the author

SharePoint architect, consultant and solution developer.

Аз съм консултант, архитект и разработчик на SharePoint решения.

Feeds

Get RSS Feed (Bulgarian)
Get RSS Feed (English)    
Get RSS Feed  (Both)        

I blog about technical concepts in English, as they benefit the whole community, but sometimes I blog about stuff specific to Bulgaria, and those I post in Bulgarian. The above feed URL's let you choose what to subscribe to.

My SharePoint Forum Activity