[Bug 935956] New: BTRFS balance failure.
http://bugzilla.opensuse.org/show_bug.cgi?id=935956 Bug ID: 935956 Summary: BTRFS balance failure. Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: moby@pcsn.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- BTRFS / (one big file system but that is irrelevant) running on top of md raid 5 consisting of 4 SATA disks. Balance was performed after doing massive I/O (almost filling up the filesystem etc and then doing some deletions etc). Balance keeps on failing while reporting some insanities described below. All snapshots were deleted so snapshots should not have anything to do with the issue at hand. Below was seen on kernel 3.16.7-21-default. The machine is now at kernel 4.0.5-5.g80f6bcd-default and btrfs-progs v4.1+20150622. These two items were upgraded to see if the issue could be resolved. Everything else on the machine (including creating/deleting files) on the machine works fine, only btrfs balance is acting insane. btrfs balance keeps failing with messages like below in the log (below is a grep 'btrfs' from journalctl -b so the messages are not necessarily contiguous): [44950.935025] BTRFS info (device md1): relocating block group 3706217037824 flags 1 [44954.665729] BTRFS info (device md1): relocating block group 3705143296000 flags 1 [44966.689827] BTRFS info (device md1): found 156 extents [44985.223754] BTRFS: bdev /dev/md1 errs: wr 9911, rd 0, flush 0, corrupt 0, gen 0 [44985.224033] BTRFS: bdev /dev/md1 errs: wr 9912, rd 0, flush 0, corrupt 0, gen 0 [44985.224285] BTRFS: bdev /dev/md1 errs: wr 9913, rd 0, flush 0, corrupt 0, gen 0 Running a btrfs scrub / showed no errors or issues at all. Then I started doing btrfs balance start -dusage=X and noticed that it would succeed up to X = 73 and fail after that. Then I started deleting subsets of data. I did btrfs balance start -dusage=X after each delete and noticed that as more and more data was deleted, X kept increasing before the balance would error out. Deleting more data allowed value of X to go upto 98 before btrfs balance would error out. Also, today, I started a btrfs balance -dusage=95. At the same time I was running btrfs balance status -v to watch the status. The percentage left started at 100% and kept decreasing ... it eventually went below zero and still kept on decreasing. It was at -111% when I canceled the balance. Output of the balance is below: Wed Jun 24 12:29:12 CDT 2015 Balance on '/' is running 306 out of about 145 chunks balanced (312 considered), -111% left Dumping filters: flags 0x1, state 0x1, force is off DATA (flags 0x2): balancing, usage=95 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=935956
Martin Pluskal
http://bugzilla.opensuse.org/show_bug.cgi?id=935956
http://bugzilla.opensuse.org/show_bug.cgi?id=935956#c1
--- Comment #1 from Mobeen Azhar
http://bugzilla.opensuse.org/show_bug.cgi?id=935956
http://bugzilla.opensuse.org/show_bug.cgi?id=935956#c2
Libor Pechacek
participants (1)
-
bugzilla_noreply@novell.com