~wb-munzinger/+junk/ocfs2-tools

« back to all changes in this revision

Viewing changes to debugfs.ocfs2/debugfs.ocfs2.8

  • Committer: Bazaar Package Importer
  • Author(s): Andres Rodriguez
  • Date: 2011-01-14 12:46:49 UTC
  • mfrom: (1.1.10 upstream) (0.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20110114124649-vbe5qz211f3zxwuf
Tags: 1.6.3-1ubuntu1
* Merge from debian unstable (LP: #703008).  Remaining changes:
  - Fix configure tests for ld --as-needed.
  - Fix build failure with ld --no-add-needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "debugfs.ocfs2" "8" "April 2009" "Version 1.4.4" "OCFS2 Manual Pages"
 
1
.TH "debugfs.ocfs2" "8" "September 2010" "Version 1.6.3" "OCFS2 Manual Pages"
2
2
.SH "NAME"
3
3
debugfs.ocfs2 \- OCFS2 file system debugger.
4
4
.SH "SYNOPSIS"
87
87
number and can be decoded using the \fIdecode\fR command or used directly
88
88
in place of an inode number in commands requiring a \fIfilespec\fR. Like
89
89
inode numbers, locknames need to be enclosed in angle brackets, e.g.,
90
 
<M000000000000000040c40c044069cf>. To generate a lockname for a given object,
91
 
use the \fIencode\fR command.
 
90
<M000000000000000040c40c044069cf>. Use the \fIencode\fR command to generate
 
91
all possible locknames for an object.
92
92
 
93
93
.SH "COMMANDS"
94
94
This is a list of the commands which debugfs.ocfs2 supports.
147
147
those of \fIfilespec\fR.
148
148
 
149
149
.TP
 
150
\fIdx_dump filespec\fR
 
151
Display the indexed directory information for the given directory.
 
152
 
 
153
.TP
 
154
\fIdx_leaf <block#>\fR
 
155
Display the contents of the given indexed directory leaf block.
 
156
 
 
157
.TP
 
158
\fIdx_root <block#>\fR
 
159
Display the contents of the given indexed directory root block.
 
160
 
 
161
.TP
 
162
\fIdx_space filespec\fR
 
163
Display the directory free space list.
 
164
 
 
165
.TP
150
166
\fIencode filespec\fR
151
167
Display the lockname for the \fIfilespec\fR.
152
168
 
160
176
command does not display all the hard-linked paths for the inode.
161
177
 
162
178
.TP
 
179
\fIfrag filespec\fR
 
180
Display the inode's number of extents to clusters ratio.
 
181
 
 
182
.TP
163
183
\fIfs_locks [-f <file>] [-l] [-B] [<lockname(s)>]...\fR
164
184
Display the status of all locks known by the file system. This command expects
165
185
the debugfs filesystem to be mounted as \fImount -t debugfs debugfs /sys/kernel/debug\fR.
223
243
filesystem.
224
244
 
225
245
.TP
 
246
\fIrefcount [\-e] filespec\fR
 
247
Display the refcount block, and optionally its tree, of the specified inode.
 
248
 
 
249
.TP
226
250
\fIslotmap\fR
227
251
Display the contents of the \fIslotmap\fR system file.
228
252
 
229
253
.TP
230
 
\fIstat filespec\fR
231
 
Display the contents of the inode structure for the \fIfilespec\fR.
 
254
\fIstat [\-t|\-T] filespec\fR
 
255
Display the contents of the inode structure for the \fIfilespec\fR.  The
 
256
\fI-t\fR ("traverse") option selects traversal of the inode's metadata.
 
257
The extent tree, chain list, or other extra metadata will be dumped.  This
 
258
is the default.  The \fI-T\fR option turns off traversal to reduce the I/O
 
259
required when basic inode information is needed.
232
260
 
233
261
.TP
234
262
\fIstats [\-h] [\-s backup\-number]\fR
255
283
Oracle Corporation
256
284
 
257
285
.SH "COPYRIGHT"
258
 
Copyright \(co 2004, 2009 Oracle. All rights reserved.
 
286
Copyright \(co 2004, 2010 Oracle. All rights reserved.