Linux "xfs_logprint" Command Line Options and Examples
print the log of an XFS filesystem

xfs_logprint prints the log of an XFS filesystem (see xfs(5)). The device argument is the pathname of the partition or logical volume containing the filesystem. The device can be a regular file if the -f option is used.


Usage:

xfs_logprint [ options ] device






Command Line Options:

-b
Extract and print buffer information. Only used in transactional view.
xfs_logprint -b ...
-c
Attempt to continue when an error is detected.
xfs_logprint -c ...
-C
Copy the log from the filesystem to the file filename. The log itself is not printed.
xfs_logprint -C ...
-d
Dump the log from front to end, printing where each log record is located on disk.
xfs_logprint -d ...
-D
Do not decode anything; just print data.
xfs_logprint -D ...
-l
External log device. Only for those filesystems which use an external log.
xfs_logprint -l ...
-i
Extract and print inode information. Only used in transactional view.
xfs_logprint -i ...
-q
Extract and print quota information. Only used in transactional view.
xfs_logprint -q ...
-n
Do not try and interpret log data; just interpret log header information.
xfs_logprint -n ...
-s
Override any notion of where to start printing.
xfs_logprint -s ...
-t
Print out the transactional view.
xfs_logprint -t ...
-v
Print "overwrite" data.
xfs_logprint -v ...
-V
Prints the version number and exits.
xfs_logprint -V ...