Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [...]
- Copied 103433024 of 165039360 inodes (24 of 39 AGs) Unknown directory buffer type!
- Copied 104001280 of 165039360 inodes (24 of 39 AGs) Unknown directory buffer type!
- Copied 105465088 of 165039360 inodes (24 of 39 AGs) Unknown directory buffer type!
- Copied 107092608 of 165039360 inodes (25 of 39 AGs) Metadata corruption detected at 0x473455, xfs_dir3_leaf1 block 0xc8471ce78/0x1000
- Segmentation fault (core dumped)
- (gdb) where
- #0 __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
- #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
- #2 0x000000000042a1ac in process_single_fsb_objects (o=8388608, s=6720207336, c=1, btype=TYP_DIR2, last=8388609) at metadump.c:1904
- #3 0x000000000042a9ab in process_bmbt_reclist (rp=0x98c88d0, numrecs=3, btype=TYP_DIR2) at metadump.c:2121
- #4 0x000000000042b493 in process_exinode (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2292
- #5 0x000000000042b51c in process_inode_data (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2318
- #6 0x000000000042b7b0 in process_inode (agno=25, agino=4599138, dip=0x98c8800, free_inode=false) at metadump.c:2386
- #7 0x000000000042bd34 in copy_inode_chunk (agno=25, rp=0xa714818) at metadump.c:2536
- #8 0x000000000042beee in scanfunc_ino (block=0xa713a00, agno=25, agbno=15498, level=0, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2596
- #9 0x0000000000427156 in scan_btree (agno=25, agbno=15498, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
- #10 0x000000000042c0a9 in scanfunc_ino (block=0x600e400, agno=25, agbno=8, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2619
- #11 0x0000000000427156 in scan_btree (agno=25, agbno=8, level=2, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
- #12 0x000000000042c19c in copy_inodes (agno=25, agi=0x8bdce00) at metadump.c:2652
- #13 0x000000000042c775 in scan_ag (agno=25) at metadump.c:2776
- #14 0x000000000042d404 in metadump_f (argc=3, argv=0x2239190) at metadump.c:3078
- #15 0x0000000000417fdd in command (argc=3, argv=0x2239190) at command.c:89
- #16 0x0000000000421c69 in main (argc=7, argv=0x7ffd2c4578b8) at init.c:195
- (gdb) bt full
- #0 __memset_avx2_erms () at ../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:151
- No locals.
- #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
- ltp = 0xf8bf7fc
- lbp = 0xf8bdf96
- ents = 0xf8be840
- free = 0xf8bead0 ""
- leaf = 0xf8be800
- leafhdr = {
- forw = 12,
- back = 6,
- magic = 15857,
- count = 82,
- stale = 0
- }
- #2 0x000000000042a1ac in process_single_fsb_objects (o=8388608, s=6720207336, c=1, btype=TYP_DIR2, last=8388609) at metadump.c:1904
- dp = 0xf8be800 ""
- ret = 0
- i = 0
- #3 0x000000000042a9ab in process_bmbt_reclist (rp=0x98c88d0, numrecs=3, btype=TYP_DIR2) at metadump.c:2121
- i = 2
- o = 8388608
- op = 8388608
- s = 6720207336
- c = 1
- cp = 1
- f = 0
- last = 8388609
- agno = 25
- agbno = 9320936
- is_multi_fsb = false
- error = 0
- #4 0x000000000042b493 in process_exinode (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2292
- whichfork = 0
- used = 48
- nex = 3
- #5 0x000000000042b51c in process_inode_data (dip=0x98c8800, itype=TYP_DIR2) at metadump.c:2318
- No locals.
- #6 0x000000000042b7b0 in process_inode (agno=25, agino=4599138, dip=0x98c8800, free_inode=false) at metadump.c:2386
- success = 1
- crc_was_ok = true
- need_new_crc = false
- #7 0x000000000042bd34 in copy_inode_chunk (agno=25, rp=0xa714818) at metadump.c:2536
- dip = 0x98c8800
- agino = 4599136
- off = 0
- agbno = 574892
- end_agbno = 574900
- i = 2
- rval = 0
- blks_per_buf = 8
- --Type <RET> for more, q to quit, c to continue without paging--
- inodes_per_buf = 64
- ioff = 0
- #8 0x000000000042beee in scanfunc_ino (block=0xa713a00, agno=25, agbno=15498, level=0, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2596
- rp = 0xa714818
- pp = 0x7ffd2c457500
- i = 222
- numrecs = 252
- finobt = 0
- #9 0x0000000000427156 in scan_btree (agno=25, agbno=15498, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
- rval = 0
- #10 0x000000000042c0a9 in scanfunc_ino (block=0x600e400, agno=25, agbno=8, level=1, btype=TYP_INOBT, arg=0x7ffd2c457604) at metadump.c:2619
- rp = 0x600e400
- pp = 0x600ec1c
- i = 16
- numrecs = 280
- finobt = 0
- #11 0x0000000000427156 in scan_btree (agno=25, agbno=8, level=2, btype=TYP_INOBT, arg=0x7ffd2c457604, func=0x42bde7 <scanfunc_ino>) at metadump.c:402
- rval = 0
- #12 0x000000000042c19c in copy_inodes (agno=25, agi=0x8bdce00) at metadump.c:2652
- root = 8
- levels = 2
- finobt = 0
- #13 0x000000000042c775 in scan_ag (agno=25) at metadump.c:2776
- agf = 0x2a98a00
- agi = 0x8bdce00
- stack_count = 4
- rval = 0
- #14 0x000000000042d404 in metadump_f (argc=3, argv=0x2239190) at metadump.c:3078
- agno = 25
- c = -1
- start_iocur_sp = 0
- outfd = -1
- ret = 0
- p = 0x7ffd2c457740 "\200wE,\375\177"
- #15 0x0000000000417fdd in command (argc=3, argv=0x2239190) at command.c:89
- cmd = 0x7ffd2c458ff6 "metadump"
- ct = 0x224c9d0
- #16 0x0000000000421c69 in main (argc=7, argv=0x7ffd2c4578b8) at init.c:195
- c = 3
- i = 0
- done = 0
- input = 0x4a5e90 <__libc_csu_init> "\363\017\036\372AWL\215=3\257\003"
- v = 0x2239190
- start_iocur_sp = 0
- (gdb)
- (gdb) frame 2
- #2 0x000000000042a1ac in process_single_fsb_objects (o=8388608, s=6720207336, c=1, btype=TYP_DIR2, last=8388609) at metadump.c:1904
- 1904 process_dir_leaf_block(dp);
- (gdb) frame 1
- #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
- 1488 memset(free, 0, (char *)lbp - free);
- (gdb) print free
- $4 = 0xf8bead0 ""
- (gdb) print lbp
- $5 = (__be16 *) 0xf8bdf96
- (gdb) print (char *)lbp-free
- $6 = -2874
- (gdb)
- (gdb) frame 1
- #1 0x0000000000429113 in process_dir_leaf_block (block=0xf8be800 "") at metadump.c:1488
- 1488 memset(free, 0, (char *)lbp - free);
- (gdb) print ltp
- $7 = (struct xfs_dir2_leaf_tail *) 0xf8bf7fc
- (gdb) print *ltp
- $8 = {
- bestcount = 0
- }
- (gdb) print mp->m_dir_geo
- $9 = (struct xfs_da_geometry *) 0x22392c0
- (gdb) print *mp->m_dir_geo
- $10 = {
- blksize = 4096,
- fsbcount = 1,
- fsblog = 12 '\f',
- blklog = 12 '\f',
- node_ents = 504,
- magicpct = 1515,
- datablk = 0,
- leafblk = 8388608,
- freeblk = 16777216
- }
- (gdb) print leaf
- $11 = (struct xfs_dir2_leaf *) 0xf8be800
- (gdb) print *leaf
- $12 = (xfs_dir2_leaf ?) {
- hdr = {
- info = {
- forw = 201326592,
- back = 100663296,
- magic = 61757,
- pad = 0
- },
- count = 2525,
- stale = 56236
- },
- __ents = 0xf8be810
- }
- (gdb) print leafhdr
- $13 = {
- forw = 12,
- back = 6,
- magic = 15857,
- count = 82,
- stale = 0
- }
- (gdb) print ents
- $14 = (struct xfs_dir2_leaf_entry *) 0xf8be840
- (gdb) print *ents
- $15 = {
- hashval = 498873508,
- address = 1004077056
- }
- (gdb) print *ents[leafhdr.count]
- Structure has no component named operator*.
- (gdb) print ents[leafhdr.count]
- $16 = {
- hashval = 0,
- address = 0
- }
- (gdb) l
- 1483 /* Zero out space from end of ents[] to bests */
- 1484 ents = M_DIROPS(mp)->leaf_ents_p(leaf);
- 1485 free = (char *)&ents[leafhdr.count];
- 1486 ltp = xfs_dir2_leaf_tail_p(mp->m_dir_geo, leaf);
- 1487 lbp = xfs_dir2_leaf_bests_p(ltp);
- 1488 memset(free, 0, (char *)lbp - free);
- 1489 iocur_top->need_crc = 1;
- 1490 break;
- 1491 }
- 1492 case XFS_DIR2_LEAFN_MAGIC:
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement