![]() |
HDF5 2.0.0.41a7ef8
API Reference
|
With h5clear, you can clear the superblock status flag field, remove the metadata cache image, print the EOA and EOF, or set the EOA of a file. It is not a general repair tool and should not be used to fix file corruption. If a process doesn't shut down cleanly, the superblock mark can be left that prevents opening a file without SWMR. Then, h5clear can be used to remove this superblock mark so that the file can be inspected and appropriate actions can be taken.
Clear the status_flags field in the superblock of the HDF5 file <file_name>.
Remove the metadata cache image from the HDF5 file <file_name>.
Set the EOA to the maximum of (EOA, EOF) + 1M for the file <file_name>.
Set the EOA to the maximum of (EOA, EOF) + 512 for the file\<file_name>.