source: postlfs/filesystems/xfs.xml@ 8bc3edae

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8bc3edae was 8bc3edae, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Added jfsutils-1.1.15.
Updated to xfsprogs-3.1.7.

Renamed device mapper to lvm2 and changed
the instructions to do a full lvm2 installation.
Moved lvm2 to the filesystems chapter.

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

  • Property mode set to 100644
File size: 12.6 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 "http://mirrors.sunsite.dk/xfs/download/cmd_tars/xfsprogs_&xfsprogs-version;-1.tar.gz"> -->
8 <!ENTITY xfsprogs-download-http "&files-anduin;/sources/xfsprogs_&xfsprogs-version;-1.tar.gz">
9 <!-- <!ENTITY xfsprogs-download-ftp "ftp://oss.sgi.com/projects/xfs/download/cmd_tars/xfsprogs_&xfsprogs-version;-1.tar.gz"> -->
10 <!ENTITY xfsprogs-download-ftp " ">
11 <!ENTITY xfsprogs-md5sum "049cf9873794ea49d0bb3f12d45748a4">
12 <!ENTITY xfsprogs-size "1.3 MB">
13 <!ENTITY xfsprogs-buildsize "36 MB">
14 <!ENTITY xfsprogs-time "0.5 SBU">
15]>
16
17<sect1 id="xfs" xreflabel="xfs-&xfsprogs-version;">
18 <?dbhtml filename="xfsfs.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>xfsprogs-&xfsprogs-version;</title>
26
27 <indexterm zone="xfs">
28 <primary sortas="a-XFS">XFS</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to xfsprogs</title>
33
34 <para>The <application>xfsprogs</application> package contains administration
35 and debugging tools for the XFS file system.</para>
36
37 &lfs70_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&xfsprogs-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&xfsprogs-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &xfsprogs-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &xfsprogs-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &xfsprogs-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &xfsprogs-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <caution><para>The XFS developers regularly remove the current
62 package when a new package is available. Unfortunately, this has led to
63 severe incompatibilities, including
64 <ulink url="http://bugs.debian.org/465737">unmountable filesystems</ulink>,
65 due to kernel version requirements in new versions of the package. Using a
66 version not in the book is strongly discouraged. Additional information,
67 is available at the
68 <ulink url="http://oss.sgi.com/projects/xfs/">XFS</ulink> project
69 page.</para></caution>
70
71<!-- For more information on this problem, see this thread on BLFS-Dev
72 http://linuxfromscratch.org/pipermail/blfs-dev/2008-March/018311.html
73-->
74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/xfs"/></para>
76
77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of xfsprogs</title>
81
82 <para>Install <application>xfsprogs</application> by running the following
83 commands:</para>
84
85<screen><userinput>make DEBUG=-DNDEBUG INSTALL_USER=root INSTALL_GROUP=root \
86 LOCAL_CONFIGURE_OPTIONS="--enable-readline=yes"</userinput></screen>
87
88 <para>This package does not come with a test suite.</para>
89
90 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
91
92<screen role="root"><userinput>make install &amp;&amp;
93make install-dev &amp;&amp;
94chmod -v 755 /lib/libhandle.so.1.*</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><command>make DEBUG=-DNDEBUG</command>: Turns off debugging
102 symbols.</para>
103
104 <para><parameter>INSTALL_USER=root INSTALL_GROUP=root</parameter>: This
105 sets the owner and group of the installed files.</para>
106
107 <para><parameter>LOCAL_CONFIGURE_OPTIONS="..."</parameter>: This passes
108 extra configuration options to the <filename>configure</filename> script.
109 The example <parameter>--enable-readline=yes</parameter> parameter
110 enables linking the XFS programs with the
111 <filename class="libraryfile">libreadline.so</filename> library, in order
112 to allow editing interactive commands.</para>
113
114 <para><parameter>OPTIMIZER="..."</parameter>: Adding this parameter to
115 the end of the <command>make</command> command overrides the
116 default optimization settings.</para>
117
118 <para><command>make install-dev</command>: This command installs
119 static XFS libraries, their headers and the corresponding
120 documentation.</para>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directory</segtitle>
131
132 <seglistitem>
133 <seg>fsck.xfs, mkfs.xfs, xfs_admin, xfs_bmap, xfs_check, xfs_copy,
134 xfs_db, xfs_freeze, xfs_growfs, xfs_info, xfs_io, xfs_logprint,
135 xfs_mdrestore, xfs_metadump, xfs_mkfile, xfs_ncheck, xfs_quota,
136 xfs_repair, and xfs_rtcp</seg>
137 <seg>libdisk.a, libhandle.{so,a}, libxcmd.a, libxfs.a, and
138 libxlog.a </seg>
139 <seg>/usr/share/doc/xfsprogs</seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="fsck.xfs">
149 <term><command>fsck.xfs</command></term>
150 <listitem>
151 <para>simply exits with a zero status, since XFS
152 partitions are checked at mount time.</para>
153 <indexterm zone="xfs fsck.xfs">
154 <primary sortas="b-fsck.xfs">fsck.xfs</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="mkfs.xfs">
160 <term><command>mkfs.xfs</command></term>
161 <listitem>
162 <para>constructs an XFS file system.</para>
163 <indexterm zone="xfs mkfs.xfs">
164 <primary sortas="b-mkfs.xfs">mkfs.xfs</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="xfs_admin">
170 <term><command>xfs_admin</command></term>
171 <listitem>
172 <para>changes the parameters of an XFS file system.</para>
173 <indexterm zone="xfs xfs_admin">
174 <primary sortas="b-xfs_admin">xfs_admin</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="xfs_bmap">
180 <term><command>xfs_bmap</command></term>
181 <listitem>
182 <para>prints block mapping for an XFS file.</para>
183 <indexterm zone="xfs xfs_bmap">
184 <primary sortas="b-xfs_bmap">xfs_bmap</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="xfs_check">
190 <term><command>xfs_check</command></term>
191 <listitem>
192 <para>checks XFS file system consistency.</para>
193 <indexterm zone="xfs xfs_check">
194 <primary sortas="b-xfs_check">xfs_check</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="xfs_copy">
200 <term><command>xfs_copy</command></term>
201 <listitem>
202 <para>copies the contents of an XFS file system
203 to one or more targets in parallel.</para>
204 <indexterm zone="xfs xfs_copy">
205 <primary sortas="b-xfs_copy">xfs_copy</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="xfs_db">
211 <term><command>xfs_db</command></term>
212 <listitem>
213 <para>is used to debug an XFS file system.</para>
214 <indexterm zone="xfs xfs_db">
215 <primary sortas="b-xfs_db">xfs_db</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="xfs_freeze">
221 <term><command>xfs_freeze</command></term>
222 <listitem>
223 <para>suspends access to an XFS file system.</para>
224 <indexterm zone="xfs xfs_freeze">
225 <primary sortas="b-xfs_freeze">xfs_freeze</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="xfs_growfs">
231 <term><command>xfs_growfs</command></term>
232 <listitem>
233 <para>expands an XFS file system.</para>
234 <indexterm zone="xfs xfs_growfs">
235 <primary sortas="b-xfs_growfs">xfs_growfs</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="xfs_info">
241 <term><command>xfs_info</command></term>
242 <listitem>
243 <para>is equivalent to invoking <command>xfs_growfs</command>, but
244 specifying that no change to the file system is to be made.</para>
245 <indexterm zone="xfs xfs_info">
246 <primary sortas="b-xfs_info">xfs_info</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="xfs_io">
252 <term><command>xfs_io</command></term>
253 <listitem>
254 <para>is a debugging tool like <command>xfs_db</command>, but is
255 aimed at examining the regular file I/O path rather than the raw
256 XFS volume itself.</para>
257 <indexterm zone="xfs xfs_io">
258 <primary sortas="b-xfs_io">xfs_io</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
263 <varlistentry id="xfs_logprint">
264 <term><command>xfs_logprint</command></term>
265 <listitem>
266 <para>prints the log of an XFS file system.</para>
267 <indexterm zone="xfs xfs_logprint">
268 <primary sortas="b-xfs_logprint">xfs_logprint</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="xfs_mdrestore">
274 <term><command>xfs_mdrestore</command></term>
275 <listitem>
276 <para>restores an XFS metadump image to a filesystem image.</para>
277 <indexterm zone="xfs xfs_mdrestore">
278 <primary sortas="b-xfs_mdrestore">xfs_mdrestore</primary>
279 </indexterm>
280 </listitem>
281 </varlistentry>
282
283 <varlistentry id="xfs_metadump">
284 <term><command>xfs_metadump</command></term>
285 <listitem>
286 <para>copies XFS filesystem metadata to a file.</para>
287 <indexterm zone="xfs xfs_metadump">
288 <primary sortas="b-xfs_metadump">xfs_metadump</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="xfs_mkfile">
294 <term><command>xfs_mkfile</command></term>
295 <listitem>
296 <para>creates an XFS file, padded with zeroes by default.</para>
297 <indexterm zone="xfs xfs_mkfile">
298 <primary sortas="b-xfs_mkfile">xfs_mkfile</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 <varlistentry id="xfs_ncheck">
304 <term><command>xfs_ncheck</command></term>
305 <listitem>
306 <para>generates pathnames from inode numbers for an
307 XFS file system.</para>
308 <indexterm zone="xfs xfs_ncheck">
309 <primary sortas="b-xfs_ncheck">xfs_ncheck</primary>
310 </indexterm>
311 </listitem>
312 </varlistentry>
313
314 <varlistentry id="xfs_quota">
315 <term><command>xfs_quota</command></term>
316 <listitem>
317 <para>is a utility for reporting and editing various
318 aspects of filesystem quota.</para>
319 <indexterm zone="xfs xfs_quota">
320 <primary sortas="b-xfs_quota">xfs_quota</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="xfs_repair">
326 <term><command>xfs_repair</command></term>
327 <listitem>
328 <para>repairs corrupt or damaged XFS file systems.</para>
329 <indexterm zone="xfs xfs_repair">
330 <primary sortas="b-xfs_repair">xfs_repair</primary>
331 </indexterm>
332 </listitem>
333 </varlistentry>
334
335 <varlistentry id="xfs_rtcp">
336 <term><command>xfs_rtcp</command></term>
337 <listitem>
338 <para>copies a file to the real-time partition on an
339 XFS file system.</para>
340 <indexterm zone="xfs xfs_rtcp">
341 <primary sortas="b-xfs_rtcp">xfs_rtcp</primary>
342 </indexterm>
343 </listitem>
344 </varlistentry>
345
346 <varlistentry id="libhandle">
347 <term><filename class='libraryfile'>libhandle.so</filename></term>
348 <listitem>
349 <para>contains XFS-specific functions that provide a way to perform
350 certain filesystem operations without using a file descriptor to
351 access filesystem objects.</para>
352 <indexterm zone="xfs libhandle">
353 <primary sortas="c-libhandle">libhandle.so</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358
359 <!-- FIXME: other libraries are undocumented 20080221 -->
360
361 </variablelist>
362
363 </sect2>
364
365</sect1>
Note: See TracBrowser for help on using the repository browser.