All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc@merlins.org>
To: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: 3.14.0rc3: did not find backref in send_root
Date: Wed, 26 Feb 2014 09:16:42 -0800	[thread overview]
Message-ID: <20140226171642.GB640@merlins.org> (raw)
In-Reply-To: <530D9D09.8070600@cn.fujitsu.com>

On Wed, Feb 26, 2014 at 03:51:37PM +0800, Wang Shilong wrote:
> >I've applied your patch from
> >https://git.kernel.org/cgit/linux/kernel/git/josef/btrfs-next.git/commit/?id=1334bebe71bebbca47b3b92f25511ea980fdeab8

I can confirm this fixed the btrfs send error on my server, thank you.

> >At snapshot var_ro.20140225_23:28:47
> >ERROR: send ioctl failed with -5: Input/output error
> >ERROR: unexpected EOF in stream.
> >[  216.534313] BTRFS info (device dm-0): csum failed ino 2326136 off 
> >192512 csum 3851586574 expected csum 1402824092
> >
> >Then again, this seems to be my problem on the laptop:
> >legolas:/mnt/btrfs_pool1# btrfs scrub status /mnt/btrfs_pool1
> >scrub status for 4850ee22-bf32-4131-a841-02abdb4a5ba6
> >	scrub started at Tue Feb 25 07:35:07 2014 and finished after 1945 
> >	seconds
> >	total bytes scrubbed: 451.64GiB with 2 errors
> >	error details: csum=2
> >	corrected errors: 0, uncorrectable errors: 2, unverified errors: 0
> >
> >Ok, so that's not a btrfs send problem.
> >Just out of curiosity, how do I find out which inodes are compromized so
> >that I can delete/restore them?
> You can use command  "btrfs inspect-internal inode-resolve" which will 
> print inode's
> corresponding path with it's inode id.

Yes, sorry, I wasn't clear. I know how to do this.
What I meant is that btrfs scrub tells me there are 2 errors and does not
tell me which inode/subvolume the error are in.

Aah, but they were in syslog, I just hadn't found them until now :)

Ok, I'm all good then.

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

  reply	other threads:[~2014-02-26 17:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25  6:36 3.14.0rc3: did not find backref in send_root Marc MERLIN
2014-02-25  7:50 ` Wang Shilong
2014-02-25 17:30   ` 3.14.0rc3: btrfs send ioctl failed with -5: Input/output error Marc MERLIN
2014-02-26  3:38     ` Wang Shilong
2014-02-26  7:46 ` 3.14.0rc3: did not find backref in send_root Marc MERLIN
2014-02-26  7:51   ` Wang Shilong
2014-02-26 17:16     ` Marc MERLIN [this message]
2014-05-06  6:10 ` David Brown
2014-05-06  6:49   ` Blaz Repas
2014-05-10  8:13   ` David Brown

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=20140226171642.GB640@merlins.org \
    --to=marc@merlins.org \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=wangsl.fnst@cn.fujitsu.com \
    /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.