public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Michael Ruiz <michael@mruiz.dev>, linux-btrfs@vger.kernel.org
Subject: Re: Error during balancing '/': Input/output error
Date: Fri, 27 Dec 2019 21:21:36 +0800	[thread overview]
Message-ID: <c1b81526-5d18-4cd2-563a-0cbca83123c8@gmx.com> (raw)
In-Reply-To: <4196932.LvFx2qVVIh@archlinux>


[-- Attachment #1.1: Type: text/plain, Size: 2572 bytes --]



On 2019/12/27 下午8:39, Michael Ruiz wrote:
> Hi,
> 
> I recently did a btrfs-convert from ext4 to btrfs and it went well, so I 
> deleted the ext2 'home-backup' or whatever subvolume it created and I 
> proceeded to balance the disk. However, I keep getting this error when I try 
> to run this command (see bottom of message for debug info.) This might be a 
> simple question, but I am worried that my root drive is corrupt and if I 
> restart it might not boot so I haven't tried rebooting and mounting the disk 
> from a live usb. Any suggestions pointing me in the right direction are most 
> appreciated.

There are quite some reports about this problem. So far no real
corrupted confirmed.

You can confirm it by scrub.

I'm afraid there is some bug in data balance code which leads to this.
We will dig further to pin down the cause.

BTW, does that problem always show up at block group 253562454016? Or it
randomly shows up at different block groups?

Thanks,
Qu

> 
> 
> Thanks,
> Michael
> 
> ``` BEGIN DEBUG INFO ```
> [michael@linux /]$ sudo btrfs balance /
> ERROR: error during balancing '/': Input/output error
> There may be more info in syslog - try dmesg | tail
> 
> [michael@linux /]$ dmesg | tail
> [ 1235.433416] BTRFS info (device dm-1): relocating block group 265709158400 
> flags metadata
> [ 1375.701515] BTRFS info (device dm-1): found 65034 extents
> [ 1381.270271] BTRFS info (device dm-1): relocating block group 264635416576 
> flags metadata
> [ 1483.628290] BTRFS info (device dm-1): found 64995 extents
> [ 1485.160174] BTRFS info (device dm-1): relocating block group 253562454016 
> flags data
> [ 1485.352336] BTRFS warning (device dm-1): csum failed root -9 ino 265 off 
> 1048576 csum 0x9a7afaa8 expected csum 0x63e15594 mirror 1
> [ 1485.353008] BTRFS warning (device dm-1): csum failed root -9 ino 265 off 
> 1048576 csum 0x9a7afaa8 expected csum 0x63e15594 mirror 1
> [ 1485.375271] BTRFS info (device dm-1): balance: ended with status: -5
> [ 1485.544838] audit: type=1106 audit(1577448716.970:152): pid=4178 uid=0 
> auid=1000 ses=1 msg='op=PAM:session_close 
> grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" 
> hostname=? addr=? terminal=/dev/pts/2 res=success'
> [ 1485.545220] audit: type=1104 audit(1577448716.970:153): pid=4178 uid=0 
> auid=1000 ses=1 msg='op=PAM:setcred grantors=pam_unix,pam_permit,pam_env 
> acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/2 
> res=success'
> ``` END DEBUG INFO ```
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-12-27 13:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-27 12:39 Error during balancing '/': Input/output error Michael Ruiz
2019-12-27 13:21 ` Qu Wenruo [this message]
     [not found]   ` <5555870.lOV4Wx5bFT@archlinux>
2019-12-28 10:09     ` Qu Wenruo
2019-12-28 11:26       ` Michael Ruiz
2019-12-28 11:38         ` Qu Wenruo
2019-12-28 11:45           ` Michael Ruiz
2019-12-28 12:05             ` Qu Wenruo
2019-12-28 12:28               ` Michael Ruiz
2019-12-28  9:53 ` Michael Ruiz

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=c1b81526-5d18-4cd2-563a-0cbca83123c8@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=michael@mruiz.dev \
    /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