How to fix a corrupt NSF file using NFIXUP and NCOMPACT

Article: 100038191
Last Published: 2020-10-22
Ratings: 11 4
Product(s): eDiscovery Platform

Description

NSF files contain 'notes' as the basic unit of data storage. 'Notes' can become inaccessible and unreadable for many reasons, including NSF file corruption. NSF files are regarded as local databases and require ‘NSF File Recovery’ when corrupted.   The following example is a typical error message in the NSFCrawler.log indicating that the NSF file is corrupt:

2013-02-06 09:35:29,298 [10460] ERROR root CaseName:[21120-00053_case_1689074496709291_21120-00053_case__NSF1] 21120-00053_case__NSF1_1689074496709291 - HeapAlloc failed for size:1082594 at alloc: 343003 Largest available continuous memory block is 585728
2013-02-06 09:35:29,298 [10460] ERROR root CaseName:[21120-00053_case_1689074496709291_21120-00053_case__NSF1] 21120-00053_case__NSF1_1689074496709291 - Memory allocation failed: file ..\EsaMessageImpl .cpp, line 270; memory size to allocate 1082594.  

Prerequisite:  Run the commands below on another machine that has Lotus Notes. A version of Lotus Notes is installed on Clearwell but is tied directly to Clearwell and must only be used directly by the Clearwell system.

How to fix NSF Issues:

1. Copy the NSF file into a new local location that has Lotus Notes
2. Using the Command prompt go to Lotus Notes home. (i.e. c:\lotus\notes )
3. Run the following commands:
(Enter the user's Notes password if prompted)
     3a. nfixup.exe <filename>.nsf
     3b. ncompact.exe -c <filename>.nsf
4. Once the file has been fixed and compacted. Rename the original NSF in source (i.e. _bkup or _currupt) to distinguish the corrupt version from the fixed one.
5. Add the fixed NSF to source and process in Clearwell as needed.

 

NSF - The standard container for data in the Lotus Notes architecture is NSF (Notes Storage Facility).

Was this content helpful?