Database Corruption Error: A Bad Page Link in B-Tree - HELP!

Posted on 2006-06-01
Last Modified: 2012-05-05
Today I had a couple users complain that some customers were getting "Delivery Status Notification" Delay errors.  I took a look at my Event Viewer (application) and noticed that it was completely FULL of errors.  The Errors are Source: ESE, Catagory: Database Corruption, and EventID: 447. The description is as follows:

Information Store (3832) First Storage Group: A bad page link (error -338) has been detected in a B-Tree (ObjectID: 18604, PgnoRoot: 3962053) of database E:\exchsrvr\mdbdata\priv1.edb (3962053 => 3962060, 2781903).

I clicked the link at the bottom of the error and Microsoft says:

A corrupted page link was detected in a B-Tree.
Available space in the Exchange Server Information Store database is in the form of a list of pages that can be used to store new data. The available space is called a space tree. The space tree is held as a binary tree that is searched whenever a block of new data needs to be added to the database.

During an online defragmentation, a problem was discovered in this tree.
This is often caused by a hardware failure or anti-virus scanning of the database file directory.

User Action
If you receive these errors in your application log, it is suggested that you restore from an online backup as soon as you can. A bad page link error signifies logical corruption at the Jet level in the database, and it is not safe to continue using the database. NOTE: The restore must be performed using a backup before this error occurred. In a worst case scenario, a hard repair followed by an isinteg -fix and then an ExMerge of the database may be required if no good backup exists. If you need help with a hard repair followed by an isinteg -fix and and then an ExMerge or if the problem persists, contact Microsoft Product Support Services. "

I am not sure what to do about this, and am wondering if anyone can tell me what is going on.  Sounds like a bad (physically bad) hard drive, or hard drive sector maybe?

Question by:jbobst
    LVL 27

    Accepted Solution

    Check out this link:

    You may have a SCSI controller that is acting up or you may have a hard drive going bad.
    These type of errors are 99% of the time related to hardware issues. If you restore ro repair the databases and do not fix the hardware issue then the problem will more than likely come back.

    Check the system log to see if there are any controller or hard drive errors reported.

    LVL 1

    Author Comment

    There are no errors about any disk issues...the last time I restarted this server was on May 24th, and the Hard Drive Controller reported the RAID1 arrays as "optimal".  My server is configured with 4 SATA hard drives...two drives are mirrored, or set to RAID 1, and the other two are mirrored as well.  Are there any tools that you can think of off hand that would diagnose my hard drives or the SATA RAID controller?

    The particular server is an HP Proliant ML 150...I'll check the HP site and see if they have any tools.  The strange thing is, I have a nearly identical server for my Domain controller/file server.  The server is identical, with the exception of it only having a single processor, a little bit less memory, and larger hard drives, as compared to the Exchange server in question here.  I say funny, because about two weeks ago, during a server reboot, my Domain controller did report that one of the RAID 1 member drives was bad.  I ordered a replacement hard drive, and downloaded a utility from HP that I had to burn to a CD and boot the server from.  This utility was supposed to run diagnostics on the server.  I ran all the diagnostics from the CD, but it reported that everything was fine.  When I rebooted the server, the SATA RAID Bios then reported that the hard drives were good again!?!  So, I just left everything alone and didn't replace the hard drive.  Keep in mind, this was all performed on my domain controller server, not the exchange server that this original question is referring too.  Both servers are the exact same age (a little over a year old) so maybe the hard drives are starting to go bad???  However, I have no idea which drives are the bad drives, if this is truly the case.  If the server is reporting everything as optimal, I just don't know what else to do...

    LVL 27

    Expert Comment

    You have to keep in mind that with Exchange there is alot of I/O disk action.

    "Are there any tools that you can think of off hand that would diagnose my hard drives or the SATA RAID controller?"
    I would suggest that you check with the hard drive and the controller manufacturer.
    In my past experiences it took utilities from the manuf. to correctly see the issue. Many times standard Windows diagnostics did not detect a problem.
    LVL 1

    Author Comment

    Exchange Admin,

    Sorry for the delay in following up with this thread...

    I ran a server diagnostic tool that HP suggested, but the server passed all the tests.  It was a quick test, and there was no way it physically scanned each hard drive, so I don't put much stock into the diag tool.  The raid controller card reports that the raid array and hard drives are all functioning "optimally", so I really don't know what else to do to see if there is physical damage to any of my hard drives.

    I was able to test out the repair proceedure that Microsoft recommends on one of my backup test servers.  I have an identical server to my production server, and I restored the production server image to this server (we have a Symantec software product that created a complete image of the server and writes it to an external hard drive each night...sort of like Ghost, but this is their Live State Recovery product).  Anyway, I ran the repair utility that microsoft recommends as a last resort to fix this error, and it fixed the problem on the test server.  I let the test server run for a few days, and the error never came back.  However, since this test server's purpose in life is to just sit in a closest, waiting for the day the production server dies, it is practically a brand new server with hard drives that only have a few hours of use on them.  So, the odds are that the hard drives are physically in perfect shape, and that may be why the error hasn't returned.

    So, my plan is to come in on a weekend, after our production server goes through a complete backup and imaging process, and try the fix microsoft recommends.  If the disks are fine, and it's just a database corruption, hopefully it will get fixed.  If the fix claims that it was successfull, but the error message remains, I suppose I'll just have to start replacing the raid disks one at a time, and rebuild the arrays until the error message goes away.

    Any other thoughts?

    LVL 1

    Author Comment

    I followed KB Article 810190 and it seemed to fix my exchange server last night.  All my backups were backed up when the error was happening, so I couldn't use any old backups.  I did the eseutil fixes, along with the isinteg fix and all seems to be working fine now.  No errors.

    Thanks to everyone for their help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do email signature updates give you a headache?

    Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

    Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now