Saturday, 21 November 2015

Solution for RRV Bucket Corruption Error in Lotus Notes

RRV bucket is an error in Lotus Notes that occurs when the .nsf file is corrupted due to specific reasons. Lotus Notes email client is a proprietary of IBM. It is an email client used by enterprises for storing data on Database.
The Record Relocation Vector (RRV) is a table that points to the notes within the database. An RRV bucket contains information to locate the data for specific notes or object identifiers within a database.
RRV points to the Lotus Notes Database and tells Notes where to find a specific Note ID.



Causes for the Error

There are many physical or logical errors, which cause NSF, file to corrupt, these include:

1. Sudden System Shutdown - When the system shuts down suddenly due to any interruption or due to other reasons then, it can lead to a corrupted file.
2. Hardware Failure - If any hardware part, like; a disk failure occurs then, it causes a file to corrupt.
3. Virus Attack - It is the main cause of the corruption, which mainly comes from internet browsing or use of infected pen drives or external hard drives.
4. NSF File Header - Header contains the most important information of the source and destination of an email, which if goes missing can lead to a corrupted file.
5. Corrupted Bookmarks/Icons
6. Database Corruption and Templates – It can also lead to this error.
7. While performing database administration tasks such as replication, refresh or replace design etc. 

Solution

Method 1
Repair Corrupt Database

1. Change the directory to your Lotus Notes program directory by opening command prompt
2. Now enter the command
 nfixup.exe X:/<name-and-location-of-the>.nsf
3. This command initiates a general scan of the NSF file and tries to repair it when corrupted.
Enter the command
 ncompact.exe X:/<name-and-location-of-the>.nsf
4. This command compacts the NSF file.
Enter the command
 nupdall –r X:/<name-and-location-of-the>.nsf
This command rebuilds the entire NSF index.

Method 2
Rebuild & Recover Bookmarks and Other Files

Close the client and open it by following the given steps
1. Rename names.nsf to names.old after closing the client
2. Now delete bookmarks.nsf
3. Rename desktop8.dsk to desktop8.old
4. Now make a copy of the notes.ini.
5. Edit the notes.ini (delete everything but the first 5 lines)
6. Now start the client again.

It will recreate the names.nsf, desktop8.dsk and bookmarks

Method 3
Compact the Database

Follow the steps below to compact the database, which will help in reducing the space and makes it less prone to corruption.
1. Open the database, and then Go to File - Database - Properties.
2. Click on the Info tab.
3. Click % used & check the percentage specified there, if it is below 90% that means the unused space is 10%, thus you can compact the database.
4. Click Compact to compact the database.

Method 4
Backup & Create a New Archive Database

It is always recommended to backup your data so that it can be recovered in case of corruption due to any error.
   Archiving the database can also help. The following steps should be followed:
1. Go to File> Database> Properties or Go to File>Applications> Properties (For Lotus 8).
2. Now Click the "i" tab, which will show the “Disk Space" currently used by the Lotus Notes data.
3. Determine desired archive settings so that the frequency for which Lotus Notes is too be archived can be set and can also decide whether all emails are to be archived or only the selected ones.
4. Then open the mail application & go to mail settings by clicking Actions> Archive> Settings.
5. Go to the Criteria tab and select the option "Default for last modified"(if it isn’t selected).
6. Click "ok" and enable the Criteria.

Conclusion

There are many instances, responsible for the corruption in Lotus Notes database. It is a common error faced by the users of Lotus Notes/Domino Server application which can be solved by using some tricks, but a user should always backup its data (by converting Lotus Notes NSF to PST or save in cloud or other secure device) so that in case of an error it can be recovered easily.

I hope the article explains the user to understand about “RRV Bucket Error” and the ways to recover the data from Lotus Notes database.
For any query or suggestions, do comment.

0 comments:

Post a Comment