[Ocfs2-tools-devel] new output for fsck-test due to the backup super.

tao.ma tao.ma at oracle.com
Sat Feb 24 23:26:20 PST 2007


Hi all,
    due to the new function of backup super, some standard output of 
fsck.ocfs2 has been changed.
Here is the patch for all the change.
-- 
* **     Tao Ma
*     Member of Techincal Staff *

Oracle Asia Research & Development Center
Open Source Technologies Development
*
Tel:        +86 10 8278 6026
Mobile:   +86 13701237602         
URL:       OARDC Intranet <http://cdc.oraclecorp.com/>, Oracle.com/cdc 
<http://www.oracle.com/cdc/>
-------------- next part --------------
Index: programs/fsck-tests/medium-disk/fsck.ocfs2.11.stdout
===================================================================
--- programs/fsck-tests/medium-disk/fsck.ocfs2.11.stdout	(revision 71)
+++ programs/fsck-tests/medium-disk/fsck.ocfs2.11.stdout	(working copy)
@@ -12,7 +12,7 @@ Pass 0a: Checking cluster allocation cha
 [CHAIN_BITS] Chain 0 in allocator inode 11 has 14377 bits marked free out of 32256 total bits but the block groups in the chain have 0 free out of 0 total.  Fix this by updating the chain record? y
 [CHAIN_EMPTY] Chain 0 in allocator inode 11 is empty.  Remove it from the chain record array in the inode and shift further chains into its place? y
 [GROUP_CHAIN] Group descriptor at block 1032192 was found in chain 0 but it claims to be in chain 32. Update the descriptor's recorded chain? y
-[CHAIN_GROUP_BITS] Allocator inode 11 has 17911 bits marked used out of 1048576 total bits but the chains have 32 used out of 1016320 total.  Fix this by updating the inode counts? y
+[CHAIN_GROUP_BITS] Allocator inode 11 has 17912 bits marked used out of 1048576 total bits but the chains have 33 used out of 1016320 total.  Fix this by updating the inode counts? y
 [CHAIN_I_CLUSTERS] Allocator inode 11 has 1016320 clusters represented in its allocator chains but has an i_clusters value of 1048576. Fix this by updating i_clusters? y
 [CHAIN_I_SIZE] Allocator inode 11 has 1016320 clusters represented in its allocator chain which accounts for 4162846720 total bytes, but its i_size is 4294967296. Fix this by updating i_size? y
 [GROUP_EXPECTED_DESC] Block 3 should be a group descriptor for the bitmap chain allocator but it wasn't found in any chains.  Reinitialize it as a group desc and link it into the bitmap allocator? y
Index: programs/fsck-tests/medium-disk/fsck.ocfs2.21.stdout
===================================================================
--- programs/fsck-tests/medium-disk/fsck.ocfs2.21.stdout	(revision 71)
+++ programs/fsck-tests/medium-disk/fsck.ocfs2.21.stdout	(working copy)
@@ -10,7 +10,7 @@ Checking OCFS2 filesystem in @DEVICE@:
 @DEVICE@ was run with -f, check forced.
 Pass 0a: Checking cluster allocation chains
 [CHAIN_CPG] Global bitmap at block 11 has clusters per group set to 32272 instead of 32256. Fix? y
-[CHAIN_GROUP_BITS] Allocator inode 11 has 17911 bits marked used out of 1048576 total bits but the chains have 17879 used out of 32256 total.  Fix this by updating the inode counts? y
+[CHAIN_GROUP_BITS] Allocator inode 11 has 17912 bits marked used out of 1048576 total bits but the chains have 17879 used out of 32256 total.  Fix this by updating the inode counts? y
 [CHAIN_I_CLUSTERS] Allocator inode 11 has 32256 clusters represented in its allocator chains but has an i_clusters value of 1048576. Fix this by updating i_clusters? y
 [CHAIN_I_SIZE] Allocator inode 11 has 32256 clusters represented in its allocator chain which accounts for 132120576 total bytes, but its i_size is 4294967296. Fix this by updating i_size? y
 [GROUP_EXPECTED_DESC] Block 32256 should be a group descriptor for the bitmap chain allocator but it wasn't found in any chains.  Reinitialize it as a group desc and link it into the bitmap allocator? y
