jfs_fsck(8) | JFS utility - file system check | jfs_fsck(8) |
jfs_fsck - initiate replay of the JFS transaction log, and check and repair a JFS formatted device
jfs_fsck [ -afnpvV ] [ -j journal_device ] [ --omit_journal_replay ] [ --replay_journal_only ] device
jfs_fsck is used to replay the JFS transaction log, check a JFS formatted device for errors, and fix any errors found.
device is the special file name corresponding to the actual device to be checked (e.g. /dev/hdb1).
jfs_fsck must be run as root.
jfs_fsck should only be used to check an unmounted file system or a file system that is mounted READ ONLY. Using jfs_fsck to check a file system mounted other than READ ONLY could seriously damage the file system!
If no options are selected, the default is -p.
Check the 3rd partition on the 2nd hard disk, print extended information to stdout, replay the transaction log, force complete jfs_fsck checking, and give permission to repair all errors:
Check the 5th partition on the 1st hard disk, and report, but do not repair, any errors:
The exit code returned by jfs_fsck represents one of the following conditions:
If you find a bug in JFS or jfs_fsck, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:
http://jfs.sourceforge.net/
Please send as much pertinent information as possible, including the complete output of running jfs_fsck with the -v option on the JFS device.
fsck(8), jfs_mkfs(8), jfs_fscklog(8), jfs_tune(8), jfs_logdump(8), jfs_debugfs(8)
Barry Arndt (barndt@us.ibm.com) William Braswell, Jr.
jfs_fsck is maintained by IBM.
See the JFS project web site for more details: http://jfs.sourceforge.net/
October 29, 2002 |