Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177757 > unrolled thread

Re: HELP! Re: How to fix I/O errors? (SOLVED)

Started byMarc Auslander <marcslists@gmail.com>
First post2017-02-12 21:50 +0100
Last post2017-02-12 21:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: HELP! Re: How to fix I/O errors? (SOLVED) Marc Auslander <marcslists@gmail.com> - 2017-02-12 21:50 +0100

#177757 — Re: HELP! Re: How to fix I/O errors? (SOLVED)

FromMarc Auslander <marcslists@gmail.com>
Date2017-02-12 21:50 +0100
SubjectRe: HELP! Re: How to fix I/O errors? (SOLVED)
Message-ID<ta9fQ-2ui-7@gated-at.bofh.it>
Marc Shapiro <marcnshap@gmail.com> writes:

> BTW, what is your third partition, and why would you not separate it
> now if starting from scratch?
My third partition is for backups which I make to protect against
software or operator error.  At one point it was on a separate disk
since disks were small and without LVM had to be a different
partition/file system.
>
>
> One other question.  If using raid, how do you know when a disk is
> starting to have trouble, as mine did?  Since the whole purpose of
...
> Marc

Ok - I'm pretty paranoid about that.  smart is checking.
mdadm will notice if a disk is bad and turn
it off, so to speak.  Again in the logs.
I run a cron job to check form smart errors based on:

    smartctl -l error -q errorsonly "device"
    smartctl -H -q errorsonly "device"

But I've always checked all my disks once a week.  A root cron job
reads the whole disk with dd into /dev/null.  Any error get logged, of
course.  Separately, a cron job scans syslog and syslog.1 grepping for
"IO Error" and informs me by email if any new errors are found.  This
catches error in the dd check but also actual errors in operation.

[toc] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web