From: Michael Ruiz <michael@mruiz.dev>
To: linux-btrfs@vger.kernel.org
Subject: Error during balancing '/': Input/output error
Date: Fri, 27 Dec 2019 04:39:56 -0800 [thread overview]
Message-ID: <4196932.LvFx2qVVIh@archlinux> (raw)
[-- Attachment #1: Type: text/plain, Size: 2009 bytes --]
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.
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: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2019-12-27 12:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-27 12:39 Michael Ruiz [this message]
2019-12-27 13:21 ` Error during balancing '/': Input/output error Qu Wenruo
[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=4196932.LvFx2qVVIh@archlinux \
--to=michael@mruiz.dev \
--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.