I have a Windows Server 2003 box running SQL 2005. On top of that is SharePoint 2007.
It started giving consistency errors so I have been running DBCC checkdatabase on all of the databases as follows:
DBCC CHECKDB (<Database Name>, NOINDEX) WITH PHYSICAL_ONLY
I have the following error from two databases, both of which have one table each listed:
DBCC results for '<DatabaseName>'.Warning: NO_INDEX option of checkdb being used. Checks on non-system indexes will be skipped.
Msg 8928, Level 16, State 1, Line 1
Object ID 1746105261, index ID 1, partition ID 72057615513026560, alloc unit ID 72057594062831616 (type LOB data): Page (1:5871954) could not be processed. See other errors for details.
Msg 8939, Level 16, State 98, Line 1
Table error: Object ID 1746105261, index ID 1, partition ID 72057615513026560, alloc unit ID 72057594062831616 (type LOB data), page (1:5871954). Test (IS_OFF (BUF_IOERR, pBUF->bstat)) failed. Values are 46270729 and -4.
CHECKDB found 0 allocation errors and 2 consistency errors in table 'AuditData' (object ID 1746105261).
CHECKDB found 0 allocation errors and 2 consistency errors in database '<DatabaseName>'.
repair_allow_data_loss is the minimum repair level for the errors found by DBCC CHECKDB (<DatabaseName>, noindex).
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
The drive is an ISCSI target on a RAID5 volume - currently running diagnostics on that to find the physical disk.
The backups are not an option as this is a development box and so none are kept. Rebuilding this environment will take place but I would really like to resolve this issue.
I am considering DBCC Checktable with allow data loss or chkdsk but I am uncertain which would be best to start with.
thanks for your help,
Al