The information in this article applies to:
SYMPTOMS
In the "Microsoft SQL Server Administrator's Guide" under "Loading
a Database," it states that a damaged database can be dropped with
DBCC. However, later in the chapter, the instructions state that
DISK REFIT can be used, and no mention is made of DBCC.
CAUSEWhen DISK REFIT is used, it attempts to make the recovery procedure as decision free as possible. As a result, the procedure is not always optimal for all situations. WORKAROUND
DISK REFIT was originally intended to be used after the master
database was lost. It attempts to extract information from the
physical database device files and reconstructs SYSDATABASES and
SYSUSAGES, which, after a rebuild of MASTER.DAT, contain only
master, tempdb, and model. As a result, some information is lost,
such as database owner-id and segmap data. DISK REFIT also assumes
consecutive VDEVNOs starting with 1.
Drop those databases with DBCC DBREPAIR( dbname, DROPDB). Then, reload the databases from a backup. This technique will preserve the information in the system tables for those databases not affected. The databases that are re-created will have VDEVNO, segmap, dbowner, version, and so forth, which are specified during the DISK INIT, CREATE DATABASE, sp_logdevice, and so forth, commands. Additional query words: Windows NT
Keywords : kbother SSrvGen SSrvWinNT |
Last Reviewed: March 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |