[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 |
|
---|
[99b1c520] | 32 | <para>The <application>XFS</application> package contains administration
|
---|
[152fb77] | 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>
|
---|
[99b1c520] | 63 | <para>If you did not install the
|
---|
[d612b9f] | 64 | <ulink url="&lfs-root;/chapter06/e2fsprogs.html">E2fsprogs</ulink>
|
---|
[99b1c520] | 65 | package in LFS, you must install it, or
|
---|
| 66 | <ulink url="http://pecl.php.net/get/uuid-1.0.tgz">UUID</ulink> before
|
---|
[152fb77] | 67 | proceeding with the installation of <application>XFS</application>.</para>
|
---|
| 68 | </note>
|
---|
| 69 |
|
---|
[99b1c520] | 70 | <para>Install <application>XFS</application> by running the following
|
---|
[152fb77] | 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 |
|
---|
[55329727] | 82 | <sect2 role="commands">
|
---|
| 83 | <title>Command Explanations</title>
|
---|
| 84 |
|
---|
| 85 | <para><command>sed -i 's/autoconf//' Makefile</command>: This command
|
---|
| 86 | disables running <command>autoconf</command> because it is
|
---|
| 87 | unnecessary.</para>
|
---|
| 88 |
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
[152fb77] | 91 | <sect2 role="content">
|
---|
| 92 | <title>Contents</title>
|
---|
| 93 |
|
---|
| 94 | <segmentedlist>
|
---|
| 95 | <segtitle>Installed Programs</segtitle>
|
---|
| 96 | <segtitle>Installed Library</segtitle>
|
---|
| 97 | <segtitle>Installed Directory</segtitle>
|
---|
| 98 |
|
---|
| 99 | <seglistitem>
|
---|
[99b1c520] | 100 | <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
|
---|
| 101 | xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
|
---|
[152fb77] | 102 | xfs_mkfile, xfs_ncheck, xfs_repair, and xfs_rtcp</seg>
|
---|
| 103 | <seg>libhandle.so</seg>
|
---|
| 104 | <seg>/usr/share/doc/xfsprogs</seg>
|
---|
| 105 | </seglistitem>
|
---|
| 106 | </segmentedlist>
|
---|
| 107 |
|
---|
| 108 | <variablelist>
|
---|
| 109 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 110 | <?dbfo list-presentation="list"?>
|
---|
| 111 | <?dbhtml list-presentation="table"?>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="fsck.xfs">
|
---|
| 114 | <term><command>fsck.xfs</command></term>
|
---|
| 115 | <listitem>
|
---|
[99b1c520] | 116 | <para>simply exits with a zero status, since XFS
|
---|
[152fb77] | 117 | partitions are checked at mount time.</para>
|
---|
| 118 | <indexterm zone="xfs fsck.xfs">
|
---|
| 119 | <primary sortas="b-fsck.xfs">fsck.xfs</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="mkfs.xfs">
|
---|
| 125 | <term><command>mkfs.xfs</command></term>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>constructs an XFS file system.</para>
|
---|
| 128 | <indexterm zone="xfs mkfs.xfs">
|
---|
| 129 | <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="xfs_admin">
|
---|
| 135 | <term><command>xfs_admin</command></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>changes the parameters of an XFS file system.</para>
|
---|
| 138 | <indexterm zone="xfs xfs_admin">
|
---|
| 139 | <primary sortas="b-xfs_admin">xfs_admin</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="xfs_bmap">
|
---|
| 145 | <term><command>xfs_bmap</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>prints block mapping for an XFS file.</para>
|
---|
| 148 | <indexterm zone="xfs xfs_bmap">
|
---|
| 149 | <primary sortas="b-xfs_bmap">xfs_bmap</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="xfs_check">
|
---|
| 155 | <term><command>xfs_check</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>checks XFS file system consistency.</para>
|
---|
| 158 | <indexterm zone="xfs xfs_check">
|
---|
| 159 | <primary sortas="b-xfs_check">xfs_check</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="xfs_copy">
|
---|
| 165 | <term><command>xfs_copy</command></term>
|
---|
| 166 | <listitem>
|
---|
[99b1c520] | 167 | <para>copies the contents of an XFS file system
|
---|
[152fb77] | 168 | to one or more targets in parallel.</para>
|
---|
| 169 | <indexterm zone="xfs xfs_copy">
|
---|
| 170 | <primary sortas="b-xfs_copy">xfs_copy</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="xfs_db">
|
---|
| 176 | <term><command>xfs_db</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>is used to debug an XFS file system.</para>
|
---|
| 179 | <indexterm zone="xfs xfs_db">
|
---|
| 180 | <primary sortas="b-xfs_db">xfs_db</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="xfs_freeze">
|
---|
| 186 | <term><command>xfs_freeze</command></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>suspends access to an XFS file system.</para>
|
---|
| 189 | <indexterm zone="xfs xfs_freeze">
|
---|
| 190 | <primary sortas="b-xfs_freeze">xfs_freeze</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="xfs_growfs">
|
---|
| 196 | <term><command>xfs_growfs</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>expands an XFS file system.</para>
|
---|
| 199 | <indexterm zone="xfs xfs_growfs">
|
---|
| 200 | <primary sortas="b-xfs_growfs">xfs_growfs</primary>
|
---|
| 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="xfs_info">
|
---|
| 206 | <term><command>xfs_info</command></term>
|
---|
| 207 | <listitem>
|
---|
[99b1c520] | 208 | <para>is equivalent to invoking <command>xfs_growfs</command>, but
|
---|
[152fb77] | 209 | specifying that no change to the file system is to be made.</para>
|
---|
| 210 | <indexterm zone="xfs xfs_info">
|
---|
| 211 | <primary sortas="b-xfs_info">xfs_info</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="xfs_io">
|
---|
| 217 | <term><command>xfs_io</command></term>
|
---|
| 218 | <listitem>
|
---|
[99b1c520] | 219 | <para>is a debugging tool like <command>xfs_db</command>, but is
|
---|
| 220 | aimed at examining the regular file I/O path rather than the raw
|
---|
[152fb77] | 221 | XFS volume itself.</para>
|
---|
| 222 | <indexterm zone="xfs xfs_io">
|
---|
| 223 | <primary sortas="b-xfs_io">xfs_io</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="xfs_logprint">
|
---|
| 229 | <term><command>xfs_logprint</command></term>
|
---|
| 230 | <listitem>
|
---|
| 231 | <para>prints the log of an XFS file system.</para>
|
---|
| 232 | <indexterm zone="xfs xfs_logprint">
|
---|
| 233 | <primary sortas="b-xfs_logprint">xfs_logprint</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="xfs_mkfile">
|
---|
| 239 | <term><command>xfs_mkfile</command></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>creates an XFS file, padded with zeroes by default.</para>
|
---|
| 242 | <indexterm zone="xfs xfs_mkfile">
|
---|
| 243 | <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
|
---|
| 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | <varlistentry id="xfs_ncheck">
|
---|
| 249 | <term><command>xfs_ncheck</command></term>
|
---|
| 250 | <listitem>
|
---|
[99b1c520] | 251 | <para>generates pathnames from inode numbers for an
|
---|
[152fb77] | 252 | XFS file system.</para>
|
---|
| 253 | <indexterm zone="xfs xfs_ncheck">
|
---|
| 254 | <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
|
---|
| 255 | </indexterm>
|
---|
| 256 | </listitem>
|
---|
| 257 | </varlistentry>
|
---|
| 258 |
|
---|
| 259 | <varlistentry id="xfs_repair">
|
---|
| 260 | <term><command>xfs_repair</command></term>
|
---|
| 261 | <listitem>
|
---|
| 262 | <para>repairs corrupt or damaged XFS file systems.</para>
|
---|
| 263 | <indexterm zone="xfs xfs_repair">
|
---|
| 264 | <primary sortas="b-xfs_repair">xfs_repair</primary>
|
---|
| 265 | </indexterm>
|
---|
| 266 | </listitem>
|
---|
| 267 | </varlistentry>
|
---|
| 268 |
|
---|
| 269 | <varlistentry id="xfs_rtcp">
|
---|
| 270 | <term><command>xfs_rtcp</command></term>
|
---|
| 271 | <listitem>
|
---|
[99b1c520] | 272 | <para>copies a file to the real-time partition on an
|
---|
[152fb77] | 273 | XFS file system.</para>
|
---|
| 274 | <indexterm zone="xfs xfs_rtcp">
|
---|
| 275 | <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
|
---|
| 276 | </indexterm>
|
---|
| 277 | </listitem>
|
---|
| 278 | </varlistentry>
|
---|
| 279 |
|
---|
| 280 | <varlistentry id="libhandle">
|
---|
| 281 | <term><filename class='libraryfile'>libhandle.so</filename></term>
|
---|
| 282 | <listitem>
|
---|
[99b1c520] | 283 | <para>contains functions to map filesystem handles to a
|
---|
[152fb77] | 284 | corresponding open file descriptor for that filesystem.</para>
|
---|
| 285 | <indexterm zone="xfs libhandle">
|
---|
| 286 | <primary sortas="c-libhandle">libhandle.so</primary>
|
---|
| 287 | </indexterm>
|
---|
| 288 | </listitem>
|
---|
| 289 | </varlistentry>
|
---|
| 290 |
|
---|
| 291 | </variablelist>
|
---|
| 292 |
|
---|
| 293 | </sect2>
|
---|
[f45b1953] | 294 |
|
---|
| 295 | </sect1>
|
---|