Index: programs/fsck-tests/medium-disk/fsck.ocfs2.03.stdout
===================================================================
--- programs/fsck-tests/medium-disk/fsck.ocfs2.03.stdout	(revision 71)
+++ programs/fsck-tests/medium-disk/fsck.ocfs2.03.stdout	(working copy)
@@ -10,7 +10,7 @@ Checking OCFS2 filesystem in @DEVICE@:
 @DEVICE@ was run with -f, check forced.
 Pass 0a: Checking cluster allocation chains
 [CHAIN_HEAD_LINK_RANGE] Chain 32 in allocator inode 11 contains an initial block reference to 1048577 which is out of range.  Clear this reference? y
-[CHAIN_GROUP_BITS] Allocator inode 11 has 17911 bits marked used out of 1048576 total bits but the chains have 17910 used out of 1032192 total.  Fix this by updating the inode counts? y
+[CHAIN_GROUP_BITS] Allocator inode 11 has 17912 bits marked used out of 1048576 total bits but the chains have 17911 used out of 1032192 total.  Fix this by updating the inode counts? y
 [CHAIN_I_CLUSTERS] Allocator inode 11 has 1032192 clusters represented in its allocator chains but has an i_clusters value of 1048576. Fix this by updating i_clusters? y
 [CHAIN_I_SIZE] Allocator inode 11 has 1032192 clusters represented in its allocator chain which accounts for 4227858432 total bytes, but its i_size is 4294967296. Fix this by updating i_size? y
 [GROUP_EXPECTED_DESC] Block 1032192 should be a group descriptor for the bitmap chain allocator but it wasn't found in any chains.  Reinitialize it as a group desc and link it into the bitmap allocator? y
Index: programs/fsck-tests/medium-disk/fsck.ocfs2.07.stdout
===================================================================
--- programs/fsck-tests/medium-disk/fsck.ocfs2.07.stdout	(revision 71)
+++ programs/fsck-tests/medium-disk/fsck.ocfs2.07.stdout	(working copy)
@@ -9,7 +9,7 @@ Checking OCFS2 filesystem in @DEVICE@:
 
 @DEVICE@ was run with -f, check forced.
 Pass 0a: Checking cluster allocation chains
-[CHAIN_GROUP_BITS] Allocator inode 11 has 0 bits marked used out of 1048586 total bits but the chains have 17911 used out of 1048576 total.  Fix this by updating the inode counts? y
+[CHAIN_GROUP_BITS] Allocator inode 11 has 0 bits marked used out of 1048586 total bits but the chains have 17912 used out of 1048576 total.  Fix this by updating the inode counts? y
 Pass 0b: Checking inode allocation chains
 Pass 0c: Checking extent block allocation chains
 Pass 1: Checking inodes and blocks.
Index: programs/fsck-tests/medium-disk/fsck.ocfs2.10.stdout
===================================================================
--- programs/fsck-tests/medium-disk/fsck.ocfs2.10.stdout	(revision 71)
+++ programs/fsck-tests/medium-disk/fsck.ocfs2.10.stdout	(working copy)
@@ -13,7 +13,7 @@ Pass 0a: Checking cluster allocation cha
 [CHAIN_BITS] Chain 0 in allocator inode 11 has 14377 bits marked free out of 32256 total bits but the block groups in the chain have 0 free out of 0 total.  Fix this by updating the chain record? y
 [CHAIN_EMPTY] Chain 0 in allocator inode 11 is empty.  Remove it from the chain record array in the inode and shift further chains into its place? y
 [GROUP_CHAIN] Group descriptor at block 1032192 was found in chain 0 but it claims to be in chain 32. Update the descriptor's recorded chain? y
-[CHAIN_GROUP_BITS] Allocator inode 11 has 17911 bits marked used out of 1048576 total bits but the chains have 32 used out of 1016320 total.  Fix this by updating the inode counts? y
+[CHAIN_GROUP_BITS] Allocator inode 11 has 17912 bits marked used out of 1048576 total bits but the chains have 33 used out of 1016320 total.  Fix this by updating the inode counts? y
 [CHAIN_I_CLUSTERS] Allocator inode 11 has 1016320 clusters represented in its allocator chains but has an i_clusters value of 1048576. Fix this by updating i_clusters? y
 [CHAIN_I_SIZE] Allocator inode 11 has 1016320 clusters represented in its allocator chain which accounts for 4162846720 total bytes, but its i_size is 4294967296. Fix this by updating i_size? y
 [GROUP_EXPECTED_DESC] Block 3 should be a group descriptor for the bitmap chain allocator but it wasn't found in any chains.  Reinitialize it as a group desc and link it into the bitmap allocator? y


More information about the Ocfs2-tools-devel mailing list