Beyond-repair corruption, btrfs on ssd

2014-03-02 Thread Paul Komkoff
Greetings. Suddenly, a filesystem on SSD became corrupted. None of the usual repair mechanisms work. check_tree_block complains (have=0) for blocks in root (?), I have modified it to print buf->data and for affected blocks the entire header is filled with zeros. I have a full image if anyone wa

Is BTRFS "bedup" maintained ?

2014-03-02 Thread Swâmi Petaramesh
Hello, I tried to use "bedup" BTRFS offline deduplication tool on several BTRFS machines, with mixed results : 1/ Crashes with messages stating "programming error", sqlite objects must be used inside of the thread that created them, blah-blah... 2/ Crashes stating that some file/objects miss a

Re: Beyond-repair corruption, btrfs on ssd

2014-03-02 Thread Paul Komkoff
On Sun, Mar 02, 2014 at 01:13:01PM +0400, Paul Komkoff wrote: > Suddenly, a filesystem on SSD became corrupted. None of the usual repair > mechanisms work. > check_tree_block complains (have=0) for blocks in root (?), I have modified > it to print > buf->data and for affected blocks the entire he

Re: btrfsck does not fix

2014-03-02 Thread Hendrik Friedel
Hi Chris, hi Ducan, >> time ./btrfs balance start -dconvert=single,soft /mnt/BTRFS/Video/ ERROR: error during balancing '/mnt/BTRFS/Video/' - No space left on device There may be more info in syslog - try dmesg | tail real0m23.803s user0m0.000s sys 0m1.070s dmesg: [697498.761318]

GPF in 3.13.4 Debian kernel

2014-03-02 Thread Russell Coker
I've attached the kernel message log from a GPF that occurred running the Debian kernel package of kernel 3.13.4. This happens repeatedly and started doing so with Debian kernel 3.12.8. This is not the first time I've seen a filesystem corruption occur related to Kmail files that causes a kern

Re: btrfsck does not fix

2014-03-02 Thread Russell Coker
On Mon, 17 Feb 2014, Chris Murphy wrote: > Also, 10 hours to balance two disks at 2.3TB seems like a long time. I'm > not sure if that's expected. I just had a system with a single 120G Intel SSD and 54G of data stored take 3 hours for a balance. Balance seems to be a very slow operation and it

Re: GPF in 3.13.4 Debian kernel

2014-03-02 Thread Chris Mason
On 03/02/2014 07:23 PM, Russell Coker wrote: I've attached the kernel message log from a GPF that occurred running the Debian kernel package of kernel 3.13.4. This happens repeatedly and started doing so with Debian kernel 3.12.8. This is not the first time I've seen a filesystem corruption occ

Re: 3.14.0-rc3 btrfs scrub is preventing my laptop from going to sleep

2014-03-02 Thread Wang Shilong
Hi Marc, On 03/01/2014 11:22 PM, Marc MERLIN wrote: On Fri, Feb 28, 2014 at 09:09:37PM -0800, Marc MERLIN wrote: On Fri, Feb 28, 2014 at 09:18:06AM +0800, Wang Shilong wrote: Could you run the following command when scrub is blocked, we can know more why scrub is blocked here. # echo w > /pr

[PATCH] Btrfs: add readahead for send_write

2014-03-02 Thread Liu Bo
Btrfs send reads data from disk and then writes to a stream via pipe or a file via flush. Currently we're going to read each page at a time, so every page results in a disk read, which is not friendly to disks, esp. HDD. Given that, the performance can be gained by adding readahead for those page

Re: 3.14.0-rc3 btrfs scrub is preventing my laptop from going to sleep

2014-03-02 Thread Marc MERLIN
On Mon, Mar 03, 2014 at 11:17:51AM +0800, Wang Shilong wrote: > Hi Marc, > > On 03/01/2014 11:22 PM, Marc MERLIN wrote: > >On Fri, Feb 28, 2014 at 09:09:37PM -0800, Marc MERLIN wrote: > >>On Fri, Feb 28, 2014 at 09:18:06AM +0800, Wang Shilong wrote: > >>>Could you run the following command when sc

Re: 3.14.0-rc3 btrfs scrub is preventing my laptop from going to sleep

2014-03-02 Thread Wang Shilong
On 03/03/2014 01:21 PM, Marc MERLIN wrote: On Mon, Mar 03, 2014 at 11:17:51AM +0800, Wang Shilong wrote: Hi Marc, On 03/01/2014 11:22 PM, Marc MERLIN wrote: On Fri, Feb 28, 2014 at 09:09:37PM -0800, Marc MERLIN wrote: On Fri, Feb 28, 2014 at 09:18:06AM +0800, Wang Shilong wrote: Could you ru