All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin <m_btrfs@ml1.co.uk>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs-transacti causing IO problem to btrfs (skinny-metadata?)
Date: Wed, 25 Mar 2015 09:38:52 +0000	[thread overview]
Message-ID: <metvnc$nmp$1@ger.gmane.org> (raw)
In-Reply-To: <551271DE.9020609@strath.ac.uk>

On 25/03/15 08:29, Ian Gordon wrote:
> 
> Hello,
> 
> I have a btrfs filesystem which has been working ok for about 90days,
> but on Monday it become very slow (takes about 6hours to rsync backup a
> 3GB Ubuntu server - despite minimal changes from previous backup). I
> noticed, that even with no processes reading or writing to the
> filesystem, that btrfs-transaci was writing to the disk (averaging at
> about 5MB/s) for a few hours before stopping until I wrote to the
> filesystem again and then the process would repeat.
> 
> The btrfs filesystem uses skinny-metadata and is mounted with relatime
> It has 744 subvolumes (of which about 700 are readonly snapshots)
> 
> Any ideas? Is there some sort of cleanup getting automatically run in
> the background?

Is that btrfs system formatted with a previous kernel (pre-
skinny-metadata) and is now being used with a kernel that newly has
skinny-metadata enabled by default?...


I've stumbled across a bug/change/patch listed for a mixed pre/post
skinny-metadata whereby you get to see lots of csum errors in the logs...

For one 16TB btrfs raid1 system that brought things down to read-only...


I'm now on kernel 3.18.9, and Btrfs v3.18.2. Presently copying the
latest data onto a backup before trying a scrub! :-)

LOTs of:

kernel: parent transid verify failed on 5992676900864 wanted 70743 found
70709
kernel: parent transid verify failed on 5992676900864 wanted 70743 found
70709
kernel: BTRFS info (device sdj): no csum found for inode 50675726 start
16384
kernel: BTRFS info (device sdj): csum failed ino 50675726 off 0 csum
42383870 expected csum 0
kernel: BTRFS info (device sdj): csum failed ino 50675726 off 4096 csum
815939273 expected csum 0

and variations seen.

(Or advice for that one welcomed! ;-) )


Cheers,
Martin



  reply	other threads:[~2015-03-25  9:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25  8:29 btrfs-transacti causing IO problem to btrfs Ian Gordon
2015-03-25  9:38 ` Martin [this message]
2015-03-27  0:21   ` btrfs-transacti causing IO problem to btrfs (skinny-metadata?) Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='metvnc$nmp$1@ger.gmane.org' \
    --to=m_btrfs@ml1.co.uk \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.