2004-06-10 10:40:59 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-10 10:40:59 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-06-24 02:53:05 +08:00
|
|
|
|
|
|
|
<!ENTITY xfsprogs-download-http "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
2005-01-28 02:24:29 +08:00
|
|
|
<!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
2005-02-05 03:15:08 +08:00
|
|
|
<!ENTITY xfsprogs-md5sum "65fbf692f348b57f21edd4813733d9ae">
|
2005-01-28 02:24:29 +08:00
|
|
|
<!ENTITY xfsprogs-size "833 KB">
|
|
|
|
<!ENTITY xfsprogs-buildsize "25.2 MB">
|
|
|
|
<!ENTITY xfsprogs-time "0.59 SBU">
|
2004-06-10 10:40:59 +08:00
|
|
|
]>
|
|
|
|
|
2003-09-27 02:58:36 +08:00
|
|
|
<sect1 id="xfs" xreflabel="XFS-&xfsprogs-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 04:30:53 +08:00
|
|
|
<?dbhtml filename="xfsfs.html"?>
|
2003-09-27 02:58:36 +08:00
|
|
|
<title>XFS-&xfsprogs-version;</title>
|
2005-01-28 02:24:29 +08:00
|
|
|
<indexterm zone="xfs">
|
|
|
|
<primary sortas="a-XFS">XFS</primary>
|
|
|
|
</indexterm>
|
2004-04-12 04:47:30 +08:00
|
|
|
|
2004-06-10 10:40:59 +08:00
|
|
|
<sect2>
|
2005-01-28 02:24:29 +08:00
|
|
|
<title>Introduction to
|
|
|
|
<application><acronym>XFS</acronym></application></title>
|
2004-06-10 10:40:59 +08:00
|
|
|
|
|
|
|
<para>The <application>XFS</application> package contains administration
|
|
|
|
and debugging tools for the <acronym>XFS</acronym> file system.</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (HTTP): <ulink
|
|
|
|
url="&xfsprogs-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP): <ulink
|
|
|
|
url="&xfsprogs-download-ftp;"/></para></listitem>
|
2005-02-05 03:15:08 +08:00
|
|
|
<listitem><para>Download MD5 sum: &xfsprogs-md5sum;</para></listitem>
|
2004-06-10 10:40:59 +08:00
|
|
|
<listitem><para>Download size: &xfsprogs-size;</para></listitem>
|
2005-01-11 01:48:41 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-10 10:40:59 +08:00
|
|
|
&xfsprogs-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&xfsprogs-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>XFS</application></title>
|
|
|
|
|
2005-02-27 00:57:33 +08:00
|
|
|
<note><para>If you did not install the
|
|
|
|
<ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink> package in
|
|
|
|
<acronym>LFS</acronym>, you must install it, or
|
|
|
|
<ulink url="http://pecl.php.net/get/uuid-1.0.tgz">UUID</ulink> before
|
|
|
|
proceeding with the installation of
|
|
|
|
<application>XFS</application>.</para></note>
|
|
|
|
|
2004-06-10 10:40:59 +08:00
|
|
|
<para>Install <application>XFS</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>sed -i 's/autoconf//' Makefile &&
|
2005-01-28 02:24:29 +08:00
|
|
|
make</command></userinput></screen>
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2005-01-28 02:24:29 +08:00
|
|
|
<para>Now, as the root user:</para>
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2005-01-28 02:24:29 +08:00
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
2004-06-10 10:40:59 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2005-01-28 02:24:29 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2004-06-10 10:40:59 +08:00
|
|
|
|
2005-01-28 02:24:29 +08:00
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy, xfs_db,
|
|
|
|
xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint, xfs_mkfile,
|
|
|
|
xfs_ncheck, xfs_repair and xfs_rtcp</seg>
|
|
|
|
<seg>libhandle.so</seg>
|
|
|
|
<seg>/usr/share/doc/xfsprogs</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
|
|
|
|
<varlistentry id="fsck.xfs">
|
|
|
|
<term><command>fsck.xfs</command></term>
|
|
|
|
<listitem><para>simply exits with a zero status, since <acronym>XFS</acronym>
|
|
|
|
partitions are checked at mount time.</para>
|
|
|
|
<indexterm zone="xfs fsck.xfs">
|
|
|
|
<primary sortas="b-fsck.xfs">fsck.xfs</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="mkfs.xfs">
|
|
|
|
<term><command>mkfs.xfs</command></term>
|
|
|
|
<listitem><para>constructs an <acronym>XFS</acronym> file system.</para>
|
|
|
|
<indexterm zone="xfs mkfs.xfs">
|
|
|
|
<primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_admin">
|
|
|
|
<term><command>xfs_admin</command></term>
|
|
|
|
<listitem><para>changes the parameters of an <acronym>XFS</acronym> file
|
|
|
|
system.</para>
|
|
|
|
<indexterm zone="xfs xfs_admin">
|
|
|
|
<primary sortas="b-xfs_admin">xfs_admin</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_bmap">
|
|
|
|
<term><command>xfs_bmap</command></term>
|
|
|
|
<listitem><para>prints block mapping for an <acronym>XFS</acronym> file.</para>
|
|
|
|
<indexterm zone="xfs xfs_bmap">
|
|
|
|
<primary sortas="b-xfs_bmap">xfs_bmap</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_check">
|
|
|
|
<term><command>xfs_check</command></term>
|
|
|
|
<listitem><para>checks <acronym>XFS</acronym> file system consistency.</para>
|
|
|
|
<indexterm zone="xfs xfs_check">
|
|
|
|
<primary sortas="b-xfs_check">xfs_check</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_copy">
|
|
|
|
<term><command>xfs_copy</command></term>
|
|
|
|
<listitem><para>copies the contents of an <acronym>XFS</acronym> file system
|
|
|
|
to one or more targets in parallel.</para>
|
|
|
|
<indexterm zone="xfs xfs_copy">
|
|
|
|
<primary sortas="b-xfs_copy">xfs_copy</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_db">
|
|
|
|
<term><command>xfs_db</command></term>
|
|
|
|
<listitem><para>is used to debug an <acronym>XFS</acronym> file system.</para>
|
|
|
|
<indexterm zone="xfs xfs_db">
|
|
|
|
<primary sortas="b-xfs_db">xfs_db</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_freeze">
|
|
|
|
<term><command>xfs_freeze</command></term>
|
|
|
|
<listitem><para>suspends access to an <acronym>XFS</acronym> file
|
|
|
|
system.</para>
|
|
|
|
<indexterm zone="xfs xfs_freeze">
|
|
|
|
<primary sortas="b-xfs_freeze">xfs_freeze</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_growfs">
|
|
|
|
<term><command>xfs_growfs</command></term>
|
|
|
|
<listitem><para>expands an <acronym>XFS</acronym> file system.</para>
|
|
|
|
<indexterm zone="xfs xfs_growfs">
|
|
|
|
<primary sortas="b-xfs_growfs">xfs_growfs</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_info">
|
|
|
|
<term><command>xfs_info</command></term>
|
|
|
|
<listitem><para>is equivalent to invoking <command>xfs_growfs</command>, but
|
|
|
|
specifying that no change to the file system is to be made.</para>
|
|
|
|
<indexterm zone="xfs xfs_info">
|
|
|
|
<primary sortas="b-xfs_info">xfs_info</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_io">
|
|
|
|
<term><command>xfs_io</command></term>
|
|
|
|
<listitem><para>is a debugging tool like <command>xfs_db</command>, but is
|
|
|
|
aimed at examining the regular file I/O path rather than the raw
|
|
|
|
<acronym>XFS</acronym> volume itself.</para>
|
|
|
|
<indexterm zone="xfs xfs_io">
|
|
|
|
<primary sortas="b-xfs_io">xfs_io</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_logprint">
|
|
|
|
<term><command>xfs_logprint</command></term>
|
|
|
|
<listitem><para>prints the log of an <acronym>XFS</acronym> file system.</para>
|
|
|
|
<indexterm zone="xfs xfs_logprint">
|
|
|
|
<primary sortas="b-xfs_logprint">xfs_logprint</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_mkfile">
|
|
|
|
<term><command>xfs_mkfile</command></term>
|
|
|
|
<listitem><para>creates an <acronym>XFS</acronym> file, padded with zeroes by
|
|
|
|
default.</para>
|
|
|
|
<indexterm zone="xfs xfs_mkfile">
|
|
|
|
<primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_ncheck">
|
|
|
|
<term><command>xfs_ncheck</command></term>
|
|
|
|
<listitem><para>generates pathnames from inode numbers for an
|
|
|
|
<acronym>XFS</acronym> file system.</para>
|
|
|
|
<indexterm zone="xfs xfs_ncheck">
|
|
|
|
<primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_repair">
|
|
|
|
<term><command>xfs_repair</command></term>
|
|
|
|
<listitem><para>repairs corrupt or damaged <acronym>XFS</acronym>file
|
|
|
|
systems.</para>
|
|
|
|
<indexterm zone="xfs xfs_repair">
|
|
|
|
<primary sortas="b-xfs_repair">xfs_repair</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="xfs_rtcp">
|
|
|
|
<term><command>xfs_rtcp</command></term>
|
|
|
|
<listitem><para>copies a file to the real-time partition on an
|
|
|
|
<acronym>XFS</acronym> file system.</para>
|
|
|
|
<indexterm zone="xfs xfs_rtcp">
|
|
|
|
<primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libhandle">
|
|
|
|
<term><filename class='libraryfile'>libhandle.so</filename></term>
|
|
|
|
<listitem><para>contains functions to map filesystem handles to a
|
|
|
|
corresponding open file descriptor for that filesystem.</para>
|
|
|
|
<indexterm zone="xfs libhandle">
|
|
|
|
<primary sortas="c-libhandle">libhandle.so</primary>
|
|
|
|
</indexterm></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
2004-06-10 10:40:59 +08:00
|
|
|
|
|
|
|
</sect2>
|
2002-07-08 04:28:42 +08:00
|
|
|
|
|
|
|
</sect1>
|