You are not logged in.
Pages: 1
hi, did a fresh install (using august download), following the wiki with btrfs on root
All looks good, but I'm getting the following errors.
I opened the box and checked all the disk cables. From what I've read the csum could be a number of issues ???
Running latest kernel 3.10.9 and everything is up to date.
Any suggestions on how to fix ?
Thanks,
Mark.
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 0 csum 2966825388 private 3797061224
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 4096 csum 1883159175 private 3777321618
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 8192 csum 1814359061 private 2496585389
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 12288 csum 3242761640 private 2087603209
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 0 csum 2966825388 private 3797061224
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 4096 csum 1883159175 private 3777321618
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 8192 csum 1814359061 private 2496585389
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 12288 csum 3242761640 private 2087603209
Aug 27 12:44:33 avatar kernel: btrfs read error corrected: ino 133878 off 0 (dev /dev/sda3 sector 4728024)
Aug 27 12:44:33 avatar kernel: btrfs read error corrected: ino 133878 off 4096 (dev /dev/sda3 sector 4728032)
Aug 27 12:44:33 avatar kernel: btrfs read error corrected: ino 133878 off 8192 (dev /dev/sda3 sector 4728040)
Aug 27 12:44:33 avatar kernel: btrfs read error corrected: ino 133878 off 12288 (dev /dev/sda3 sector 4728048)
Aug 27 12:44:33 avatar kernel: BTRFS info (device sdb2): csum failed ino 133878 off 16384 csum 848565817 private 4159424615
Aug 27 12:44:33 avatar kernel: btrfs read error corrected: ino 133878 off 16384 (dev /dev/sda3 sector 4728056)
Aug 27 12:44:38 avatar kernel: parent transid verify failed on 7972704256 wanted 24152 found 22319
Aug 27 12:44:38 avatar kernel: btrfs read error corrected: ino 1 off 7972704256 (dev /dev/sda3 sector 2555240)Last edited by markbrazil (2013-08-27 04:14:29)
Offline
This is something you should ask on the #btrfs IRC channel or the btrfs mailing list.
But anyway, how did you make your btrfs filesystem? From the fact that it is self correcting, it appears as though you have it in the multi-device raid1 or raid10 (I sure hope you haven't set up a raid5 or raid6 as those are not exactly ready at this point).
From that small snippet of logs it would appear as though you have one device of at least two that seems to be failing or has something wrong with it in some way. The reason I say that is because you are seeing all the errors coming from sdb2 while all the corrections are being verified and fixed off of sda3. Without more info about how your system is set up though, anything else would just be guesses.
BTW, you need to use code blocks for things like that output there. Please fix that post.
Offline
hi,
fixed the code block.
the machine has 4 disks, which i used raid10 for both data & meta.
You are right the errors do appear to be coming only from one of the disks sdb2.
sda was setup with 3 partitions, 2mb boot (for grub), swap & a partition for btrfs. Each of the other disks was setup with a swap & a second partition for btrfs.
This is something you should ask on the #btrfs IRC channel or the btrfs mailing list.
But anyway, how did you make your btrfs filesystem? From the fact that it is self correcting, it appears as though you have it in the multi-device raid1 or raid10 (I sure hope you haven't set up a raid5 or raid6 as those are not exactly ready at this point).
From that small snippet of logs it would appear as though you have one device of at least two that seems to be failing or has something wrong with it in some way. The reason I say that is because you are seeing all the errors coming from sdb2 while all the corrections are being verified and fixed off of sda3. Without more info about how your system is set up though, anything else would just be guesses.
BTW, you need to use code blocks for things like that output there. Please fix that post.
Offline
So are you seeing these errors over and over again? Or are they able to be fixed and have the machine move on with things? Maybe you should run a scrub on your system to see how many errors show up (if thats not what you were already doing). If you see most or all of the errors coming from that single disk, then you know it is likely something wrong with that particular one.
You should also probably run smartmontools on your disks… or maybe just the one that is throwing so many errors. It sure is a good thing you decided to do a raid10.
BTW, nice code block and quote block ![]()
Edit: Oh and one more thing, you should bottom post instead of top post. That is, put your response below the quote instead of above, as though it is a conversation.
Last edited by WonderWoofy (2013-08-27 03:49:46)
Offline
So are you seeing these errors over and over again? Or are they able to be fixed and have the machine move on with things? Maybe you should run a scrub on your system to see how many errors show up (if thats not what you were already doing). If you see most or all of the errors coming from that single disk, then you know it is likely something wrong with that particular one.
You should also probably run smartmontools on your disks… or maybe just the one that is throwing so many errors. It sure is a good thing you decided to do a raid10.
BTW, nice code block and quote block
Edit: Oh and one more thing, you should bottom post instead of top post. That is, put your response below the quote instead of above, as though it is a conversation.
thanks for the reply.
it is a new machine, so i've been copying a lot of data over. Yes I do see the same errors over & over.
I've run scrub. Wow, it just corrected a lot of errors !
# btrfs scrub status /
scrub status for 9963a612-87a9-4483-9515-b7f3d3677312
scrub started at Tue Aug 27 13:51:43 2013 and finished after 241 seconds
total bytes scrubbed: 23.56GB with 27914 errors
error details: verify=1005 csum=26909
corrected errors: 27914, uncorrectable errors: 0, unverified errors: 0A second scrub, ran without any errors.
I've starting copying files again, and no new errors have appeared in journalctl.
It looks like the scrub fixed the problem.
Offline
WonderWoofy thank you for all your help
Offline
Keep an eye on it though. The fact that they were all on one disk is of concern. Also, I'm not sure how knowledgeable about btrfs you are, but 'btrfs scrub' is something that you should be running regularly. I have mine set up to run weekly, though my btrfs filesystem is now on only a single SSD.
Also, you should be running WorMzy's btrfs-progs-git from the AUR, as there are a number of things that the official package doesn't provide.
Offline
Keep an eye on it though. The fact that they were all on one disk is of concern. Also, I'm not sure how knowledgeable about btrfs you are, but 'btrfs scrub' is something that you should be running regularly. I have mine set up to run weekly, though my btrfs filesystem is now on only a single SSD.
Also, you should be running WorMzy's btrfs-progs-git from the AUR, as there are a number of things that the official package doesn't provide.
Very new to btrfs. I first tried out on a single disk laptop and all was working great, so I decided to do a new server with 4 disks.
Thanks thats a good idea, I'll setup a weekly job for scrub and I'll install btrfs-progs-git.
Offline
You should also have a look through the btrfs wiki. Not our wiki page, but the actual btrfs wiki. There are a whole crap load of features that are available that are pretty awesome. Recovering from issues has not really been pinned down to a standard procedure yet either. So there is a page on that there that should be certainly read through.
The question of what is currently the recommended means of repair on the btrfs mailing list. Here is the response from Hugo Mills:
Let's assume that you don't have a physical device failure (which
is a different set of tools -- mount -odegraded, btrfs dev del
missing).First thing to do is to take a btrfs-image -c9 -t4 of the
filesystem, and keep a copy of the output to show josef.Then start with -orecovery and -oro,recovery for pretty much
anything.If those fail, then look in dmesg for errors relating to the log
tree -- if that's corrupt and can't be read (or causes a crash), use
btrfs-zero-log.If there's problems with the chunk tree -- the only one I've seen
recently was reporting something like "can't map address" -- then
chunk-recover may be of use.After that, btrfsck is probably the next thing to try. If options
-s1, -s2, -s3 have any success, then btrfs-select-super will help by
replacing the superblock with one that works. If that's not going to
be useful, fall back to btrfsck --repair.Finally, btrfsck --repair --init-extent-tree may be necessary if
there's a damaged extent tree. Finally, if you've got corruption in
the checksums, there's --init-csum-tree.Hugo.
Offline
Pages: 1