[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 |
|
---|
[0aeb696] | 7 | <!-- Inserted as a reminder to do this. The mention of a test suite
|
---|
| 8 | is usually right before the root user installation commands. Please
|
---|
| 9 | delete these 12 (including one blank) lines after you are done.-->
|
---|
| 10 |
|
---|
| 11 | <!-- Use one of the two mentions below about a test suite,
|
---|
| 12 | delete the line that is not applicable. Of course, if the
|
---|
| 13 | test suite uses syntax other than "make check", revise the
|
---|
| 14 | line to reflect the actual syntax to run the test suite -->
|
---|
| 15 |
|
---|
| 16 | <!-- <para>This package does not come with a test suite.</para> -->
|
---|
| 17 | <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
---|
| 18 |
|
---|
[b8fa16e] | 19 | <!ENTITY xfsprogs-download-http "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
---|
[dcee0f2f] | 20 | <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs-&xfsprogs-version;.src.tar.gz">
|
---|
[2da2e6a] | 21 | <!ENTITY xfsprogs-md5sum "d4a78fced98c0f3f32627a473e8e0a59">
|
---|
| 22 | <!ENTITY xfsprogs-size "878 KB">
|
---|
| 23 | <!ENTITY xfsprogs-buildsize "17.3 MB">
|
---|
| 24 | <!ENTITY xfsprogs-time "0.78 SBU">
|
---|
[4122007] | 25 | ]>
|
---|
| 26 |
|
---|
[79f87f94] | 27 | <sect1 id="xfs" xreflabel="XFS-&xfsprogs-version;">
|
---|
[152fb77] | 28 | <?dbhtml filename="xfsfs.html"?>
|
---|
| 29 |
|
---|
| 30 | <sect1info>
|
---|
| 31 | <othername>$LastChangedBy$</othername>
|
---|
| 32 | <date>$Date$</date>
|
---|
[e19ad480] | 33 | <keywordset>
|
---|
| 34 | <keyword role="package">xfsprogs-&xfsprogs-version;.src.tar</keyword>
|
---|
[9084c2eb] | 35 | <keyword role="ftpdir">xfsprogs</keyword>
|
---|
[e19ad480] | 36 | </keywordset>
|
---|
[152fb77] | 37 | </sect1info>
|
---|
| 38 |
|
---|
| 39 | <title>XFS-&xfsprogs-version;</title>
|
---|
| 40 |
|
---|
| 41 | <indexterm zone="xfs">
|
---|
| 42 | <primary sortas="a-XFS">XFS</primary>
|
---|
| 43 | </indexterm>
|
---|
| 44 |
|
---|
| 45 | <sect2 role="package">
|
---|
| 46 | <title>Introduction to XFS</title>
|
---|
| 47 |
|
---|
[99b1c520] | 48 | <para>The <application>XFS</application> package contains administration
|
---|
[152fb77] | 49 | and debugging tools for the XFS file system.</para>
|
---|
| 50 |
|
---|
| 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Download (HTTP): <ulink url="&xfsprogs-download-http;"/></para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Download (FTP): <ulink url="&xfsprogs-download-ftp;"/></para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Download MD5 sum: &xfsprogs-md5sum;</para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Download size: &xfsprogs-size;</para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>Estimated disk space required: &xfsprogs-buildsize;</para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>Estimated build time: &xfsprogs-time;</para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[3597eb6] | 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/xfs"/></para>
|
---|
| 75 |
|
---|
[152fb77] | 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of XFS</title>
|
---|
| 80 |
|
---|
| 81 | <note>
|
---|
[99b1c520] | 82 | <para>If you did not install the
|
---|
[d612b9f] | 83 | <ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink>
|
---|
[99b1c520] | 84 | package in LFS, you must install it, or
|
---|
[2da2e6a] | 85 | <ulink url="http://pecl.php.net/package/uuid">UUID</ulink> before
|
---|
[152fb77] | 86 | proceeding with the installation of <application>XFS</application>.</para>
|
---|
| 87 | </note>
|
---|
| 88 |
|
---|
[99b1c520] | 89 | <para>Install <application>XFS</application> by running the following
|
---|
[152fb77] | 90 | commands:</para>
|
---|
| 91 |
|
---|
[2da2e6a] | 92 | <screen><userinput>sed -i '/autoconf/d' Makefile &&
|
---|
| 93 | make DEBUG=-DNDEBUG</userinput></screen>
|
---|
[152fb77] | 94 |
|
---|
| 95 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 96 |
|
---|
| 97 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 98 |
|
---|
[2da2e6a] | 99 | <para>The <application>XFS</application> library installation is
|
---|
| 100 | incomplete. To finish the installation, issue the following commands
|
---|
| 101 | as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role="root"><userinput>chmod -v 755 /lib/libhandle.so* &&
|
---|
| 104 | install -v -m755 -D libhandle/libhandle.la /usr/lib/libhandle.la &&
|
---|
| 105 | install -v -m644 libhandle/.libs/libhandle.a /usr/lib &&
|
---|
| 106 | ln -sv ../../lib/libhandle.so.1 /usr/lib/libhandle.so</userinput></screen>
|
---|
| 107 |
|
---|
[152fb77] | 108 | </sect2>
|
---|
| 109 |
|
---|
[55329727] | 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
[2da2e6a] | 113 | <para><command>sed -i '/autoconf/d' Makefile</command>: This command
|
---|
[55329727] | 114 | disables running <command>autoconf</command> because it is
|
---|
| 115 | unnecessary.</para>
|
---|
| 116 |
|
---|
[2da2e6a] | 117 | <para><command>make DEBUG=-DNDEBUG</command>: The <application>XFS
|
---|
| 118 | </application> build will fail using the default -DDEBUG flags.</para>
|
---|
| 119 |
|
---|
| 120 | <para><parameter>OPTIMIZER="..."</parameter>: Adding this parameter to
|
---|
| 121 | the <command>make</command> command overrides the default optimization
|
---|
| 122 | settings.</para>
|
---|
| 123 |
|
---|
| 124 | <para><command>install -v ...</command>: These commands install the
|
---|
| 125 | static library and libtool archive for <filename>libhandle</filename>.</para>
|
---|
| 126 |
|
---|
| 127 | <para><command>ln -sv ...</command>: This command installs a symlink
|
---|
| 128 | that is missed by the <command>make install</command> command.</para>
|
---|
| 129 |
|
---|
[55329727] | 130 | </sect2>
|
---|
| 131 |
|
---|
[152fb77] | 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Programs</segtitle>
|
---|
| 137 | <segtitle>Installed Library</segtitle>
|
---|
| 138 | <segtitle>Installed Directory</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
[99b1c520] | 141 | <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
|
---|
| 142 | xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
|
---|
[152fb77] | 143 | xfs_mkfile, xfs_ncheck, xfs_repair, and xfs_rtcp</seg>
|
---|
[3597eb6] | 144 | <seg>libhandle.{so,a}</seg>
|
---|
[152fb77] | 145 | <seg>/usr/share/doc/xfsprogs</seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
| 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="fsck.xfs">
|
---|
| 155 | <term><command>fsck.xfs</command></term>
|
---|
| 156 | <listitem>
|
---|
[99b1c520] | 157 | <para>simply exits with a zero status, since XFS
|
---|
[152fb77] | 158 | partitions are checked at mount time.</para>
|
---|
| 159 | <indexterm zone="xfs fsck.xfs">
|
---|
| 160 | <primary sortas="b-fsck.xfs">fsck.xfs</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="mkfs.xfs">
|
---|
| 166 | <term><command>mkfs.xfs</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>constructs an XFS file system.</para>
|
---|
| 169 | <indexterm zone="xfs mkfs.xfs">
|
---|
| 170 | <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="xfs_admin">
|
---|
| 176 | <term><command>xfs_admin</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>changes the parameters of an XFS file system.</para>
|
---|
| 179 | <indexterm zone="xfs xfs_admin">
|
---|
| 180 | <primary sortas="b-xfs_admin">xfs_admin</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="xfs_bmap">
|
---|
| 186 | <term><command>xfs_bmap</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>prints block mapping for an XFS file.</para>
|
---|
| 189 | <indexterm zone="xfs xfs_bmap">
|
---|
| 190 | <primary sortas="b-xfs_bmap">xfs_bmap</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="xfs_check">
|
---|
| 196 | <term><command>xfs_check</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>checks XFS file system consistency.</para>
|
---|
| 199 | <indexterm zone="xfs xfs_check">
|
---|
| 200 | <primary sortas="b-xfs_check">xfs_check</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="xfs_copy">
|
---|
| 206 | <term><command>xfs_copy</command></term>
|
---|
| 207 | <listitem>
|
---|
[99b1c520] | 208 | <para>copies the contents of an XFS file system
|
---|
[152fb77] | 209 | to one or more targets in parallel.</para>
|
---|
| 210 | <indexterm zone="xfs xfs_copy">
|
---|
| 211 | <primary sortas="b-xfs_copy">xfs_copy</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="xfs_db">
|
---|
| 217 | <term><command>xfs_db</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>is used to debug an XFS file system.</para>
|
---|
| 220 | <indexterm zone="xfs xfs_db">
|
---|
| 221 | <primary sortas="b-xfs_db">xfs_db</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | <varlistentry id="xfs_freeze">
|
---|
| 227 | <term><command>xfs_freeze</command></term>
|
---|
| 228 | <listitem>
|
---|
| 229 | <para>suspends access to an XFS file system.</para>
|
---|
| 230 | <indexterm zone="xfs xfs_freeze">
|
---|
| 231 | <primary sortas="b-xfs_freeze">xfs_freeze</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | <varlistentry id="xfs_growfs">
|
---|
| 237 | <term><command>xfs_growfs</command></term>
|
---|
| 238 | <listitem>
|
---|
| 239 | <para>expands an XFS file system.</para>
|
---|
| 240 | <indexterm zone="xfs xfs_growfs">
|
---|
| 241 | <primary sortas="b-xfs_growfs">xfs_growfs</primary>
|
---|
| 242 | </indexterm>
|
---|
| 243 | </listitem>
|
---|
| 244 | </varlistentry>
|
---|
| 245 |
|
---|
| 246 | <varlistentry id="xfs_info">
|
---|
| 247 | <term><command>xfs_info</command></term>
|
---|
| 248 | <listitem>
|
---|
[99b1c520] | 249 | <para>is equivalent to invoking <command>xfs_growfs</command>, but
|
---|
[152fb77] | 250 | specifying that no change to the file system is to be made.</para>
|
---|
| 251 | <indexterm zone="xfs xfs_info">
|
---|
| 252 | <primary sortas="b-xfs_info">xfs_info</primary>
|
---|
| 253 | </indexterm>
|
---|
| 254 | </listitem>
|
---|
| 255 | </varlistentry>
|
---|
| 256 |
|
---|
| 257 | <varlistentry id="xfs_io">
|
---|
| 258 | <term><command>xfs_io</command></term>
|
---|
| 259 | <listitem>
|
---|
[99b1c520] | 260 | <para>is a debugging tool like <command>xfs_db</command>, but is
|
---|
| 261 | aimed at examining the regular file I/O path rather than the raw
|
---|
[152fb77] | 262 | XFS volume itself.</para>
|
---|
| 263 | <indexterm zone="xfs xfs_io">
|
---|
| 264 | <primary sortas="b-xfs_io">xfs_io</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="xfs_logprint">
|
---|
| 270 | <term><command>xfs_logprint</command></term>
|
---|
| 271 | <listitem>
|
---|
| 272 | <para>prints the log of an XFS file system.</para>
|
---|
| 273 | <indexterm zone="xfs xfs_logprint">
|
---|
| 274 | <primary sortas="b-xfs_logprint">xfs_logprint</primary>
|
---|
| 275 | </indexterm>
|
---|
| 276 | </listitem>
|
---|
| 277 | </varlistentry>
|
---|
| 278 |
|
---|
| 279 | <varlistentry id="xfs_mkfile">
|
---|
| 280 | <term><command>xfs_mkfile</command></term>
|
---|
| 281 | <listitem>
|
---|
| 282 | <para>creates an XFS file, padded with zeroes by default.</para>
|
---|
| 283 | <indexterm zone="xfs xfs_mkfile">
|
---|
| 284 | <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
|
---|
| 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
| 288 |
|
---|
| 289 | <varlistentry id="xfs_ncheck">
|
---|
| 290 | <term><command>xfs_ncheck</command></term>
|
---|
| 291 | <listitem>
|
---|
[99b1c520] | 292 | <para>generates pathnames from inode numbers for an
|
---|
[152fb77] | 293 | XFS file system.</para>
|
---|
| 294 | <indexterm zone="xfs xfs_ncheck">
|
---|
| 295 | <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
| 299 |
|
---|
[2da2e6a] | 300 | <varlistentry id="xfs_quota">
|
---|
| 301 | <term><command>xfs_quota</command></term>
|
---|
| 302 | <listitem>
|
---|
| 303 | <para>is a utility for reporting and editing various
|
---|
| 304 | aspects of filesystem quota.</para>
|
---|
| 305 | <indexterm zone="xfs xfs_quota">
|
---|
| 306 | <primary sortas="b-xfs_quota">xfs_quota</primary>
|
---|
| 307 | </indexterm>
|
---|
| 308 | </listitem>
|
---|
| 309 | </varlistentry>
|
---|
| 310 |
|
---|
[152fb77] | 311 | <varlistentry id="xfs_repair">
|
---|
| 312 | <term><command>xfs_repair</command></term>
|
---|
| 313 | <listitem>
|
---|
| 314 | <para>repairs corrupt or damaged XFS file systems.</para>
|
---|
| 315 | <indexterm zone="xfs xfs_repair">
|
---|
| 316 | <primary sortas="b-xfs_repair">xfs_repair</primary>
|
---|
| 317 | </indexterm>
|
---|
| 318 | </listitem>
|
---|
| 319 | </varlistentry>
|
---|
| 320 |
|
---|
| 321 | <varlistentry id="xfs_rtcp">
|
---|
| 322 | <term><command>xfs_rtcp</command></term>
|
---|
| 323 | <listitem>
|
---|
[99b1c520] | 324 | <para>copies a file to the real-time partition on an
|
---|
[152fb77] | 325 | XFS file system.</para>
|
---|
| 326 | <indexterm zone="xfs xfs_rtcp">
|
---|
| 327 | <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
|
---|
| 328 | </indexterm>
|
---|
| 329 | </listitem>
|
---|
| 330 | </varlistentry>
|
---|
| 331 |
|
---|
| 332 | <varlistentry id="libhandle">
|
---|
| 333 | <term><filename class='libraryfile'>libhandle.so</filename></term>
|
---|
| 334 | <listitem>
|
---|
[99b1c520] | 335 | <para>contains functions to map filesystem handles to a
|
---|
[152fb77] | 336 | corresponding open file descriptor for that filesystem.</para>
|
---|
| 337 | <indexterm zone="xfs libhandle">
|
---|
| 338 | <primary sortas="c-libhandle">libhandle.so</primary>
|
---|
| 339 | </indexterm>
|
---|
| 340 | </listitem>
|
---|
| 341 | </varlistentry>
|
---|
| 342 |
|
---|
| 343 | </variablelist>
|
---|
| 344 |
|
---|
| 345 | </sect2>
|
---|
[f45b1953] | 346 |
|
---|
| 347 | </sect1>
|
---|