source: postlfs/filesystems/xfsprogs.xml@ eef74ab

10.1 11.0 lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since eef74ab was eef74ab, checked in by Bruce Dubbs <bdubbs@…>, 7 months ago

Tags for postlfs, general libraries, and programming

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24259 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY xfsprogs-download-http "&kernel-dl;/linux/utils/fs/xfs/xfsprogs/xfsprogs-&xfsprogs-version;.tar.xz">
8 <!ENTITY xfsprogs-download-ftp " ">
9 <!ENTITY xfsprogs-md5sum "f4156af67a0e247833be88efaa2869f9">
10 <!ENTITY xfsprogs-size "1.2 MB">
11 <!ENTITY xfsprogs-buildsize "57 MB">
12 <!ENTITY xfsprogs-time "0.2 SBU (Using parallelism=4)">
13]>
14
15<sect1 id="xfsprogs" xreflabel="xfsprogs-&xfsprogs-version;">
16 <?dbhtml filename="xfsprogs.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>xfsprogs-&xfsprogs-version;</title>
24
25 <indexterm zone="xfsprogs">
26 <primary sortas="a-xfsprogs">xfsprogs</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to xfsprogs</title>
31
32 <para>
33 The <application>xfsprogs</application> package contains
34 administration and debugging tools for the XFS file system.
35 </para>
36
37 &lfs101_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&xfsprogs-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&xfsprogs-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &xfsprogs-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &xfsprogs-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &xfsprogs-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &xfsprogs-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">xfsprogs Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="inih"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="icu"/> (for unicode name scanning in xfs_scrub)
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/xfs"/></para>
87
88 </sect2>
89
90 <sect2 role="kernel" id="xfsprogs-kernel">
91 <title>Kernel Configuration</title>
92
93 <para>
94 Enable the following options in the kernel configuration
95 and recompile the kernel:
96 </para>
97
98<screen><literal>File systems ---&gt;
99 &lt;*/M&gt; XFS filesystem support [CONFIG_XFS_FS]</literal></screen>
100
101 <indexterm zone="xfsprogs xfsprogs-kernel">
102 <primary sortas="d-xfs">XFS Programs</primary>
103 </indexterm>
104
105 </sect2>
106
107 <sect2 role="installation">
108 <title>Installation of xfsprogs</title>
109
110 <para>
111 Install <application>xfsprogs</application> by running the following
112 commands:
113 </para>
114
115 <screen><userinput>make DEBUG=-DNDEBUG \
116 INSTALL_USER=root \
117 INSTALL_GROUP=root</userinput></screen>
118
119 <para>
120 This package does not come with a test suite.
121 </para>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make PKG_DOC_DIR=/usr/share/doc/xfsprogs-&xfsprogs-version; install &amp;&amp;
128make PKG_DOC_DIR=/usr/share/doc/xfsprogs-&xfsprogs-version; install-dev &amp;&amp;
129
130rm -rfv /usr/lib/libhandle.a &amp;&amp;
131rm -rfv /lib/libhandle.{a,la,so} &amp;&amp;
132ln -sfv ../../lib/libhandle.so.1 /usr/lib/libhandle.so</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para>
140 <command>make DEBUG=-DNDEBUG</command>: Turns off debugging
141 symbols.
142 </para>
143
144 <para>
145 <parameter>INSTALL_USER=root INSTALL_GROUP=root</parameter>: This
146 sets the owner and group of the installed files.
147 </para>
148
149 <para>
150 <option>OPTIMIZER="..."</option>: Adding this parameter to
151 the end of the <command>make</command> command overrides the
152 default optimization settings.
153 </para>
154
155 </sect2>
156
157 <sect2 role="content">
158 <title>Contents</title>
159
160 <segmentedlist>
161 <segtitle>Installed Programs</segtitle>
162 <segtitle>Installed Libraries</segtitle>
163 <segtitle>Installed Directories</segtitle>
164
165 <seglistitem>
166 <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_copy, xfs_db,
167 xfs_estimate, xfs_freeze, xfs_fsr, xfs_growfs, xfs_info, xfs_io,
168 xfs_logprint, xfs_mdrestore, xfs_metadump, xfs_mkfile, xfs_ncheck,
169 xfs_quota, xfs_repair, xfs_rtcp, xfs_scrub, xfs_scrub_all,
170 and xfs_spaceman</seg>
171 <seg>libhandle.so</seg>
172 <seg>/usr/include/xfs,
173 /usr/lib/xfsprogs, and
174 /usr/share/doc/xfsprogs-&xfsprogs-version;</seg>
175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="fsck.xfs">
184 <term><command>fsck.xfs</command></term>
185 <listitem>
186 <para>
187 simply exits with a zero status, since XFS
188 partitions are checked at mount time
189 </para>
190 <indexterm zone="xfsprogs fsck.xfs">
191 <primary sortas="b-fsck.xfs">fsck.xfs</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="mkfs.xfs">
197 <term><command>mkfs.xfs</command></term>
198 <listitem>
199 <para>
200 constructs an XFS file system
201 </para>
202 <indexterm zone="xfsprogs mkfs.xfs">
203 <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="xfs_admin">
209 <term><command>xfs_admin</command></term>
210 <listitem>
211 <para>
212 changes the parameters of an XFS file system
213 </para>
214 <indexterm zone="xfsprogs xfs_admin">
215 <primary sortas="b-xfs_admin">xfs_admin</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="xfs_bmap">
221 <term><command>xfs_bmap</command></term>
222 <listitem>
223 <para>
224 prints block mapping for an XFS file
225 </para>
226 <indexterm zone="xfsprogs xfs_bmap">
227 <primary sortas="b-xfs_bmap">xfs_bmap</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="xfs_copy">
233 <term><command>xfs_copy</command></term>
234 <listitem>
235 <para>
236 copies the contents of an XFS file system
237 to one or more targets in parallel
238 </para>
239 <indexterm zone="xfsprogs xfs_copy">
240 <primary sortas="b-xfs_copy">xfs_copy</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="xfs_estimate">
246 <term><command>xfs_estimate</command></term>
247 <listitem>
248 <para>
249 for each directory argument, estimates the space that directory
250 would take if it were copied to an XFS filesystem
251 (does not cross mount points)
252 </para>
253 <indexterm zone="xfsprogs xfs_estimate">
254 <primary sortas="b-xfs_estimate">xfs_estimate</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258
259 <varlistentry id="xfs_db">
260 <term><command>xfs_db</command></term>
261 <listitem>
262 <para>
263 is used to debug an XFS file system
264 </para>
265 <indexterm zone="xfsprogs xfs_db">
266 <primary sortas="b-xfs_db">xfs_db</primary>
267 </indexterm>
268 </listitem>
269 </varlistentry>
270
271 <varlistentry id="xfs_freeze">
272 <term><command>xfs_freeze</command></term>
273 <listitem>
274 <para>
275 suspends access to an XFS file system
276 </para>
277 <indexterm zone="xfsprogs xfs_freeze">
278 <primary sortas="b-xfs_freeze">xfs_freeze</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="xfs_fsr">
284 <term><command>xfs_fsr</command></term>
285 <listitem>
286 <para>
287 applicable only to XFS filesystems, improves the organization of
288 mounted filesystems, the reorganization algorithm operates on one
289 file at a time, compacting or othewise improving the layout of the
290 file extents (contiguous blocks of file data)
291 </para>
292 <indexterm zone="xfsprogs xfs_fsr">
293 <primary sortas="b-xfs_fsr">xfs_fsr</primary>
294 </indexterm>
295 </listitem>
296 </varlistentry>
297
298 <varlistentry id="xfs_growfs">
299 <term><command>xfs_growfs</command></term>
300 <listitem>
301 <para>
302 expands an XFS file system
303 </para>
304 <indexterm zone="xfsprogs xfs_growfs">
305 <primary sortas="b-xfs_growfs">xfs_growfs</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 <varlistentry id="xfs_info">
311 <term><command>xfs_info</command></term>
312 <listitem>
313 <para>
314 is equivalent to invoking <command>xfs_growfs</command>, but
315 specifying that no change to the file system is to be made
316 </para>
317 <indexterm zone="xfsprogs xfs_info">
318 <primary sortas="b-xfs_info">xfs_info</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="xfs_io">
324 <term><command>xfs_io</command></term>
325 <listitem>
326 <para>
327 is a debugging tool like <command>xfs_db</command>, but is
328 aimed at examining the regular file I/O path rather than the raw
329 XFS volume itself
330 </para>
331 <indexterm zone="xfsprogs xfs_io">
332 <primary sortas="b-xfs_io">xfs_io</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="xfs_logprint">
338 <term><command>xfs_logprint</command></term>
339 <listitem>
340 <para>
341 prints the log of an XFS file system
342 </para>
343 <indexterm zone="xfsprogs xfs_logprint">
344 <primary sortas="b-xfs_logprint">xfs_logprint</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="xfs_mdrestore">
350 <term><command>xfs_mdrestore</command></term>
351 <listitem>
352 <para>
353 restores an XFS metadump image to a filesystem image
354 </para>
355 <indexterm zone="xfsprogs xfs_mdrestore">
356 <primary sortas="b-xfs_mdrestore">xfs_mdrestore</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="xfs_metadump">
362 <term><command>xfs_metadump</command></term>
363 <listitem>
364 <para>
365 copies XFS filesystem metadata to a file
366 </para>
367 <indexterm zone="xfsprogs xfs_metadump">
368 <primary sortas="b-xfs_metadump">xfs_metadump</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="xfs_mkfile">
374 <term><command>xfs_mkfile</command></term>
375 <listitem>
376 <para>
377 creates an XFS file, padded with zeroes by default
378 </para>
379 <indexterm zone="xfsprogs xfs_mkfile">
380 <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
381 </indexterm>
382 </listitem>
383 </varlistentry>
384
385 <varlistentry id="xfs_ncheck">
386 <term><command>xfs_ncheck</command></term>
387 <listitem>
388 <para>
389 generates pathnames from inode numbers for an
390 XFS file system
391 </para>
392 <indexterm zone="xfsprogs xfs_ncheck">
393 <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="xfs_quota">
399 <term><command>xfs_quota</command></term>
400 <listitem>
401 <para>
402 is a utility for reporting and editing various
403 aspects of filesystem quota
404 </para>
405 <indexterm zone="xfsprogs xfs_quota">
406 <primary sortas="b-xfs_quota">xfs_quota</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="xfs_repair">
412 <term><command>xfs_repair</command></term>
413 <listitem>
414 <para>
415 repairs corrupt or damaged XFS file systems
416 </para>
417 <indexterm zone="xfsprogs xfs_repair">
418 <primary sortas="b-xfs_repair">xfs_repair</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="xfs_rtcp">
424 <term><command>xfs_rtcp</command></term>
425 <listitem>
426 <para>
427 copies a file to the real-time partition on an
428 XFS file system
429 </para>
430 <indexterm zone="xfsprogs xfs_rtcp">
431 <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="xfs_scrub">
437 <term><command>xfs_scrub</command></term>
438 <listitem>
439 <para>
440 checks and repairs the contents of a mounted
441 XFS file system
442 </para>
443 <indexterm zone="xfsprogs xfs_scrub">
444 <primary sortas="b-xfs_scrub">xfs_scrub</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
449 <varlistentry id="xfs_scrub_all">
450 <term><command>xfs_scrub_all</command></term>
451 <listitem>
452 <para>
453 scrubs all mounted XFS file systems
454 </para>
455 <indexterm zone="xfsprogs xfs_scrub_all">
456 <primary sortas="b-xfs_scrub_all">xfs_scrub_all</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="xfs_spaceman">
462 <term><command>xfs_spaceman</command></term>
463 <listitem>
464 <para>
465 reports and controls free space usage in an
466 XFS file system
467 </para>
468 <indexterm zone="xfsprogs xfs_spaceman">
469 <primary sortas="b-xfs_spaceman">xfs_spaceman</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="libhandle">
475 <term><filename class="libraryfile">libhandle.so</filename></term>
476 <listitem>
477 <para>
478 contains XFS-specific functions that provide a way to perform
479 certain filesystem operations without using a file descriptor to
480 access filesystem objects
481 </para>
482 <indexterm zone="xfsprogs libhandle">
483 <primary sortas="c-libhandle">libhandle.so</primary>
484 </indexterm>
485 </listitem>
486 </varlistentry>
487
488 </variablelist>
489
490 </sect2>
491
492</sect1>
Note: See TracBrowser for help on using the repository browser.