On 2018年02月06日 15:56, Ralph Gauges wrote: > Hi, > > I recently started using the btrfs file system on my backup disk and > until a power failure during a backup everything seemed to work well. > Due a power failure however, the file systems seems to have become > corrupted and all trials to check or repair it so far have lead to a > segmentation fault. > > Normally I am using Ubuntu 17.10 and the btrfs version that goes along > with it, but for testing purposes, I compiled my own version > (btrfs-progs v4.15). > Unfortunately the segmentation fault is also present in this latest > version. At the end of this email, you can see the output from btrfs > when I try to check the partition as well as the backtrace from gdb. I > hope that helps. > > My system is running kernel 4.13.0-32-generic on x86_64. > > If you need any additional information please contace me directly since > I don't subscribe to the mailing list. > > Sincerily > > Ralph Gauges > > > > > > > (gdb) set args check /dev/sdf1 > (gdb) run > Starting program: /home/gauges/Applications/bin/btrfs check /dev/sdf1 > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > parent transid verify failed on 266195058688 wanted 1857 found 1864 > parent transid verify failed on 266195058688 wanted 1857 found 1864 > parent transid verify failed on 266195058688 wanted 1857 found 1864 > parent transid verify failed on 266195058688 wanted 1857 found 1864 > Ignoring transid failure > Checking filesystem on /dev/sdf1 > UUID: 9ccb1eaa-a9ae-46f3-8885-fba4799d6e85 > parent transid verify failed on 266196516864 wanted 1858 found 1864 > parent transid verify failed on 266196516864 wanted 1858 found 1864 > parent transid verify failed on 266196516864 wanted 1858 found 1864 > parent transid verify failed on 266196516864 wanted 1858 found 1864 > Ignoring transid failure > parent transid verify failed on 266196205568 wanted 1858 found 1864 > parent transid verify failed on 266196205568 wanted 1858 found 1864 > parent transid verify failed on 266196205568 wanted 1858 found 1864 > parent transid verify failed on 266196205568 wanted 1858 found 1864 > Ignoring transid failure > > Program received signal SIGSEGV, Segmentation fault. > 0x00005555555bf7a7 in btrfs_extent_flags (s=0xcc344065, > eb=0x5555584acce0) at ctree.h:1694 > 1694 BTRFS_SETGET_FUNCS(extent_flags, struct btrfs_extent_item, > flags, 64); > (gdb) bt > #0 0x00005555555bf7a7 in btrfs_extent_flags (s=0xcc344065, > eb=0x5555584acce0) at ctree.h:1694 > #1 build_roots_info_cache (info=0x555555821a00) at cmds-check.c:14285 Would you please show the value of eb->start? And possible function call of btrfs_print_tree(info->extent_root, eb, 1) and its result. Thanks, Qu > #2 repair_root_items (info=0x555555821a00) at cmds-check.c:14450 > #3 cmd_check (argc=<optimized out>, argv=<optimized out>) at > cmds-check.c:14965 > #4 0x0000555555566320 in main (argc=2, argv=0x7fffffffde30) at btrfs.c:302 > (gdb) > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
signature.asc
Description: OpenPGP digital signature
