<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;'><div>Hi Team and Joseph,<br></div><div><br></div><div>&nbsp; Ocfs2 file systems  goes to Read Only mode when mount after reboot. we try fix with fsck but its aborted and thrown error"<b> fsck.ocfs2: dir_indexed.c:1441: ocfs2_dx_dir_search: Assertion `entry_list-&gt;de_num_used &gt; 0' failed</b>.". We are in critical situation please give us solution asap.&nbsp;<br></div><div><br></div><div><br></div><div>[root@ceph-zclient1 home]# cd sas/cde/<br></div><div>[root@ceph-zclient1 cde]# pwd<br></div><div>/home/sas/cde<br></div><div>[root@ceph-zclient1 cde]# mkdir test123213<br></div><div>mkdir: cannot create directory ‘test123213’: <b>Read-only file system</b><br></div><div>[root@ceph-zclient1 cde]# mount | grep ocfs<br></div><div>ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw,relatime)<br></div><div>/<b>dev/rbd0 on /home/sas/cde type ocfs2 (ro,relatime,_netdev,heartbeat=local,nointr,data=ordered,errors=remount-ro,atime_quantum=60,coherency=full,user_xattr,acl)</b><b><br></b></div><div><br></div><div><br></div><div><br></div><div>&nbsp; fsck.ocfs2 -y -f /dev/rbd/rbd/labs&nbsp;<br></div><div>fsck.ocfs2 1.8.0<br></div><div>Checking OCFS2 filesystem in /dev/rbd/rbd/cdelabs:<br></div><div>&nbsp; Label:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; label<br></div><div>&nbsp; UUID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EDE38A7C7D45498D889CA6943589B3C1<br></div><div>&nbsp; Number of blocks:&nbsp;&nbsp; 402653184<br></div><div>&nbsp; Block size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096<br></div><div>&nbsp; Number of clusters: 402653184<br></div><div>&nbsp; Cluster size:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096<br></div><div>&nbsp; Number of slots:&nbsp;&nbsp;&nbsp; 25<br></div><div><br></div><div>/dev/rbd/rbd/labs was run with -f, check forced.<br></div><div>Pass 0a: Checking cluster allocation chains<br></div><div>Pass 0b: Checking inode allocation chains<br></div><div>[CHAIN_BITS] Chain 229 in allocator inode 62 has 746 bits marked free out of 16384 total bits but the block groups in the chain have 747 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 224 in allocator inode 62 has 1096 bits marked free out of 16384 total bits but the block groups in the chain have 1099 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 223 in allocator inode 62 has 41 bits marked free out of 16384 total bits but the block groups in the chain have 43 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 222 in allocator inode 62 has 1797 bits marked free out of 16384 total bits but the block groups in the chain have 1812 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 219 in allocator inode 62 has 946 bits marked free out of 16384 total bits but the block groups in the chain have 978 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 215 in allocator inode 62 has 927 bits marked free out of 16384 total bits but the block groups in the chain have 929 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 214 in allocator inode 62 has 1391 bits marked free out of 16384 total bits but the block groups in the chain have 1468 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 212 in allocator inode 62 has 1346 bits marked free out of 16384 total bits but the block groups in the chain have 1347 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 210 in allocator inode 62 has 1165 bits marked free out of 16384 total bits but the block groups in the chain have 1166 free out of 16384 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 190 in allocator inode 62 has 786 bits marked free out of 17408 total bits but the block groups in the chain have 787 free out of 17408 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 189 in allocator inode 62 has 1291 bits marked free out of 17408 total bits but the block groups in the chain have 1297 free out of 17408 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 187 in allocator inode 62 has 925 bits marked free out of 17408 total bits but the block groups in the chain have 991 free out of 17408 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 180 in allocator inode 62 has 1131 bits marked free out of 17408 total bits but the block groups in the chain have 1146 free out of 17408 total.&nbsp; Fix this by updating the chain record? y<br></div><div>[CHAIN_BITS] Chain 179 in allocator inode 62 has 1071 bits marked free out of 17408 total bits but the block groups in the chain have 1072 free out of 17408 total.&nbsp; Fix this by updating the chain record? y<br></div><div><br></div><div>Pass 2: Checking directory entries.<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 29962495 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 29962561 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 34089694 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 34089694 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 36992908 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 36992907 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 36992927 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 36992940 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 37382914 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '..' refers to inode number 96736223 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000d954f58' refers to inode number 227888984 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000dfe91de' refers to inode number 234787294 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000d954f5c' refers to inode number 227888988 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000dfe91e0' refers to inode number 234787296 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000d954f5f' refers to inode number 227888991 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000dfe91dd' refers to inode number 234787293 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000dfe91e8' refers to inode number 234787304 which isn't allocated, clear the entry? y<br></div><div>[DIRENT_INODE_FREE] Directory entry '000000000d954f64' refers to inode number 227888996 which isn't allocated, clear the entry? y<br></div><div><b>fsck.ocfs2: dir_indexed.c:1441: ocfs2_dx_dir_search: Assertion `entry_list-&gt;de_num_used &gt; 0' failed.</b><b><br></b></div><div><b>Aborted</b><br></div><div><br></div><div><br></div><div><br></div><div><b>debugfs.ocfs2 -n -R "stats" /dev/rbd/rbd/cdelabs </b><br></div><div>Revision: 0.90<br></div><div>Mount Count: 0&nbsp;&nbsp; Max Mount Count: 20<br></div><div>State: 0&nbsp;&nbsp; Errors: 0<br></div><div>Check Interval: 0&nbsp;&nbsp; Last Check: Tue Dec&nbsp; 8 18:14:25 2015<br></div><div>Creator OS: 0<br></div><div>Feature Compat: 3 backup-super strict-journal-super<br></div><div>Feature Incompat: 14160 sparse extended-slotmap inline-data xattr indexed-dirs refcount discontig-bg<br></div><div>Tunefs Incomplete: 0 <br></div><div>Feature RO compat: 1 unwritten<br></div><div>Root Blknum: 5&nbsp;&nbsp; System Dir Blknum: 6<br></div><div>First Cluster Group Blknum: 3<br></div><div>Block Size Bits: 12&nbsp;&nbsp; Cluster Size Bits: 12<br></div><div>Max Node Slots: 25<br></div><div>Extended Attributes Inline Size: 256<br></div><div>Label: label<br></div><div>UUID: EDE38A7C7D45498D889CA6943589B3C1<br></div><div>Hash: 3133295124 (0xbac24a14)<br></div><div>DX Seeds: 2458771289 3433882298 280871258 (0x928ddf59 0xccace2ba 0x10bdc15a)<br></div><div>Cluster stack: classic o2cb<br></div><div>Cluster flags: 0 <br></div><div>Inode: 2&nbsp;&nbsp; Mode: 00&nbsp;&nbsp; Generation: 3752133006 (0xdfa5018e)<br></div><div>FS Generation: 3752133006 (0xdfa5018e)<br></div><div>CRC32: 00000000&nbsp;&nbsp; ECC: 0000<br></div><div>Type: Unknown&nbsp;&nbsp; Attr: 0x0&nbsp;&nbsp; Flags: Valid System Superblock <br></div><div>Dynamic Features: (0x0) <br></div><div>User: 0 (root)&nbsp;&nbsp; Group: 0 (root)&nbsp;&nbsp; Size: 0<br></div><div>Links: 0&nbsp;&nbsp; Clusters: 402653184<br></div><div>ctime: 0x56676451 0x0 -- Tue Dec&nbsp; 8 18:14:25.0 2015<br></div><div>atime: 0x0 0x0 -- Wed Dec 31 19:00:00.0 1969<br></div><div>mtime: 0x56676451 0x0 -- Tue Dec&nbsp; 8 18:14:25.0 2015<br></div><div>dtime: 0x0 -- Wed Dec 31 19:00:00 1969<br></div><div>Refcount Block: 0<br></div><div>Last Extblk: 0&nbsp;&nbsp; Orphan Slot: 0<br></div><div>Sub Alloc Slot: Global&nbsp;&nbsp; Sub Alloc Bit: 65535<br></div><div><br></div><div><br></div><div><br></div><div>Regards<br></div><div>Prabu GJ</div><div><br></div><div><br></div><div><br></div><div><br></div></div></body></html>