esfs_check consistency checking tool
The esfs_check tool determines whether the data that is stored in the cloud and the data in the ESFS database are consistent. This check reports any inconsistencies between the two.
Note:
Since the tool reads data from the cloud, it is likely that the NetBackup customer might incur a financial cost by the cloud vendor. Consider contacting Veritas Support before running the tool.
The esfs_check tool is located in the following directory: /usr/openv/esfs/bin
It uses the following syntax:
esfs_check -cachedir path_to_local_cache [-strict] [-verbose]
Where:
path_to_local_cache is the path to the local cache directory.
The -strict option provides an additional check to compare the file size in the local cache with the file size in the ESFS database.
The -verbose option enables logging to the following directory:
/usr/openv/esfs/log/ops/esfs_check
Before you run the esfs_check tool:
The following example output shows that the data that is stored in the cloud is consistent with the ESFS database.
esfs_check -cachedir /root/cache/msdp/ -verbose consistency check successful
The following example output shows that there are inconsistencies between the cloud and the ESFS database.
esfs_check -cachedir /root/cache/msdp/ -verbose File /data/2/97.bin not exist in cloud, expect in cloud File /data/2/97.bin not exist in cache/cloud
Output line 1 means that file /data/2/97.bin appears in the ESFS database and should also be in the cloud, but it is not.
Output line 2 means that file /data/2/97.bin appears in the ESFS database, but is neither in the cloud nor the local cache.
If the esfs_check tool finds an inconsistency, contact Veritas Support.