linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Duncan <1i5t5.duncan@cox.net>
To: linux-btrfs@vger.kernel.org
Subject: Re: Read i/o errs and disk replacement
Date: Tue, 18 Feb 2014 22:54:18 +0000 (UTC)	[thread overview]
Message-ID: <pan$7318b$591fdc9$be7ce577$8412a779@cox.net> (raw)
In-Reply-To: 4122CB7E-0AF1-4808-9FF6-91E875D6E1E9@colorremedies.com

Chris Murphy posted on Tue, 18 Feb 2014 11:48:49 -0700 as excerpted:

>> This is not btrfs' fault but due to an hd error. I saw in the system
>> logs
>>    btrfs: bdev /dev/sdb errs: wr 0, rd 2, flush 0, corrupt 0, gen 0
>> and a subsequent check on btrfs showed
>>    [/dev/sdb].write_io_errs   0 [/dev/sdb].read_io_errs    2
>>    [/dev/sdb].flush_io_errs   0 [/dev/sdb].corruption_errs 0
>>    [/dev/sdb].generation_errs 0
>> 
>> So, I have a read error on sdb.
>>

It's worth noting that those errors don't reset automatically at boot or 
whatever.  The idea is to give a sysadmin some idea how many errors have 
happened in the filesystem's lifetime or since the last manual reset.  So 
as long as the number of errors isn't increasing at each boot, it's 
probably a historical and long since corrected error.


btrfs device stats -z

can be used to reset to zero if desired.  See the btrfs (8) manpage.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


      parent reply	other threads:[~2014-02-18 22:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-18 13:19 Read i/o errs and disk replacement Wolfgang Mader
2014-02-18 18:48 ` Chris Murphy
2014-02-18 21:33   ` Wolfgang Mader
2014-02-18 22:02     ` Chris Murphy
2014-02-18 22:45       ` Duncan
2014-02-18 23:12         ` Chris Murphy
2014-02-19 20:05       ` Wolfgang Mader
2014-02-18 22:54   ` Duncan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='pan$7318b$591fdc9$be7ce577$8412a779@cox.net' \
    --to=1i5t5.duncan@cox.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).