Provided by: ocfs2-tools_1.1.5-0ubuntu5_i386
debugfs.ocfs2 - OCFS2 file system debugger.
debugfs.ocfs2 [-f cmdfile] [-V] [-w] [-?] [device]
The debugfs.ocfs2 is an interactive file system debugger. It can be
used to examine the state of an OCFS2 filesystem. device is the special
file corresponding the device containing the OCFS2 filesystem (e.g
-f, --file cmdfile
Causes debugfs.ocfs2 to read in commands from cmdfile and
execute them. It exits after all the commands are executed.
Specifies that the filesystem should be opened in read-write
mode. Without this option, the filesystem is opened in the
Print version information and exit.
Displays help and exit.
Many debugfs.ocfs2 commands take a filespec as an argument to specify
an inode (as opposed to a pathname) in the filesystem which is
currently opened by debugfs.ocfs2. The filespec argument may be
specified in two forms. The first form is an inode number surrounded by
angle brackets, e.g., <32>. The second form is a pathname; if the
pathname is prefixed by a forward slash (’/’), then it is interpreted
relative to the root of the filesystem which is currently opened by
debugfs.ocfs2. If not, the path is interpreted relative to the current
working directory as maintained by debugfs.ocfs2, which can be modified
using the command cd. If the pathname is prefixed by a double forward
slash (’//’), then it is interpreted relative to the root of the system
directory of the filesystem opened by debugfs.ocfs2.
This is a list of the commands which debugfs.ocfs2 supports.
Dump the contents of inode filespec to stdout.
Change the current working directory to filespec.
Change the root directory to be the directory filespec.
close Close the currently opened filesystem.
curdev Show the currently open device.
dump [-p] filespec outfile
Dump the contents of the inode filespec to the output file
outfile. If the -p is given, set the owner, group, timestamps
and permissions information on outfile to match those of
Display the contents of the extent structure at block#.
Display the contents of the group structure at block#.
Print the list of commands understood by debugfs.ocfs2.
Change the current working directory of the debugfs.ocfs2
process to the directory on the native filesystem.
Display the contents of the journal for node node#.
ls [-l] filespec
Print the listing of the files in the directory filespec. The
-l flag will list files in the long format.
Open the filesystem on device.
rdump [-v] filespec outdir
Recursively dump directory filespec and all its contents
(including regular files, symbolic links and other directories)
into the outdir which should be an existing directory on the
Display the contents of the slotmap system file.
Display the contents of the inode structure of the inode
stats Display the contents of the super block.
This tool has been modelled after debugfs, a debugging tool for ext2.
mkfs.ocfs2(8) fsck.ocfs2(8) tunefs.ocfs2(8) mounted.ocfs2(8)
Copyright © 2004, 2005 Oracle. All rights reserved.