FSCK exit codes.

FSCK is widely used utility for repairing linux file system if you face some issue with installed  filesystem on your server. FSCK can be fired manually and can also set for auto execution so as to check for file consistency.  FSCK is usually fired as a part of system maintenance by most server administrators.
You would be getting following codes as a exit code once FSCK is completed.
Following are numeric code with their explanation :
0 – No errors
1 – File system errors corrected
2 - System should be rebooted
4 - File system errors left uncorrected
8 – Operational error
16 – Usage or syntax error
32 – Fsck canceled by user request
128 - Shared library error.

All above exit code values are returned when multiple file systems are checked OR are the exit codes for each file system that is checked. Such exit codes are useful for all webmasters to know the status of files which has been scanned.

server operator FSCK exit codes.

Posted under Linux cPanel Hosting, Reseller Hosting, cpanel hosting tips

This post was written by MATIC Actuators on February 17, 2009

Tags: , ,