A processor selects file system metadata. A processor identifies each unit
of data in a file system. The processor determines if the unit of data
contains file system metadata. The processor writes a unit of data of
metadata to a diagnostic file system, provided it was determined that the
unit of data contains file system metadata. The processor then determines
if the unit of data contains user data. If the unit of data contains user
data, the processor writes a sparse object to the diagnostic file.