📄 jfs_fsck.8
字号:
.TH jfs_fsck 8 "October 29, 2002" " " "JFS utility - file system check".SH NAME.B jfs_fsck\- initiate replay of the JFS transaction log, and check and repair a JFS formatted device.SH SYNOPSIS.B jfs_fsck[.B -afnpvV] [.B -j.I journal_device] [.B --omit_journal_replay] [.B --replay_journal_only].I device.SH DESCRIPTION.PP.B jfs_fsckis used to replay the JFS transaction log, check a JFS formatted device for errors, and fix anyerrors found..PP.I deviceis the special file name corresponding to the actual device to be checked.RB (e.g. " /dev/hdb1" )..PP.B jfs_fsckmust be run as root..SH WARNING.PP.B jfs_fsckshould only be used to check an.B unmountedfile system or a file system that is mounted READ ONLY. Using.B jfs_fsckto check a file system mounted other than READ ONLY could seriously damage the file system!.SH OPTIONS.PIf no options are selected, the default is.BR "\-p"..TP.B \-aAutocheck mode - Replay the transaction log. Do not continue fsck processingunless the aggregate state is dirty or the log replay failed. Functionally equivalent to.BR "\-p".Autocheck mode is typically the default mode used when.B jfs_fsckis called at boot time..\" .TP.\" .B \-b.\" *currently unused* Perform Bad Block List utility processing only..\" .TP.\" .B \-c.\" After a replay of the transaction log completes successfully, only continue fsck processing if the aggregate state is dirty..TP.B \-fReplay the transaction log and force checking even if the file system appears clean. Repair all problems automatically..TP.BI \-j " journal_device"Specify the journal device..TP.B \-nOpen the file system read only. Do not replay the transaction log. Report errors, but do not repair them..TP.B \--omit_journal_replayOmit the replay of the transaction log. This option should not be used unless as a last resort (i.e.the log has been severely corrupted and replaying it causes further problems)..TP.B \-pAutomatically repair ("preen") the file system. Replay the transaction log. Do not continue fsck processingunless the aggregate state is dirty or the log replay failed. Functionally equivalent to.BR "\-a"..TP.B \--replay_journal_onlyOnly replay the transaction log. Do not continue with a full file system check if the replay fails orif the file system is still dirty even after a journal replay. In general, this option should only beused for debugging purposes as it could leave the file system in an unmountable state. This optioncannot be used with.BR -f ",".BR -n ", or".BR --omit_journal_replay ".".TP.B \-vVerbose messaging - print details and debug statements to stdout..TP.B \-VPrint version information and exit (regardless of any other chosen options)..SH EXAMPLES.LPCheck 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:.IP.B jfs_fsck \-v \-f /dev/hdb3.IP.LPCheck the 5th partition on the 1st hard disk, and report, but do not repair, any errors:.IP.B jfs_fsck \-n /dev/hda5.IP.SH EXIT CODE.PThe exit code returned by.B jfs_fsckrepresents one of the following conditions:.TP.B \ 0No errors.TP.B \ 1File system errors corrected and/or transaction log replayed successfully.TP.B \ 2File system errors corrected, system should be rebooted if file system was mounted.TP.B \ 4File system errors left uncorrected.TP.B \ 8Operational error.TP.B \ 16Usage or syntax error.TP.B \ 128Shared library error.SH "REPORTING BUGS".PPIf you find a bug in.B JFSor.BR jfs_fsck ,please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:.nfhttp://jfs.sourceforge.net/.fi.PPPlease send as much pertinent information as possible, including the complete output of running.B jfs_fsckwith the.B \-voption on the JFS device..SH SEE ALSO.BR fsck (8),.BR jfs_mkfs (8),.BR jfs_fscklog (8),.BR jfs_tune (8),.BR jfs_logdump (8),.BR jfs_debugfs (8).SH AUTHORS.nfBarry Arndt (barndt@us.ibm.com)William Braswell, Jr..fi.B jfs_fsckis maintained by IBM..nfSee the JFS project web site for more details:http://jfs.sourceforge.net/.fi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -