Unix Technical Forum

SQL Server Msg 1105, Level 17, State 2, Line 1

This is a discussion on SQL Server Msg 1105, Level 17, State 2, Line 1 within the SQL Server forums, part of the Microsoft SQL Server category; --> Dear (and mighty) all: I backed up a database (SQL server 7.0) and tried to restore it on another ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 02:57 PM
Branco Medeiros
 
Posts: n/a
Default SQL Server Msg 1105, Level 17, State 2, Line 1

Dear (and mighty) all:

I backed up a database (SQL server 7.0) and tried to restore it on
another system (SQL Server 2000). This is not the first time I'm doing
this and never had a problem before:

-- in the source db
BACKUP db_icoaraci TO DISK = 'C:\TEMP\BACKUP-ICOARACI.DAT'

--in the destination db
RESTORE db_icoaraci FROM DISK='E:\TEMP\BACKUP-ICOARACI.DAT'
WITH MOVE='ICOARACI_DAT' TO 'E:\DB\ICOARACI.MDF',
MOVE='ICOARACI_LOG' TO 'E:\DB\ICOARACI.LDF'

Today, to my surprise, the destination SQL returned the following
error:

Processed 25592 pages for database 'db_icoaraci', file 'ICOARACI_DAT'
on file 1.
Processed 1 pages for database 'db_icoaraci', file 'ICOARACI_LOG' on
file 1.
Server: Msg 1105, Level 17, State 2, Line 1
Could not allocate space for object '(SYSTEM table id: 6)' in database
'db_icoaraci' because the 'PRIMARY' filegroup is full.
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

I searched the list and a found a few posts refering to the same error,
but none in the exactly same scenario.

I tried to restore the database with NORECOVERY, and, before restoring
the log, increase its size (ALTER DATABASE ... etc), but SQL Server
says that the DB couldn't be open because it's in the middle of a
restore...

I'll appreciate any help.

Regards,

Branco.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 02:57 PM
Erland Sommarskog
 
Posts: n/a
Default Re: SQL Server Msg 1105, Level 17, State 2, Line 1

Branco Medeiros (branco.medeiros@gmail.com) writes:
> Today, to my surprise, the destination SQL returned the following
> error:
>
> Processed 25592 pages for database 'db_icoaraci', file 'ICOARACI_DAT'
> on file 1.
> Processed 1 pages for database 'db_icoaraci', file 'ICOARACI_LOG' on
> file 1.
> Server: Msg 1105, Level 17, State 2, Line 1
> Could not allocate space for object '(SYSTEM table id: 6)' in database
> 'db_icoaraci' because the 'PRIMARY' filegroup is full.
> Server: Msg 3013, Level 16, State 1, Line 1
> RESTORE DATABASE is terminating abnormally.
>
> I searched the list and a found a few posts refering to the same error,
> but none in the exactly same scenario.


Looks like you have run out of disk space. Probably the database autogrows
as part of the upgrade to SQL 2000. For an autogrow to succeed there has to
be so much space available.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 02:58 PM
Branco Medeiros
 
Posts: n/a
Default Re: SQL Server Msg 1105, Level 17, State 2, Line 1

Erland Sommarskog wrote:
<snip>
Looks like you have run out of disk space.
<snip>

Nope, plenty of space. The backup file is 200 MB and the HD where it's
being restored to still has 19.7 GB of free space.

Thanks for the effort, though.

Regards,

Branco.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-29-2008, 02:58 PM
Erland Sommarskog
 
Posts: n/a
Default Re: SQL Server Msg 1105, Level 17, State 2, Line 1

Branco Medeiros (branco.medeiros@gmail.com) writes:
> Erland Sommarskog wrote:
><snip>
> Looks like you have run out of disk space.
><snip>
>
> Nope, plenty of space. The backup file is 200 MB and the HD where it's
> being restored to still has 19.7 GB of free space.


If you do an sp_helpdb on the database in SQL 7, what do you see for
autogrow?

If you comes as far so you can do sp_helpdb on the database in SQL 2000,
what do you see for autogrow there?

I would expect autogrow to be turned off completely, or possibly be set
to some completely wacko value like 20 GB.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:12 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com