<& xfsTemplate,top=>1,side=>1 &>

The Data Management API (DMAPI)

The Data Management API (DMAPI) is the mechanism within the XFS filesystem for passing file management requests between the kernel and a hierarchical storage management system (HSM).

In order to configure an HSM, you must ensure that you have installed DMAPI and the appropriate patches.

This page provides information on the following topics:

  • Building DMAPI
  • The DMAPI libraries
  • Mounting filesystems for use with DMAPI
  • Building DMAPI

    To build DMAPI, set the DMAPI config flag when you configure XFS as part of your build. This flag is in the collection of XFS configuration options.

    The DMAPI Libraries

    The user library for DMAPI is cmd/dmapi/libdm/libdm.so. The libdm directory is installed by the RPMs.

    If you have the entire source tree, the DMAPI library is found in the following location:

    The RPMs for the libraries are:

    Mounting Filesystems for use with DMAPI

    In order for filesystems to be managed by an HSM, they must be mounted to enable the DMAPI interface. To mount a filesystem for use with DMAPI, use the following command:



    <& xfsTemplate,bottom=>1 &>