| You are here: | About>Computing & Technology>Focus on Linux |
![]() | Focus on Linux |
NAMEfsck.jfs - initiate replay of the JFS transaction log, and check and repair a JFS formatted deviceSYNOPSISfsck.jfs [ -afnopvV ] deviceDESCRIPTIONfsck.jfs 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). fsck.jfs must be run as root. WARNINGfsck.jfs should only be used to check an unmounted file system or a file system that is mounted READ ONLY. Using fsck.jfs to check a file system mounted other than READ ONLY could seriously damage the file system! OPTIONSIf no options are selected, the default is -p.
EXAMPLESCheck the 3rd partition on the 2nd hard disk, print extended information to stdout, replay the transaction log, force complete fsck.jfs 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:
EXIT CODEThe exit code returned by fsck.jfs represents one of the following conditions:
REPORTING BUGSIf you find a bug in JFS or fsck.jfs, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site: http://oss.software.ibm.com/jfs Please send as much pertinent information as possible, including the complete output of running fsck.jfs with the -v option on the JFS device. SEE ALSOfsck(8), mkfs.jfs(8), logdump(8), logredo(8), xchklog(8), xchkdmp(8), xpeek(8)Important: Use the man command (% man) to see how a command is used on your particular computer. |
|
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


