From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpoutz26.laposte.net ([194.117.213.101]:51252 "EHLO smtp.laposte.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751026AbbKVKk3 (ORCPT ); Sun, 22 Nov 2015 05:40:29 -0500 Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout014 (Postfix) with ESMTP id 866AE11F55A for ; Sun, 22 Nov 2015 11:17:41 +0100 (CET) Received: from lpn-prd-vrin003 (lpn-prd-vrin003.laposte [10.128.63.4]) by lpn-prd-vrout014 (Postfix) with ESMTP id 814D511F35F for ; Sun, 22 Nov 2015 11:17:41 +0100 (CET) Received: from lpn-prd-vrin003 (localhost [127.0.0.1]) by lpn-prd-vrin003 (Postfix) with ESMTP id 7181C48C379 for ; Sun, 22 Nov 2015 11:17:41 +0100 (CET) Subject: Re: bad extent [5993525264384, 5993525280768), type mismatch with chunk To: Qu Wenruo References: <56455073.1060406@cn.fujitsu.com> <564F48FE.4000400@laposte.net> <1448047478.6878.4.camel@scientia.net> <564FBF0F.4050705@gmx.com> <564FC3FE.9020905@lukas-pirl.de> <565122AA.90904@gmx.com> Cc: Lukas Pirl , linux-btrfs@vger.kernel.org, calestyo@scientia.net From: Laurent Bonnaud Message-ID: <56519644.8060105@laposte.net> Date: Sun, 22 Nov 2015 11:17:40 +0100 MIME-Version: 1.0 In-Reply-To: <565122AA.90904@gmx.com> Content-Type: text/plain; charset=utf-8 Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 22/11/2015 03:04, Qu Wenruo wrote: > If any of you can recompile btrfs-progs and use gdb to debug it, > would anyone please to investigate where did the wrong_chunk_type is > set? In the mean time my btrfs filesystem degraded Nov 20 18:10:53 irancy kernel: BTRFS: device label sauvegarde-IUT2 devid 1 transid 9056 /dev/sdb1 Nov 20 18:10:53 irancy kernel: BTRFS info (device sdb1): disk space caching is enabled Nov 20 18:10:56 irancy kernel: BTRFS: checking UUID tree Nov 20 18:12:06 irancy kernel: BTRFS info (device sdb1): disk space caching is enabled Nov 20 18:12:49 irancy kernel: BTRFS warning (device sdb1): block group 314635714560 has wrong amount of free space Nov 20 18:12:49 irancy kernel: BTRFS warning (device sdb1): failed to load free space cache for block group 314635714560, rebuild it now Nov 20 18:12:51 irancy kernel: BTRFS: Transaction aborted (error -17) Nov 20 18:12:51 irancy kernel: BTRFS: error (device sdb1) in btrfs_run_delayed_refs:2781: errno=-17 Object already exists Nov 20 18:12:51 irancy kernel: BTRFS info (device sdb1): forced readonly Nov 20 18:12:51 irancy kernel: BTRFS warning (device sdb1): Skipping commit of aborted transaction. Nov 20 18:12:51 irancy kernel: BTRFS: error (device sdb1) in cleanup_transaction:1710: errno=-17 Object already exists Nov 20 19:25:37 irancy kernel: BTRFS (device sdb1): parent transid verify failed on 353291255808 wanted 9058 found 9056 Nov 20 19:25:37 irancy kernel: BTRFS (device sdb1): parent transid verify failed on 353291255808 wanted 9058 found 9056 Nov 20 19:25:37 irancy kernel: BTRFS (device sdb1): parent transid verify failed on 353291255808 wanted 9058 found 9056 Nov 20 19:25:37 irancy kernel: BTRFS (device sdb1): parent transid verify failed on 353291255808 wanted 9058 found 9056 [...] Are you interested in the output of btrfs-image ? No idea of the size (I am running it currently) but here some info about its size: # btrfs fi df /mnt/sauvegarde/ Data, single: total=1.81TiB, used=1.79TiB System, DUP: total=32.00MiB, used=240.00KiB Metadata, DUP: total=7.00GiB, used=5.38GiB GlobalReserve, single: total=512.00MiB, used=0.00B -- Laurent.