Sorry for getting to you late. Looks like Emmanuel got to you first but let me attempt to answer
some of your questions as well.
When we implemented early releases of DS 1.0 we found that under certain conditions (e.g. uncontrolled shutdown) the jdbm store/indexes became damaged.
To enable our customer service department to determine if this was the cause of a reported fault, I added a method to our directory MBean to enumerate all of the jdbm indexes/entries. If it failed then we have a procedure to remove all the jdbm store folders and restart DS with a backup LDIF.
Whereas this capability is not a runtime requirement of our systems it is an important operational tool as jdbm storage has proved to be a little 'fragile'.
So to reword my question: How can I run an integrity check on the underlying jdbm stores?