Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


A story of corrupted Master database in SQL Server 2008


A story of corrupted Master database in SQL Server 2008

Author
Message
Yogeshwar Phull
Yogeshwar Phull
SSC Eights!
SSC Eights! (916 reputation)SSC Eights! (916 reputation)SSC Eights! (916 reputation)SSC Eights! (916 reputation)SSC Eights! (916 reputation)SSC Eights! (916 reputation)SSC Eights! (916 reputation)SSC Eights! (916 reputation)

Group: General Forum Members
Points: 916 Visits: 664
Comments posted to this topic are about the item A story of corrupted Master database in SQL Server 2008
Mark S. Rasmussen
Mark S. Rasmussen
Grasshopper
Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)Grasshopper (24 reputation)

Group: General Forum Members
Points: 24 Visits: 412
Interesting story! You don't mention anything about what caused the corruption however?

One thing is fixing the corruption, but I'd be very wary of just restoring the system back the way it was, without examining what caused the corruption in the first place. If it's a fried IO subsystem, it's probably just a matter of time before the corruption reoccurs.

Mark S. Rasmussen
Blog: improve.dk
Twitter: @improvedk
Internals geek & author of OrcaMDF
martin catherall
martin catherall
Old Hand
Old Hand (397 reputation)Old Hand (397 reputation)Old Hand (397 reputation)Old Hand (397 reputation)Old Hand (397 reputation)Old Hand (397 reputation)Old Hand (397 reputation)Old Hand (397 reputation)

Group: General Forum Members
Points: 397 Visits: 343
Interesting read - thanks for sharing.

I'd be interested also in knowing the cause of the corruption.
Also, you say that you restored your user databases. I am assuming that they were also corrupt - possibly for the same unknown reason - although did you verify this? and if so, how?

some good tips there though - thanks.



Carl Walden
Carl Walden
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 42
I like Mark thinking and I would have followed Mark's point to know why such corrpution took place and to ensure it never happens again or if it does I have the solution to tackle it.


CEWalden
Nakul Vachhrajani
Nakul Vachhrajani
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1933 Visits: 2139
Thank-you for the article. It was a good read (sounded more like a blog post though). The readers got some good tips out of it, but what remains is a mystery is how the master database got corrupted. Something has to have gone wrong - things don't just blow up all of a sudden. It would have been nice if you could have made a passing reference (like "...the master database got corrupted because ... "). If it was something new or unheard of - it might save somebody else a few sleepless afternoons.

Thanks & Regards,
Nakul Vachhrajani.
http://nakulvachhrajani.com
Be courteous. Drive responsibly.

Follow me on
Twitter: @sqltwins
Google Plus: +Nakul
Christoph Muthmann
Christoph Muthmann
SSC-Addicted
SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)

Group: General Forum Members
Points: 411 Visits: 299
Good story! I think, you should as well add the link to the MSDN Library.
Rebuilding System Databases
http://msdn.microsoft.com/en-us/library/dd207003(v=SQL.100).aspx

Please tell us more about the reason of the corruption and why restoring user databases.

Greetings,
Christoph Muthmann
SQL Server MVP
Ramon Jimenez
Ramon Jimenez
Mr or Mrs. 500
Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)Mr or Mrs. 500 (580 reputation)

Group: General Forum Members
Points: 580 Visits: 121
How long did was your database now?

How do they fix WMI error?

Where you able to find any relationship between all the events (WMI, MOF, master corruption)?

Any clue about the root cause?

Regards Ramon
RichB
RichB
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1159 Visits: 1023
Just as a matter of curiosity, is there any reason why you didn't simply attach all the user databases? Had their original files disappeared?



SQLZ
SQLZ
SSC Eights!
SSC Eights! (928 reputation)SSC Eights! (928 reputation)SSC Eights! (928 reputation)SSC Eights! (928 reputation)SSC Eights! (928 reputation)SSC Eights! (928 reputation)SSC Eights! (928 reputation)SSC Eights! (928 reputation)

Group: General Forum Members
Points: 928 Visits: 940
Good article - I just have one tiny issue which I quote here: "We were lucky to have the backups of system and user databases available....:"

Having backups of your system and user databases should never (ever) be a matter of luck... Maybe you should put you Monday naps to better use and verify your backups:-P

Karl
source control for SQL Server
Christoph Muthmann
Christoph Muthmann
SSC-Addicted
SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)SSC-Addicted (411 reputation)

Group: General Forum Members
Points: 411 Visits: 299
After restoring master it is only necessary to attach the databases which were created after the last backup of master. All other databases should be available immediate.

Cheers,
Christoph
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search