Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-15 Thread Marc MERLIN
On Mon, Feb 15, 2016 at 08:17:32AM +0800, Qu Wenruo wrote: > Sorry for the late reply. > > According to the output of your btrfsck --repair output, things just get > worse. > > So at this point, it's harder to locate the original problem. (Csum > missing with bad file extents) > > IMHO you

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-14 Thread Qu Wenruo
Marc MERLIN wrote on 2016/02/14 09:26 -0800: On Fri, Feb 12, 2016 at 09:26:28AM -0800, Marc MERLIN wrote: On Fri, Feb 12, 2016 at 08:33:11AM +0800, Qu Wenruo wrote: There is still a last chance. If btrfsck still report original error about "bad file extent" in root: 45851/45852/...

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-14 Thread Marc MERLIN
On Fri, Feb 12, 2016 at 09:26:28AM -0800, Marc MERLIN wrote: > On Fri, Feb 12, 2016 at 08:33:11AM +0800, Qu Wenruo wrote: > > There is still a last chance. > > > > If btrfsck still report original error about "bad file extent" in root: > > 45851/45852/... > > Btrfs-debug-tree may provide useful

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-12 Thread Marc MERLIN
On Fri, Feb 12, 2016 at 08:33:11AM +0800, Qu Wenruo wrote: > There is still a last chance. > > If btrfsck still report original error about "bad file extent" in root: > 45851/45852/... > Btrfs-debug-tree may provide useful info by dumping only that root. > > # btrfs-debug-tree -t 45851 > >

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-11 Thread Marc MERLIN
On Thu, Feb 11, 2016 at 07:09:47AM -0800, Marc MERLIN wrote: > On Thu, Feb 11, 2016 at 03:16:47PM +0800, Qu Wenruo wrote: > > >I started making a dump, image was growing past 3GB, and then it failed > > >and the image got deleted: > > > > > >gargamel:~# btrfs-image -s -c 9 /dev/mapper/dshelf1old

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-11 Thread Marc MERLIN
On Thu, Feb 11, 2016 at 03:16:47PM +0800, Qu Wenruo wrote: > >I started making a dump, image was growing past 3GB, and then it failed > >and the image got deleted: > > > >gargamel:~# btrfs-image -s -c 9 /dev/mapper/dshelf1old > >/mnt/dshelf1/ds1old.dump > >Error adding space cache blocks -5 > >

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-11 Thread Qu Wenruo
Marc MERLIN wrote on 2016/02/11 07:13 -0800: On Thu, Feb 11, 2016 at 07:09:47AM -0800, Marc MERLIN wrote: On Thu, Feb 11, 2016 at 03:16:47PM +0800, Qu Wenruo wrote: I started making a dump, image was growing past 3GB, and then it failed and the image got deleted: gargamel:~# btrfs-image -s

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-10 Thread Marc MERLIN
On Tue, Jan 26, 2016 at 09:03:07AM +0800, Qu Wenruo wrote: > If the fs is small enough, would you please do a btrfs-image dump? > That would help a lot to locate the direct cause. I started making a dump, image was growing past 3GB, and then it failed and the image got deleted: gargamel:~#

Re: btrfs-image failure (btrfs-tools 4.4)

2016-02-10 Thread Qu Wenruo
Marc MERLIN wrote on 2016/02/10 22:31 -0800: On Tue, Jan 26, 2016 at 09:03:07AM +0800, Qu Wenruo wrote: If the fs is small enough, would you please do a btrfs-image dump? That would help a lot to locate the direct cause. I started making a dump, image was growing past 3GB, and then it