Bug 816304
Summary: | btrfs filesystem sync prints errors like 'btrfs bad tree block' and 'btrfs read error corrected' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
Component: | btrfs-progs | Assignee: | Josef Bacik <josef> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | jbacik, josef, mmahut |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-02-13 13:22:16 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Richard W.M. Jones
2012-04-25 18:41:25 UTC
Well that is kind of cool, but it may be related to some weirdness with the error handling patches that has since been fixed, can you try running on this tree which has the most recent fixes git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git I ran the commands you gave me and I didn't see the errors on this kernel. Or Chris mentioned a problem we used to have with xfstests where we'd do mkfs but the pages wouldn't make it to disk before we mounted so you'd see weird things right after mkfs. This is fixed upstream but I don't think it's in fedora kernels, but test on btrfs-next to make sure it really does go away. I have confirmed that btrfs-next kernel does NOT print any of these errors. This kernel is also able to complete the stress test (except if btrfs-progs is updated to Rawhide -- I filed a separate bug 816346 to track that issue). This bug is back in Rawhide (kernel-3.8.0-0.rc7.git0.1.fc19.x86_64): mount -o /dev/sda2 /sysroot/ [ 8.474934] device label ROOT devid 1 transid 2 /dev/sda2 [ 8.570619] device label ROOT devid 1 transid 2 /dev/sda2 [ 8.581891] btrfs: disk space caching is enabled [ 8.594146] btrfs bad tree block start 0 4194304 [ 8.595144] btrfs: failed to read tree root on sda2 [ 8.605308] btrfs: open_ctree failed mount: wrong fs type, bad option, bad superblock on /dev/sda2, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so Likely to be a generic caching problem, ie. the same as bug 863978. *** This bug has been marked as a duplicate of bug 863978 *** |