All of lore.kernel.org
 help / color / mirror / Atom feed
* balance induced csum errors
@ 2013-09-23 21:57 Chris Murphy
  2013-09-23 22:35 ` Chris Murphy
  0 siblings, 1 reply; 13+ messages in thread
From: Chris Murphy @ 2013-09-23 21:57 UTC (permalink / raw)
  To: Btrfs BTRFS

SAMSUNG SSD 830 Series
CPU0: Intel® Core(TM) i7-2820QM CPU @ 2.30GHz (fam: 06, model: 2a, stepping: 07)
8GB RAM (quite heavily tested, not recently, with several days of memtest)
kernel 3.11.1-200.fc19.x86_64 running on baremetal
btrfs-progs-0.20.rc1.20130308git704a08c-1.fc19.x86_64

Today I did a scrub on a btrfs volume, with no message or errors in console or dmesg or journal. Immediately after the scrub I did a balance on the volume which resulted in:
ERROR: error during balancing '/' - Input/output error

In dmesg for the time of that error, this is reported:
[  567.921661] btrfs: relocating block group 6463422464 flags 1
[  568.282371] btrfs: found 200 extents
[  568.800974] btrfs: found 200 extents
[  568.868567] btrfs: relocating block group 5389680640 flags 1
[  571.929662] btrfs: found 4410 extents
[  572.896410] btrfs: found 4410 extents
[  572.962479] btrfs: relocating block group 4315938816 flags 1
[  574.681576] BTRFS info (device sda6): csum failed ino 259 off 428470272 csum 2566472073 private 2181120065
[  574.692047] BTRFS info (device sda6): csum failed ino 259 off 428470272 csum 2566472073 private 2181120065

Upon reboot with kernel 3.11.1-200.fc19.x86_64 and also kernel-3.10.4-300.fc19.x86_64 the following is reported in dmesg:


[    6.053511] btrfs no csum found for inode 37693 start 25538560
[    6.054463] BTRFS info (device sda6): csum failed ino 37693 off 25538560 csum 3474434693 private 0
[    6.055299] btrfs no csum found for inode 37693 start 26218496
[    6.056086] BTRFS info (device sda6): csum failed ino 37693 off 26218496 csum 2772176352 private 0
[    6.085993] btrfs no csum found for inode 37693 start 22286336
[    6.086093] btrfs no csum found for inode 37693 start 22368256
[    6.087636] BTRFS info (device sda6): csum failed ino 37693 off 22286336 csum 396494483 private 0
[    6.087741] BTRFS info (device sda6): csum failed ino 37693 off 22368256 csum 2249156591 private 0

[root@f19l chris]# btrfs fi show
failed to open /dev/sr0: No medium found
Label: 'fedora'  uuid: d505bdee-ba7c-4a64-9481-d5cd76ab8b3e
	Total devices 1 FS bytes used 3.64GB
	devid    1 size 12.99GB used 6.51GB path /dev/sda6

The file system is on an SSD, so single profile for both data and metadata:
[root@f19l chris]# btrfs fi df /
Data: total=6.01GB, used=3.39GB
System: total=4.00MB, used=4.00KB
Metadata: total=512.00MB, used=258.93MB


If this is not the result of a known bug, let me know if there's more information I should provide, I do have a ~22MB btrfs-image -c9 -t4 of the file system.

This fs is disposable, but I might try btrfsck --repair --init-csum-tree with a slightly newer btrfs-progs.


Chris Murphy

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-09-27 16:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-23 21:57 balance induced csum errors Chris Murphy
2013-09-23 22:35 ` Chris Murphy
2013-09-24 21:36   ` Chris Murphy
2013-09-24 22:30     ` Chris Murphy
2013-09-25  4:34     ` balance induced csum errors, systemd-journal Chris Murphy
2013-09-25  5:44       ` Chris Murphy
2013-09-25 12:30         ` Josef Bacik
2013-09-25 14:56           ` Chris Murphy
2013-09-25 15:08             ` Josef Bacik
2013-09-25  6:38       ` Duncan
2013-09-27 15:07       ` Johannes Hirte
2013-09-27 16:22         ` Chris Murphy
2013-09-24 23:12   ` balance induced csum errors Chris Murphy

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.