Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Error: "PRIMARY filegroup is full" when adding databse file

$
0
0

I have a database 'ErpDb' hosting in SQL Server 2008 R2 Enterprise SP1 64bit, running in Windows Server 2008 R2 64bit. This database has one .mdf and two .ndf datafiles in the PRIMARY filegroup. As the disk where the .mdf locates is runnnig out of space, it's autogrowth disabled, and only one .ndf is autogrowth enabled.

When I tried to add one more datafile to the PRIMARY filegroup, The following error raised:

"Could not allocate space for object 'sys.sysfiles1'.'sysfiles1' in database 'ErpDb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup."

Even I added another filegroup called 'SECONDARY' and tried to add the extra datafile into it, the same error raised.

So what should I do? Isn't it related to the .mdf file autogrowth disabled?


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>