fatal_error(ctx, 0);
}
retval = e2fsck_run_ext3_journal(ctx);
- if (retval) {
+ if (retval == EFSBADCRC) {
+ log_out(ctx, _("Journal checksum error "
+ "found in %s\n"),
+ ctx->device_name);
+ } else if (retval == EFSCORRUPTED) {
+ log_out(ctx, _("Journal corrupted in %s\n"),
+ ctx->device_name);
+ } else if (retval) {
com_err(ctx->program_name, retval,
_("while recovering journal of %s"),
ctx->device_name);
- if ((retval != EFSBADCRC) && (retval != EFSCORRUPTED))
- fatal_error(ctx, 0);
}
ext2fs_close_free(&ctx->fs);
ctx->flags |= E2F_FLAG_RESTARTED;
test_filesys: recovering journal
-../e2fsck/e2fsck: Input/output error while recovering ext3 journal of test_filesys
-
-test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
-
-test_filesys: ********** WARNING: Filesystem still has errors **********
-
-Exit status is 12
-test_filesys: recovering journal
+Journal checksum error found in test_filesys
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+test_filesys: 12/128 files (8.3% non-contiguous), 1093/2048 blocks
+Exit status is 1
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
test_filesys: recovering journal
JBD2: Invalid checksum recovering block 1090 in log
-../e2fsck/e2fsck: Input/output error while recovering ext3 journal of test_filesys
-
-test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
-
-test_filesys: ********** WARNING: Filesystem still has errors **********
-
-Exit status is 12
-test_filesys: recovering journal
+Journal checksum error found in test_filesys
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+test_filesys: 12/128 files (8.3% non-contiguous), 1093/2048 blocks
+Exit status is 1
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
test_filesys: recovering journal
-../e2fsck/e2fsck: Invalid argument while recovering ext3 journal of test_filesys
-
-test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
-
-test_filesys: ********** WARNING: Filesystem still has errors **********
-
-Exit status is 12
+../e2fsck/e2fsck: Invalid argument while recovering journal of test_filesys
+Pass 1: Checking inodes, blocks, and sizes
+Pass 2: Checking directory structure
+Pass 3: Checking directory connectivity
+Pass 4: Checking reference counts
+Pass 5: Checking group summary information
+test_filesys: 11/512 files (9.1% non-contiguous), 1066/2048 blocks
+Exit status is 1
-test_filesys: recovering journal
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
else
echo "$test_name: Missing test script $default_script!"
fi
- [ -f $test_name.failed ] && cat $test_name.failed
fi
if [ "$SKIP_UNLINK" != "true" ] ; then