A network storage system comprises data storage, one or more file system
APIs, and a metadata handler. The data storage can comprise file data and
associated metadata. The file system APIs can be configured to read and
write file data and metadata to and from the data storage. The metadata
handler can have a library of functions for handling the metadata. The
library can include a metadata blob creation function and a metadata blob
extraction function. The metadata blob creation function cooperates with
the file system APIs to read source metadata associated with specified
file data and creates and populates a metadata blob from which a
substantial copy of the source metadata can be generated. The metadata
blob extraction function receives at least a metadata blob, extracts
information from the metadata blob, and cooperates with the file system
APIs to generate destination metadata, a substantial copy of the source
metadata.