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:
signature.asc
Description: OpenPGP digital signature
