linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Liu Bo <bo.li.liu@oracle.com>
To: Ross Moore <ross@rossmoore.net>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: BTRFS Bug
Date: Mon, 12 Nov 2012 23:08:48 +0800	[thread overview]
Message-ID: <20121112150847.GD6347@gmail.com> (raw)
In-Reply-To: <CAJDbZnThjTHNON46Sb5QWyaJ9VuaKkza=Z6+OE_dh_YqavtDJQ@mail.gmail.com>

On Mon, Nov 12, 2012 at 10:37:58PM +0800, Ross Moore wrote:
> Hi,
> 
> I have a BTRFS filesystem that seems to be suffering from a few
> problems. I'll post the first one, which looks most bizarre to me.
> 
> The filesystem is mounted at /media/Media. It consists of 4 devices in
> RAID1 (both metadata and data), of sizes 3*2TB and 1*1TB. The result
> of sudo btrfs fi df /media/Media/ is as follows:
> Data, RAID1: total=3.06TB, used=8.74TB
> System, RAID1: total=32.00MB, used=1.81MB
> System: total=4.00MB, used=0.00
> Metadata, RAID1: total=130.29GB, used=9.41GB
> 
> I'm running Ubuntu Quantal, on the stock 3.5 kernel (with stock
> btrfs-tools), but the filesystem has been around for a over a year
> now, since Oneiric or maybe Natty. It has been causing a few problems
> recently with the odd kernel crash, but this line in bold seems the
> most odd. It reports Total as smaller than Used. That just seems very
> wrong to me. I'd also like to rescue my filesystem rather than kill it
> and restore from backup if possible (since it's pretty big and
> restoring would take a while / be error-prone).
> 

Can you provide the output of 'btrfs-debug-tree /dev/sdd'?

thanks,
liubo

> I'm no kernel developer, but I am able  to compile and and willing to
> help debug issues given instructions.
> 
> I also have the following mentions of btrfs in the syslog following boot:
> Nov 12 22:10:43 HomeServer kernel: [    6.756770] btrfs: bdev
> /dev/disk/by-uuid/f2178b12-fa9c-4fa0-9efb-11ad188156c0 errs: wr 0, rd
> 0, flush 0, corrupt 0, gen 0
> Nov 12 22:10:43 HomeServer kernel: [   14.613574] btrfs: bdev /dev/sdd
> errs: wr 72, rd 0, flush 0, corrupt 0, gen 0
> Nov 12 22:10:43 HomeServer kernel: [   14.613578] btrfs: bdev /dev/sdc
> errs: wr 542570, rd 559160, flush 0, corrupt 891, gen 0
> Nov 12 22:10:43 HomeServer kernel: [   14.613582] btrfs: bdev /dev/sdb
> errs: wr 156, rd 1166758, flush 0, corrupt 0, gen 0
> Nov 12 22:10:43 HomeServer kernel: [   14.613584] btrfs: bdev /dev/sda
> errs: wr 44273, rd 2378244, flush 0, corrupt 429, gen 0
> 
> If I attempt to rebalance, the kernel crashes after a while, well
> before it has had a chance to complete.
> 
> Any assistance greatly appreciated, and I hope I can also help
> identify a bug with help.
> 
> Thanks,
> Ross
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-11-12 15:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 14:37 BTRFS Bug Ross Moore
2012-11-12 15:08 ` Liu Bo [this message]
2012-11-12 23:15   ` Ross Moore
2012-11-13 10:16     ` Sem
     [not found]   ` <CAJDbZnTMmzMJYR6=qkX1CTQ365MSYeSX7L8LrE_GLsxWAbz58Q@mail.gmail.com>
2012-11-20 13:20     ` Liu Bo
     [not found]       ` <CAJDbZnT2h8eoSHPHLjMVLMjKW+J0PcaV=pzPJs6r7=nkgTBP4Q@mail.gmail.com>
2012-11-20 13:58         ` Liu Bo
     [not found] <016b3ac0-1524-6bfe-4261-c6adff00eb80.ref@aol.com>
2022-08-08 23:54 ` btrfs bug Augusto
  -- strict thread matches above, loose matches on Subject: below --
2012-01-31 18:04 Thomas Weber
2012-01-31 21:37 ` Mitch Harder
2012-01-31 21:51   ` Thomas Weber
2012-02-01  5:20     ` Thomas Weber
2012-02-01 18:07       ` Mitch Harder
2011-05-16 22:43 Maciej Sujkowski

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=20121112150847.GD6347@gmail.com \
    --to=bo.li.liu@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=ross@rossmoore.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).