Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.07 KB | None | 0 0
  1.  
  2.  
  3.  
  4. [...]
  5. Copied 103433024 of 165039360 inodes (24 of 39 AGs) Unknown directory buffer type!
  6. Copied 104001280 of 165039360 inodes (24 of 39 AGs) Unknown directory buffer type!
  7. Copied 105465088 of 165039360 inodes (24 of 39 AGs) Unknown directory buffer type!
  8. Copied 107092608 of 165039360 inodes (25 of 39 AGs) Metadata corruption detected at 0x473455, xfs_dir3_leaf1 block 0xc8471ce78/0x1000
  9. Segmentation fault (core dumped)
  10.  
  11. (gdb) where
  12. #0 __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
  13. #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
  14. #2 0x000000000042a1ac in process_single_fsb_objects (o=8388608, s=6720207336, c=1, btype=TYP_DIR2, last=8388609) at metadump.c:1904
  15. #3 0x000000000042a9ab in process_bmbt_reclist (rp=0x98c88d0, numrecs=3, btype=TYP_DIR2) at metadump.c:2121
  16. #4 0x000000000042b493 in process_exinode (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2292
  17. #5 0x000000000042b51c in process_inode_data (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2318
  18. #6 0x000000000042b7b0 in process_inode (agno=25, agino=4599138, dip=0x98c8800, free_inode=false) at metadump.c:2386
  19. #7 0x000000000042bd34 in copy_inode_chunk (agno=25, rp=0xa714818) at metadump.c:2536
  20. #8 0x000000000042beee in scanfunc_ino (block=0xa713a00, agno=25, agbno=15498, level=0, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2596
  21. #9 0x0000000000427156 in scan_btree (agno=25, agbno=15498, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
  22. #10 0x000000000042c0a9 in scanfunc_ino (block=0x600e400, agno=25, agbno=8, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2619
  23. #11 0x0000000000427156 in scan_btree (agno=25, agbno=8, level=2, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
  24. #12 0x000000000042c19c in copy_inodes (agno=25, agi=0x8bdce00) at metadump.c:2652
  25. #13 0x000000000042c775 in scan_ag (agno=25) at metadump.c:2776
  26. #14 0x000000000042d404 in metadump_f (argc=3, argv=0x2239190) at metadump.c:3078
  27. #15 0x0000000000417fdd in command (argc=3, argv=0x2239190) at command.c:89
  28. #16 0x0000000000421c69 in main (argc=7, argv=0x7ffd2c4578b8) at init.c:195
  29. (gdb) bt full
  30. #0 __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
  31. No locals.
  32. #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
  33. ltp = 0xf8bf7fc
  34. lbp = 0xf8bdf96
  35. ents = 0xf8be840
  36. free = 0xf8bead0 ""
  37. leaf = 0xf8be800
  38. leafhdr = {
  39. forw = 12,
  40. back = 6,
  41. magic = 15857,
  42. count = 82,
  43. stale = 0
  44. }
  45. #2 0x000000000042a1ac in process_single_fsb_objects (o=8388608, s=6720207336, c=1, btype=TYP_DIR2, last=8388609) at metadump.c:1904
  46. dp = 0xf8be800 ""
  47. ret = 0
  48. i = 0
  49. #3 0x000000000042a9ab in process_bmbt_reclist (rp=0x98c88d0, numrecs=3, btype=TYP_DIR2) at metadump.c:2121
  50. i = 2
  51. o = 8388608
  52. op = 8388608
  53. s = 6720207336
  54. c = 1
  55. cp = 1
  56. f = 0
  57. last = 8388609
  58. agno = 25
  59. agbno = 9320936
  60. is_multi_fsb = false
  61. error = 0
  62. #4 0x000000000042b493 in process_exinode (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2292
  63. whichfork = 0
  64. used = 48
  65. nex = 3
  66. #5 0x000000000042b51c in process_inode_data (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2318
  67. No locals.
  68. #6 0x000000000042b7b0 in process_inode (agno=25, agino=4599138, dip=0x98c8800, free_inode=false) at metadump.c:2386
  69. success = 1
  70. crc_was_ok = true
  71. need_new_crc = false
  72. #7 0x000000000042bd34 in copy_inode_chunk (agno=25, rp=0xa714818) at metadump.c:2536
  73. dip = 0x98c8800
  74. agino = 4599136
  75. off = 0
  76. agbno = 574892
  77. end_agbno = 574900
  78. i = 2
  79. rval = 0
  80. blks_per_buf = 8
  81. --Type <RET> for more, q to quit, c to continue without paging--
  82. inodes_per_buf = 64
  83. ioff = 0
  84. #8 0x000000000042beee in scanfunc_ino (block=0xa713a00, agno=25, agbno=15498, level=0, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2596
  85. rp = 0xa714818
  86. pp = 0x7ffd2c457500
  87. i = 222
  88. numrecs = 252
  89. finobt = 0
  90. #9 0x0000000000427156 in scan_btree (agno=25, agbno=15498, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
  91. rval = 0
  92. #10 0x000000000042c0a9 in scanfunc_ino (block=0x600e400, agno=25, agbno=8, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2619
  93. rp = 0x600e400
  94. pp = 0x600ec1c
  95. i = 16
  96. numrecs = 280
  97. finobt = 0
  98. #11 0x0000000000427156 in scan_btree (agno=25, agbno=8, level=2, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
  99. rval = 0
  100. #12 0x000000000042c19c in copy_inodes (agno=25, agi=0x8bdce00) at metadump.c:2652
  101. root = 8
  102. levels = 2
  103. finobt = 0
  104. #13 0x000000000042c775 in scan_ag (agno=25) at metadump.c:2776
  105. agf = 0x2a98a00
  106. agi = 0x8bdce00
  107. stack_count = 4
  108. rval = 0
  109. #14 0x000000000042d404 in metadump_f (argc=3, argv=0x2239190) at metadump.c:3078
  110. agno = 25
  111. c = -1
  112. start_iocur_sp = 0
  113. outfd = -1
  114. ret = 0
  115. p = 0x7ffd2c457740 "\200wE,\375\177"
  116. #15 0x0000000000417fdd in command (argc=3, argv=0x2239190) at command.c:89
  117. cmd = 0x7ffd2c458ff6 "metadump"
  118. ct = 0x224c9d0
  119. #16 0x0000000000421c69 in main (argc=7, argv=0x7ffd2c4578b8) at init.c:195
  120. c = 3
  121. i = 0
  122. done = 0
  123. input = 0x4a5e90 <__libc_csu_init> "\363\017\036\372AWL\215=3\257\003"
  124. v = 0x2239190
  125. start_iocur_sp = 0
  126. (gdb)
  127. (gdb) frame 2
  128. #2 0x000000000042a1ac in process_single_fsb_objects (o=8388608, s=6720207336, c=1, btype=TYP_DIR2, last=8388609) at metadump.c:1904
  129. 1904 process_dir_leaf_block(dp);
  130. (gdb) frame 1
  131. #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
  132. 1488 memset(free, 0, (char *)lbp - free);
  133. (gdb) print free
  134. $4 = 0xf8bead0 ""
  135. (gdb) print lbp
  136. $5 = (__be16 *) 0xf8bdf96
  137. (gdb) print (char *)lbp-free
  138. $6 = -2874
  139. (gdb)
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146. (gdb) frame 1
  147. #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
  148. 1488 memset(free, 0, (char *)lbp - free);
  149. (gdb) print ltp
  150. $7 = (struct xfs_dir2_leaf_tail *) 0xf8bf7fc
  151. (gdb) print *ltp
  152. $8 = {
  153. bestcount = 0
  154. }
  155. (gdb) print mp->m_dir_geo
  156. $9 = (struct xfs_da_geometry *) 0x22392c0
  157. (gdb) print *mp->m_dir_geo
  158. $10 = {
  159. blksize = 4096,
  160. fsbcount = 1,
  161. fsblog = 12 '\f',
  162. blklog = 12 '\f',
  163. node_ents = 504,
  164. magicpct = 1515,
  165. datablk = 0,
  166. leafblk = 8388608,
  167. freeblk = 16777216
  168. }
  169. (gdb) print leaf
  170. $11 = (struct xfs_dir2_leaf *) 0xf8be800
  171. (gdb) print *leaf
  172. $12 = (xfs_dir2_leaf ?) {
  173. hdr = {
  174. info = {
  175. forw = 201326592,
  176. back = 100663296,
  177. magic = 61757,
  178. pad = 0
  179. },
  180. count = 2525,
  181. stale = 56236
  182. },
  183. __ents = 0xf8be810
  184. }
  185. (gdb) print leafhdr
  186. $13 = {
  187. forw = 12,
  188. back = 6,
  189. magic = 15857,
  190. count = 82,
  191. stale = 0
  192. }
  193. (gdb) print ents
  194. $14 = (struct xfs_dir2_leaf_entry *) 0xf8be840
  195. (gdb) print *ents
  196. $15 = {
  197. hashval = 498873508,
  198. address = 1004077056
  199. }
  200. (gdb) print *ents[leafhdr.count]
  201. Structure has no component named operator*.
  202. (gdb) print ents[leafhdr.count]
  203. $16 = {
  204. hashval = 0,
  205. address = 0
  206. }
  207. (gdb) l
  208. 1483 /* Zero out space from end of ents[] to bests */
  209. 1484 ents = M_DIROPS(mp)->leaf_ents_p(leaf);
  210. 1485 free = (char *)&ents[leafhdr.count];
  211. 1486 ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf);
  212. 1487 lbp = xfs_dir2_leaf_bests_p(ltp);
  213. 1488 memset(free, 0, (char *)lbp - free);
  214. 1489 iocur_top->need_crc = 1;
  215. 1490 break;
  216. 1491 }
  217. 1492 case XFS_DIR2_LEAFN_MAGIC:
  218. (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement