Александр Третьяков
Дата: 07.12.2002 13:33:02
Умер mdf, копии есть но!!, умерал он медленно и в них тоже ошибки, есть ли возможность физически вітянуть данные?
Александр Третьяков
Дата: 07.12.2002 19:11:50
Проблема в том что команда D.. CHECKDB возвращает ошибки. Так что не знаю что и делать. С копий пробовал востановить, но!!! почемуто "оторвался" бекап журнала транзанкций, после востановления полного бекапа при попытки востановить бекап журнала транзанкций за каждый день кричит что нужно перед этим востановить полный или диференциальний бекап, я понял что в этом промежутке произошло что-то, что сервер назвал усечение журнала транзанкций и все. В дополнение у меня тотже алгоритм бекапа стоит еще на 6 серверах то на них пробовал востанавливать их базы "отрыва нет".
Александр Третьяков
Дата: 07.12.2002 20:26:24
1. sp_resetstatus 'Sk1'
Use master
go
sp_configure 'allow updates', 1
reconfigure with override
go
update sysdatabases set status= 32768 where name = 'Sk1'
написало
Prior to updating sysdatabases entry for database 'Sk1', mode = 0 and status = 4194308 (status suspect_bit = 0).
No row in sysdatabases was updated because mode and status are already correctly reset. No error and no changes made.
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
Configuration option changed. Run the RECONFIGURE statement to install.
(1 row(s) affected)
Теперь база в Emergency mode
2. перевожу ее в single mode
EXEC sp_dboption 'Sk1', 'single user', 'TRUE'
DBCC execution completed. If DBCC printed error messages, contact your system administrator.
The database is now single user.
3. dbcc checkdb ('Sk1',REPAIR_ALLOW_DATA_LOSS)
Server: Msg 3908, Level 16, State 1, Line 1
Could not run BEGIN TRANSACTION in database 'sk1' because the database is in bypass recovery mode.
Server: Msg 8998, Level 16, State 1, Line 1
Page corruptions on the GAM, SGAM, or PFS pages do not allow CHECKALLOC to verify database ID 6 pages from (1:0) to (1:12448). See other errors for cause.
Server: Msg 8909, Level 16, State 1, Line 1
Table Corrupt: Object ID 0, index ID 0, page ID (1:3763). The PageId in the page header = (0:0).
Где код ошибки 8909 - в MSDN "это лечиться сервис паком 2". У меня 3
4. dbcc checkdb ('Sk1',NOINDEX)
Server: Msg 8966, Level 16, State 5, Line 3
Could not read and latch page (1:8088) with latch type SH. PFS failed.
Server: Msg 8921, Level 16, State 1, Line 1
CHECKTABLE terminated. A failure was detected while collecting facts. Possibly tempdb out of space or a system table is corrupt. Check previous errors.
Server: Msg 8998, Level 16, State 1, Line 1
Page corruptions on the GAM, SGAM, or PFS pages do not allow CHECKALLOC to verify database ID 6 pages from (1:0) to (1:12448). See other errors for cause.
Server: Msg 8909, Level 16, State 1, Line 1
Table Corrupt: Object ID 0, index ID 0, page ID (1:2392). The PageId in the page header = (0:0).
Server: Msg 8909, Level 16, State 1, Line 1