& xfsTemplate,top=>1,side=>1 &>
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:
The current status of the individual DMAPI functions in XFS can be found in the file linux/fs/xfs/dmapi/Status.
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.
In order to use DMAPI, you need to create the device /dev/dmapi; this is the interface the user library uses to communicate with the kernel side of DMAPI.
Execute the following command to create the DMAPI device:
The user library for DMAPI is cmd/xfs/libdm/libdm.so. The user library requires the handle library cmd/xfs/handle/libhandle.a. The handle library is located at tt>cmd/xfsprogs/libhandle. Both the libdm and handle directories are installed by the RPMs. DMAPI applications need to link with both of of these libraries.
If you have the entire source tree, the DMAPI libraries are found in the following locations:
The RPMs for the libraries are:
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: