From: David T-G <davidtg-robot@justpickone.org>
To: Linux RAID list <linux-raid@vger.kernel.org>
Subject: Re: batches and serial numbers
Date: Sun, 4 Dec 2022 02:47:11 +0000 [thread overview]
Message-ID: <20221204024711.GE19721@jpo> (raw)
In-Reply-To: <38fdcd1b-2122-1f06-8dfe-5b2f8ffa8670@youngman.org.uk>
Wol --
...and then Wols Lists said...
% On 03/12/2022 18:04, David T-G wrote:
% > % It's why my raid is composed of a Seagate Barracuda 3TB (slap wrist, don't
% > % use Barracudas!), 2 x 4TB Seagate Ironwolves, and 1 Toshiba 8TB N300.
% >
% > These are Tosh X300s, FWIW. Like 'em so far!
%
% OUCH !!!
%
% https://raid.wiki.kernel.org/index.php/Timeout_Mismatch
No, I'm familiar.
%
% Do the X300s have ERC, and what's the timeout? Barracudas are nice drives, I
Yep and good.
diskfarm:~ # /usr/local/bin/smartctl-disks-timeout.sh
Drive timeouts: sda Y ; sdb Y ; sdc Y ; sdd Y ; sde Y ; sdf 180 ; sdg 180 ; sdh Y ; sdi 180 ; sdj Y ; sdk Y ; sdl 180 ; sdm Y ;
I'll append my little enhancement of your script after my sig in case you
find the tweaks interesting.
% like 'em, but they're not good in raid. And the BarraCudas even less so!
% I've got a nasty feeling your X300s are the same!
They have been good to me so far. I was originally going to get N300s,
but I couldn't at the time, and the X300s read as the same for everything
I could find. Does your N300 have ERC with a short timeout enabled by
default?
%
% I said it's easy to get slices kicked out due to misconfiguration - that's
% exactly what happens with Barracudas, and I suspect your X300s suffer the
% exact same problem ...
Well, perhaps. I'd love to have been able to pin it down, but I never
saw any errors and, perhaps because it was too late by then, couldn't
track them down with additional help from folks here.
%
% Read up, and come back if you've got any problems. The fix is that script,
% but it means if anything goes wrong you're going to be cursing "that damn
% slow computer".
*grin*
%
% Cheers,
% Wol
Thanks again & HANW
:-D
--
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt
######################################################################
#!/bin/sh
# set timeouts manually where needed
CRED='^[[31m'
CYLO='^[[33m'
CGRN='^[[32m'
CBLU='^[[34m'
CBLK='^[[0m'
# set the timeouts on the local drives
printf "${CBLU}Drive timeouts${CBLK}: "
for DISK in sda sdb sdc sdd sde sdf sdg sdh # a-d on mobo ; e-h on card
# do i want to apply this to USB drives that show up? hmmm...
do
printf "$DISK "
smartctl -q errorsonly -l scterc,70,70 /dev/$DISK
if [ 4 -eq $? ]
then
echo 180 > /sys/block/$DISK/device/timeout
printf "${CYLO}180"
else
printf "${CGRN}Y"
fi
printf "${CBLK} ; "
done
echo ''
next prev parent reply other threads:[~2022-12-04 2:47 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 22:07 how do i fix these RAID5 arrays? David T-G
2022-11-23 22:28 ` Roman Mamedov
2022-11-24 0:01 ` Roger Heflin
2022-11-24 21:20 ` David T-G
2022-11-24 21:49 ` Wol
2022-11-25 13:36 ` and dm-integrity, too (was "Re: how do i fix these RAID5 arrays?") David T-G
2022-11-24 21:10 ` how do i fix these RAID5 arrays? David T-G
2022-11-24 21:33 ` Wol
2022-11-25 1:16 ` Roger Heflin
2022-11-25 13:22 ` David T-G
[not found] ` <CAAMCDed1-4zFgHMS760dO1pThtkrn8K+FMuG-QQ+9W-FE0iq9Q@mail.gmail.com>
2022-11-25 19:49 ` David T-G
2022-11-28 14:24 ` md RAID0 can be grown (was "Re: how do i fix these RAID5 arrays?") David T-G
2022-11-29 21:17 ` Jani Partanen
2022-11-29 22:22 ` Roman Mamedov
2022-12-03 5:41 ` md vs LVM and VMs and ... (was "Re: md RAID0 can be grown (was ...") David T-G
2022-12-03 12:06 ` Wols Lists
2022-12-03 18:04 ` batches and serial numbers (was "Re: md vs LVM and VMs and ...") David T-G
2022-12-03 20:07 ` Wols Lists
2022-12-04 2:47 ` David T-G [this message]
2022-12-04 13:54 ` batches and serial numbers Wols Lists
2022-12-04 13:04 ` batches and serial numbers (was "Re: md vs LVM and VMs and ...") Reindl Harald
2022-12-03 5:41 ` md RAID0 can be grown David T-G
2022-11-25 13:30 ` about linear and about RAID10 (was "Re: how do i fix these RAID5 arrays?") David T-G
2022-11-25 14:23 ` Wols Lists
2022-11-25 19:50 ` about linear and about RAID10 David T-G
2022-11-25 18:00 ` about linear and about RAID10 (was "Re: how do i fix these RAID5 arrays?") Roger Heflin
2022-11-28 14:46 ` about linear and about RAID10 David T-G
2022-11-28 15:32 ` Reindl Harald
[not found] ` <CAAMCDecXkcmUe=ZFnJ_NndND0C2=D5qSoj1Hohsrty8y1uqdfw@mail.gmail.com>
2022-11-28 17:03 ` Reindl Harald
2022-11-28 20:45 ` John Stoffel
2022-12-03 5:58 ` David T-G
2022-12-03 12:16 ` Wols Lists
2022-12-03 18:27 ` David T-G
2022-12-03 23:26 ` Wol
2022-12-04 2:53 ` David T-G
2022-12-04 13:13 ` Reindl Harald
2022-12-04 13:08 ` Reindl Harald
2022-12-03 5:45 ` David T-G
2022-12-03 12:20 ` Reindl Harald
[not found] ` <CAAMCDee_YrhXo+5hp31YXgUHkyuUr-zTXOqi0-HUjMrHpYMkTQ@mail.gmail.com>
2022-12-03 5:52 ` stripe size checking (was "Re: about linear and about RAID10") David T-G
2022-11-25 14:49 ` how do i fix these RAID5 arrays? Wols Lists
2022-11-26 20:02 ` John Stoffel
2022-11-27 9:33 ` Wols Lists
2022-11-27 11:46 ` Reindl Harald
2022-11-27 11:52 ` Wols Lists
2022-11-27 12:06 ` Reindl Harald
2022-11-27 14:33 ` Wol
2022-11-27 18:08 ` Roman Mamedov
2022-11-27 19:21 ` Wol
2022-11-28 1:26 ` Reindl Harald
2022-11-27 18:23 ` Reindl Harald
2022-11-27 19:30 ` Wol
2022-11-27 19:51 ` Reindl Harald
2022-11-27 14:10 ` piergiorgio.sartor
2022-11-27 18:21 ` Reindl Harald
2022-11-27 19:37 ` Piergiorgio Sartor
2022-11-27 19:52 ` Reindl Harald
2022-11-27 22:05 ` Wol
2022-11-27 22:08 ` Reindl Harald
2022-11-27 22:11 ` Reindl Harald
2022-11-27 22:17 ` Roman Mamedov
2022-11-27 14:58 ` John Stoffel
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=20221204024711.GE19721@jpo \
--to=davidtg-robot@justpickone.org \
--cc=linux-raid@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