All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
To: Mitchell Laks <mlaks@post.harvard.edu>
Cc: linux-raid@vger.kernel.org
Subject: Re: raid 1 errors then I failed and removed the drive. now cant tell which one it was?
Date: Tue, 16 Apr 2013 18:03:38 +0200 (CEST)	[thread overview]
Message-ID: <7574434.4.1366128218698.JavaMail.root@zimbra> (raw)
In-Reply-To: <20130416042742.GA12964@earthlink.net>

> [730639.815511] ata1.00: cmd c8/00:08:ef:9f:90/00:00:00:00:00/e1 tag 0
> dma 4096 in
> [730639.815513] res 51/40:00:f4:9f:90/40:00:01:00:00/e1 Emask 0x9
> (media error)
> [730639.824457] ata1.00: status: { DRDY ERR }
> [730639.828930] ata1.00: error: { UNC }
> [730639.848936] ata1.00: configured for UDMA/33

If the drives support scterc, then it should be enabled to allow the drive to fail a single sector quickly without going into deep recovery mode. Run "smartctl -l scterc /dev/disk" to check if it's enabled. To enable it for drives supporting it, and allow higher timeouts for those who don't, I have the following in my /etc/rc.local to do this:

for i in {b..h}
do
	dev=sd$i
	smartctl -l scterc,70,70 /dev/$dev || echo 180 > /sys/block/$dev/device/timeout
done

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@karlsbakk.net
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2013-04-16 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16  4:27 raid 1 errors then I failed and removed the drive. now cant tell which one it was? Mitchell Laks
2013-04-16  7:46 ` Robin Hill
2013-04-15 17:20   ` Oliver Schinagl
2013-04-16 16:03 ` Roy Sigurd Karlsbakk [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=7574434.4.1366128218698.JavaMail.root@zimbra \
    --to=roy@karlsbakk.net \
    --cc=linux-raid@vger.kernel.org \
    --cc=mlaks@post.harvard.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.