diff options
author | Kalpak Shah <kalpak@clusterfs.com> | 2007-06-21 11:59:06 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2007-06-21 11:59:06 -0400 |
commit | 5107d0d196b9c51cf18380b6996b1074afe51df2 (patch) | |
tree | 1f02cce3c9cefacaaf7d1613a336a24dc6e03607 /tests/f_miss_journal | |
parent | 56d1236726d8e4624d2f3a2f4713864c1e66bb40 (diff) | |
download | e2fsprogs-5107d0d196b9c51cf18380b6996b1074afe51df2.tar.gz |
Recreate journal that had been removed previously due to corruption
If the journal had been removed because it was corrupt, the
E2F_FLAG_JOURNAL_INODE flag will be set. If this flag is set, then
recreate the filesystem after checking the filesystem.
Signed-off-by: Kalpak Shah <kalpak@clusterfs.com>
Signed-off-by: Andreas Dilger <adilger@clusterfs.com>
Diffstat (limited to 'tests/f_miss_journal')
-rw-r--r-- | tests/f_miss_journal/expect.1 | 8 | ||||
-rw-r--r-- | tests/f_miss_journal/expect.2 | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/tests/f_miss_journal/expect.1 b/tests/f_miss_journal/expect.1 index 140cb518..cad69f63 100644 --- a/tests/f_miss_journal/expect.1 +++ b/tests/f_miss_journal/expect.1 @@ -17,7 +17,13 @@ Fix? yes Free blocks count wrong (968, counted=1998). Fix? yes +Recreate journal to make the filesystem ext3 again? +Fix? yes + +Creating journal (1024 blocks): Done. + +*** journal has been re-created - filesystem is now ext3 again *** test_filesys: ***** FILE SYSTEM WAS MODIFIED ***** -test_filesys: 11/256 files (0.0% non-contiguous), 50/2048 blocks +test_filesys: 11/256 files (0.0% non-contiguous), 1080/2048 blocks Exit status is 1 diff --git a/tests/f_miss_journal/expect.2 b/tests/f_miss_journal/expect.2 index 834a1204..1e8c47f9 100644 --- a/tests/f_miss_journal/expect.2 +++ b/tests/f_miss_journal/expect.2 @@ -3,5 +3,5 @@ Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information -test_filesys: 11/256 files (0.0% non-contiguous), 50/2048 blocks +test_filesys: 11/256 files (0.0% non-contiguous), 1080/2048 blocks Exit status is 0 |