Skip to contentSkip to conversation

Kernel 2.6.36 btrfs csum bugreport

DISCUSSION Andreas Bauer 3 participants 3 messages Nov 1, 2010 Btrfs file system

lore
Share & tools
lore
#0 lore raw

So I conclude that these messages are faulty because data is read correctly.
In addition, when you have more than one btrfs you cannot see from the message which fs it is refering to.

Is this a raid1 or a dup array?

No, plain vanilla partition on physical hard disk. Btrfs was made with the command "mkfs.btrfs /dev/sdc1" no extra arguments.

bye, A.B.

#1 lore raw
Quoted 1 line · Andreas Bauer

So I conclude that these messages are faulty because data is read cor=

rectly.

Quoted 1 line

=A0In addition, when you have more than one btrfs you cannot see from=

the message

Quoted 5 lines

=A0which fs it is refering to.

=A0Is this a raid1 or a dup array?

No, plain vanilla partition on physical hard disk. Btrfs was made wit=

h the command "mkfs.btrfs /dev/sdc1" no extra arguments.

By default, metadata is duplicated, thus it could be that BTRFS is using the correct copy of the metadata after finding checksum errors in the first copy.

Daniel
--=20
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 2 lines · Daniel J Blueman
Quoted 1 line · Andreas Bauer

So I conclude that these messages are faulty because data is read co=

rrectly.

Quoted 1 line
Quoted 1 line

=A0In addition, when you have more than one btrfs you cannot see fro=

m the message

Quoted 5 lines
Quoted 5 lines

=A0which fs it is refering to.

=A0Is this a raid1 or a dup array?

No, plain vanilla partition on physical hard disk. Btrfs was made wi=

th the command "mkfs.btrfs /dev/sdc1" no extra arguments.

Quoted 4 lines

By default, metadata is duplicated, thus it could be that BTRFS is using the correct copy of the metadata after finding checksum errors in the first copy.

Ahhhhhhh, and that makes this make sense:

Andreas, have you checked which file(s) are giving the errors? if not, you can use "find /whatever/mountpoint -xdev -inum 5098 -print" to get the filename. And I would bet that it's small enough that it's being inlined into the metadata block group, and therefore covered under the default "dup" profile of that block group, which is why you're getting the actual file data back.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" = in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html