524 - How to do an IntegrityCheck on HSM data

Modified on Mon, 21 Jul at 1:06 PM

 

If you are concerned about the integrity of data in an HSM directory, you can run an IntegrityCheck on the directory to ensure the data is not corrupt.

Before running the IntegrityCheck, the DataIndex and SmallFiles files must be renamed from their "date" names to their proper names. Note down the original names before renaming, as you will need to revert them if restoring from the HSM date.

For example:

E:\Export\HSM\speedlab_SPEEDLAB\20120531235959\28e7c57b-b8f1-4a8b-86c5-61d3338b22e7\data\20120531235959.dat
to
E:\Export\HSM\speedlab_SPEEDLAB\20120531235959\28e7c57b-b8f1-4a8b-86c5-61d3338b22e7\data\DataIndex.dat

And:

E:\Export\HSM\speedlab_SPEEDLAB\20120531235959\28e7c57b-b8f1-4a8b-86c5-61d3338b22e7\data\20120531235959. A5Files
to
E:\Export\HSM\speedlab_SPEEDLAB\20120531235959\28e7c57b-b8f1-4a8b-86c5-61d3338b22e7\data\SmallFiles. A5Files

When completed, drop the following full IntegrityCheck task in the task queue for the StorageServer, changing the AccountDir path to the HSM path and AccountGuid as appropriate:

AccountDir=E:\Export\HSM\speedlab_SPEEDLAB\20120531235959\28e7c57b-b8f1-4a8b-86c5-61d3338b22e7
AccountGuid=28e7c57b-b8f1-4a8b-86c5-61d3338b22e7
CheckCRCs=False
CheckPatches=True
FixErrors=True

Note: The parameters in the IntegrityCheck task file can be edited to reflect the type of Integrity Check you wish to perform.

Any errors or warnings detected will be reported in the StorageServer logs.

When the IntegrityCheck completes, if restoring, revert the files to their original names and run the restore as normal.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article