Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 5123

Is there a way to verify the integrity of the log file?

$
0
0

SQL Server 2012 SP 2 on Windows 2012. Yesterday a transaction log backup against the largest database (50 GB database, 5 GB log) failed with the error below. SAN admin tells me everything is fine.

Backup detected log corruption in database SQLMonitor. Context is Bad End Sector. LogFile: 2 'E:\SQLDatabases\SQLMonitor_log.LDF' VLF SeqNo: x236a98 VLFBase: x44630000 LogBlockOffset: x4c47c400 SectorStatus: 4 LogBlock.StartLsn.SeqNo: x236a98 LogBlock.StartLsn.Blk: x3f1eb Size: xf000 PrevSize: xd200

I ran a full backup, changed the recovery model to simple, ran a checkpoint, changed the recovery model back to full, and ran another full backup. Subsequent full and transaction log backups ran fine.

Is there something similar to DBCC CheckDB that I can run to verify the integrity of the transaction log?


Viewing all articles
Browse latest Browse all 5123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>