Showing posts with label NetBackup. Show all posts
Showing posts with label NetBackup. Show all posts

Friday, March 19, 2010

Damn you, NetBackup!

Had a really interesting issue this morning at the office.  Got a call from my colleague that a mail file was having all kinds of corruption issues.  Everything that could be done against the mail file could had been done, and it was looking like it was time to bring the server down to fix the mail file.  The error that kept flying by on the console was
[1E90:02D3-14D8] **** DbMarkCorrupt(Folder ($Inbox) corrupt), DB=g:\Lotus\Domino\data\mail\user.nsf  TID=[1E90:02D3-14D8] File=dbfolder.c Line=672 ***
As Domino kept seeing the error, it would try to run a consistency check on the database, thus making it difficult for us remove the database.  We operate in a clustered environment so deleting the database and recreating the replica from the cluster mate is the normal mode of operation for us.  But after repeated fixups, updall and compact commands with every imaginable switch thrown in, nothing would either fix the database and no amount of "drop all" and "dbcache flush" commands would release this database.
So after almost giving up on it, I asked the backup administrator if she could check that the backup had completed on the database.  She said it had.  But, I wanted to try one more thing.  I logged into the server console and stopped the Windows service "NetBackup Client Service".  After another "drop all" and "dbache flush" command, the database deleted.  Now we were able to recreate the database from the cluster mate.  So if you ever come across an issue like this where a database appears to be held onto by something, check the backup service.  It saved me from having to explain why I would have to reboot the server to fix a mail database, when it wasn't even Domino's fault.