Hi,

I have a question. Yesterday my HDF5 file got corrupted due to disk-space shortage. Maybe I could have saved the file by a check on the available disk-space before I tried to add data to the file (using system-tools). However this will not help in case, the program itself is responsible for the shortage of disk-space (by adding a lot of data) or someone adds during the execution a lot of data to the system. Thus I would like to catch the errors returned by the HDF5 library and then close all resources leaving the HDF5 file in a proper state. Is that possible, or is the file lost after a failed write action?

Would it make a difference using an other file driver? H5FD_STDIO instead**of**H5FD_SEC2? Would it make a difference using other setting for |xfer_plist_id |in the call to H5Dwrite?

Would it be possible in a future release (1.10) to restore file to a previous defined state?

Many thanks for your time.

Best regards,

Richard van Hees

||

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to