[4122007] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[152fb77] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
[ff769b8c] | 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[4122007] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[b8fa16e] | 6 |
|
---|
| 7 | <!ENTITY xfsprogs-download-http "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
---|
[dcee0f2f] | 8 | <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
---|
[0dfa6f4f] | 9 | <!ENTITY xfsprogs-md5sum "65fbf692f348b57f21edd4813733d9ae">
|
---|
[dcee0f2f] | 10 | <!ENTITY xfsprogs-size "833 KB">
|
---|
| 11 | <!ENTITY xfsprogs-buildsize "25.2 MB">
|
---|
| 12 | <!ENTITY xfsprogs-time "0.59 SBU">
|
---|
[4122007] | 13 | ]>
|
---|
| 14 |
|
---|
[79f87f94] | 15 | <sect1 id="xfs" xreflabel="XFS-&xfsprogs-version;">
|
---|
[152fb77] | 16 | <?dbhtml filename="xfsfs.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>XFS-&xfsprogs-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="xfs">
|
---|
| 26 | <primary sortas="a-XFS">XFS</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to XFS</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>XFS</application> package contains administration
|
---|
| 33 | and debugging tools for the XFS file system.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&xfsprogs-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&xfsprogs-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &xfsprogs-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &xfsprogs-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &xfsprogs-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &xfsprogs-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | </sect2>
|
---|
| 58 |
|
---|
| 59 | <sect2 role="installation">
|
---|
| 60 | <title>Installation of XFS</title>
|
---|
| 61 |
|
---|
| 62 | <note>
|
---|
| 63 | <para>If you did not install the
|
---|
| 64 | <ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink>
|
---|
| 65 | package in LFS, you must install it, or
|
---|
| 66 | <ulink url="http://pecl.php.net/get/uuid-1.0.tgz">UUID</ulink> before
|
---|
| 67 | proceeding with the installation of <application>XFS</application>.</para>
|
---|
| 68 | </note>
|
---|
| 69 |
|
---|
| 70 | <para>Install <application>XFS</application> by running the following
|
---|
| 71 | commands:</para>
|
---|
| 72 |
|
---|
| 73 | <screen><userinput>sed -i 's/autoconf//' Makefile &&
|
---|
| 74 | make</userinput></screen>
|
---|
| 75 |
|
---|
| 76 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 77 |
|
---|
| 78 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="content">
|
---|
| 83 | <title>Contents</title>
|
---|
| 84 |
|
---|
| 85 | <segmentedlist>
|
---|
| 86 | <segtitle>Installed Programs</segtitle>
|
---|
| 87 | <segtitle>Installed Library</segtitle>
|
---|
| 88 | <segtitle>Installed Directory</segtitle>
|
---|
| 89 |
|
---|
| 90 | <seglistitem>
|
---|
| 91 | <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
|
---|
| 92 | xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
|
---|
| 93 | xfs_mkfile, xfs_ncheck, xfs_repair, and xfs_rtcp</seg>
|
---|
| 94 | <seg>libhandle.so</seg>
|
---|
| 95 | <seg>/usr/share/doc/xfsprogs</seg>
|
---|
| 96 | </seglistitem>
|
---|
| 97 | </segmentedlist>
|
---|
| 98 |
|
---|
| 99 | <variablelist>
|
---|
| 100 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 101 | <?dbfo list-presentation="list"?>
|
---|
| 102 | <?dbhtml list-presentation="table"?>
|
---|
| 103 |
|
---|
| 104 | <varlistentry id="fsck.xfs">
|
---|
| 105 | <term><command>fsck.xfs</command></term>
|
---|
| 106 | <listitem>
|
---|
| 107 | <para>simply exits with a zero status, since XFS
|
---|
| 108 | partitions are checked at mount time.</para>
|
---|
| 109 | <indexterm zone="xfs fsck.xfs">
|
---|
| 110 | <primary sortas="b-fsck.xfs">fsck.xfs</primary>
|
---|
| 111 | </indexterm>
|
---|
| 112 | </listitem>
|
---|
| 113 | </varlistentry>
|
---|
| 114 |
|
---|
| 115 | <varlistentry id="mkfs.xfs">
|
---|
| 116 | <term><command>mkfs.xfs</command></term>
|
---|
| 117 | <listitem>
|
---|
| 118 | <para>constructs an XFS file system.</para>
|
---|
| 119 | <indexterm zone="xfs mkfs.xfs">
|
---|
| 120 | <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
|
---|
| 121 | </indexterm>
|
---|
| 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="xfs_admin">
|
---|
| 126 | <term><command>xfs_admin</command></term>
|
---|
| 127 | <listitem>
|
---|
| 128 | <para>changes the parameters of an XFS file system.</para>
|
---|
| 129 | <indexterm zone="xfs xfs_admin">
|
---|
| 130 | <primary sortas="b-xfs_admin">xfs_admin</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
| 135 | <varlistentry id="xfs_bmap">
|
---|
| 136 | <term><command>xfs_bmap</command></term>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>prints block mapping for an XFS file.</para>
|
---|
| 139 | <indexterm zone="xfs xfs_bmap">
|
---|
| 140 | <primary sortas="b-xfs_bmap">xfs_bmap</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
| 144 |
|
---|
| 145 | <varlistentry id="xfs_check">
|
---|
| 146 | <term><command>xfs_check</command></term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>checks XFS file system consistency.</para>
|
---|
| 149 | <indexterm zone="xfs xfs_check">
|
---|
| 150 | <primary sortas="b-xfs_check">xfs_check</primary>
|
---|
| 151 | </indexterm>
|
---|
| 152 | </listitem>
|
---|
| 153 | </varlistentry>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="xfs_copy">
|
---|
| 156 | <term><command>xfs_copy</command></term>
|
---|
| 157 | <listitem>
|
---|
| 158 | <para>copies the contents of an XFS file system
|
---|
| 159 | to one or more targets in parallel.</para>
|
---|
| 160 | <indexterm zone="xfs xfs_copy">
|
---|
| 161 | <primary sortas="b-xfs_copy">xfs_copy</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="xfs_db">
|
---|
| 167 | <term><command>xfs_db</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>is used to debug an XFS file system.</para>
|
---|
| 170 | <indexterm zone="xfs xfs_db">
|
---|
| 171 | <primary sortas="b-xfs_db">xfs_db</primary>
|
---|
| 172 | </indexterm>
|
---|
| 173 | </listitem>
|
---|
| 174 | </varlistentry>
|
---|
| 175 |
|
---|
| 176 | <varlistentry id="xfs_freeze">
|
---|
| 177 | <term><command>xfs_freeze</command></term>
|
---|
| 178 | <listitem>
|
---|
| 179 | <para>suspends access to an XFS file system.</para>
|
---|
| 180 | <indexterm zone="xfs xfs_freeze">
|
---|
| 181 | <primary sortas="b-xfs_freeze">xfs_freeze</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="xfs_growfs">
|
---|
| 187 | <term><command>xfs_growfs</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>expands an XFS file system.</para>
|
---|
| 190 | <indexterm zone="xfs xfs_growfs">
|
---|
| 191 | <primary sortas="b-xfs_growfs">xfs_growfs</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
| 196 | <varlistentry id="xfs_info">
|
---|
| 197 | <term><command>xfs_info</command></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>is equivalent to invoking <command>xfs_growfs</command>, but
|
---|
| 200 | specifying that no change to the file system is to be made.</para>
|
---|
| 201 | <indexterm zone="xfs xfs_info">
|
---|
| 202 | <primary sortas="b-xfs_info">xfs_info</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="xfs_io">
|
---|
| 208 | <term><command>xfs_io</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>is a debugging tool like <command>xfs_db</command>, but is
|
---|
| 211 | aimed at examining the regular file I/O path rather than the raw
|
---|
| 212 | XFS volume itself.</para>
|
---|
| 213 | <indexterm zone="xfs xfs_io">
|
---|
| 214 | <primary sortas="b-xfs_io">xfs_io</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="xfs_logprint">
|
---|
| 220 | <term><command>xfs_logprint</command></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>prints the log of an XFS file system.</para>
|
---|
| 223 | <indexterm zone="xfs xfs_logprint">
|
---|
| 224 | <primary sortas="b-xfs_logprint">xfs_logprint</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="xfs_mkfile">
|
---|
| 230 | <term><command>xfs_mkfile</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>creates an XFS file, padded with zeroes by default.</para>
|
---|
| 233 | <indexterm zone="xfs xfs_mkfile">
|
---|
| 234 | <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
|
---|
| 235 | </indexterm>
|
---|
| 236 | </listitem>
|
---|
| 237 | </varlistentry>
|
---|
| 238 |
|
---|
| 239 | <varlistentry id="xfs_ncheck">
|
---|
| 240 | <term><command>xfs_ncheck</command></term>
|
---|
| 241 | <listitem>
|
---|
| 242 | <para>generates pathnames from inode numbers for an
|
---|
| 243 | XFS file system.</para>
|
---|
| 244 | <indexterm zone="xfs xfs_ncheck">
|
---|
| 245 | <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | <varlistentry id="xfs_repair">
|
---|
| 251 | <term><command>xfs_repair</command></term>
|
---|
| 252 | <listitem>
|
---|
| 253 | <para>repairs corrupt or damaged XFS file systems.</para>
|
---|
| 254 | <indexterm zone="xfs xfs_repair">
|
---|
| 255 | <primary sortas="b-xfs_repair">xfs_repair</primary>
|
---|
| 256 | </indexterm>
|
---|
| 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
| 260 | <varlistentry id="xfs_rtcp">
|
---|
| 261 | <term><command>xfs_rtcp</command></term>
|
---|
| 262 | <listitem>
|
---|
| 263 | <para>copies a file to the real-time partition on an
|
---|
| 264 | XFS file system.</para>
|
---|
| 265 | <indexterm zone="xfs xfs_rtcp">
|
---|
| 266 | <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
|
---|
| 267 | </indexterm>
|
---|
| 268 | </listitem>
|
---|
| 269 | </varlistentry>
|
---|
| 270 |
|
---|
| 271 | <varlistentry id="libhandle">
|
---|
| 272 | <term><filename class='libraryfile'>libhandle.so</filename></term>
|
---|
| 273 | <listitem>
|
---|
| 274 | <para>contains functions to map filesystem handles to a
|
---|
| 275 | corresponding open file descriptor for that filesystem.</para>
|
---|
| 276 | <indexterm zone="xfs libhandle">
|
---|
| 277 | <primary sortas="c-libhandle">libhandle.so</primary>
|
---|
| 278 | </indexterm>
|
---|
| 279 | </listitem>
|
---|
| 280 | </varlistentry>
|
---|
| 281 |
|
---|
| 282 | </variablelist>
|
---|
| 283 |
|
---|
| 284 | </sect2>
|
---|
[f45b1953] | 285 |
|
---|
| 286 | </sect1>
|
---|