Displaying 1 result from an estimated 1 matches for "mir_pid".
Did you mean:
min_id
2003 Sep 29
1
Fsck (presumably e2fsck) returns exit code 127 on an ext3 file sy stem
...ck (Red Hat Enterprise Linux AS 2.1) returns an exit code 127 on an ext3
file system when run from a shellscript started by cron. Here is the
pertinent part of the script:
...
fsck -p /dev/${BK_SLICE} 1>/dev/null 2>&1
STATUS=$?
if [ ${STATUS} -ne "0" ]
then
echo "${MIR_PID}: file system check of /dev/${BK_SLICE} failed, status
= ${STATUS}" >>${LOG}
...
This is the message that is logged:
25227: file system check of /dev/sdb3 failed, status = 127
According to the man page for fsck, the exit code should be "the sum of the
following conditions":...