[BACK]Return to dmapi.html CVS log [TXT][DIR] Up to [Development] / xfs-website.orig

File: [Development] / xfs-website.orig / dmapi.html (download) (as text)

Revision 1.3, Fri Dec 12 22:57:42 2003 UTC (13 years, 10 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +5 -47 lines

Check in a dmapi change for Dean
-RMC

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

<!-- Start Project Content -->
<h2>
<b><font face="ARIAL NARROW,HELVETICA">The Data Management API (DMAPI)</font></b></h2>

<p>
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).
</p>

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

<p>
This page provides information on the following topics:
<br>
<br>
<li>
<A HREF="#_dmapibuild">Building DMAPI</A>
</li>
<li>
<A HREF="#_dmapilib">The DMAPI libraries</A>
</li>
<li>
<A HREF="#_mountdmapi">Mounting filesystems for use with DMAPI</A>
</li>
</p>


<h3>
<A NAME="_dmapibuild">Building DMAPI</A>
</h3>

<p>
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.
</p>


<h3>
<A NAME="_dmapilib">The DMAPI Libraries</A>
</h3>

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

<p>If you have the entire source tree, the DMAPI library is
found in the following location:
</p>
<ul>
<li><tt>cmd/dmapi/libdm</tt></tt>
</ul>

<p>
The RPMs for the libraries are:
</p>
<ul>
<li><tt>dmapi</tt></tt>
<li><tt>dmapi-devel</tt></tt>
</ul>




<h3>
<A NAME="_mountdmapi">Mounting Filesystems for use with DMAPI</A>
</h3>

<p>
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:
</p>

<ul>
<tt>mount -o dmapi -o mtpt=/mntpt /dev/<i>fs-dev</i> /mntpt</tt>
</ul>

<br>
<br>


<& xfsTemplate,bottom=>1 &>