Re: Care and feeding of RAID?

From
Luca Berra <hidden>
Date
2006-09-06 07:16:09
On Tue, Sep 05, 2006 at 05:47:57PM -0400, Steve Cousins wrote:

Luca Berra wrote:
quoted
On Tue, Sep 05, 2006 at 02:29:48PM -0400, Steve Cousins wrote:
quoted

Benjamin Schieder wrote:
quoted
On 05.09.2006 11:03:45, Steve Cousins wrote:
quoted
Would people be willing to list their setup? Including such things as mdadm.conf file, crontab -l, plus scripts that they use to check the smart data and the array, mdadm daemon parameters and anything else that is relevant to checking and maintaining an array?


Personally, I use this script from cron:
http://shellscripts.org/project/hdtest

nice race :)
I'm not sure what you mean?
tmp="`mktemp`"
rm -f ${tmp}
touch ${tmp}

the last two lines are unneeded and can be tricked to overwrite
arbitrary filenames

I tried smartctl -t short -d scsi /dev/sdb where /dev/sdb is a 250GB SATA drive.
it is '-d ata'
What command do you use for SATA drives?  The sourceforge page implies that -d sata doesn't exist yet.  I'm using FC 5 with 2.6.17 kernel and smartmontools version 5.33.  Do you have a sample configuration script that you could show me?
# monitor two sata disks, show temperature in degrees,
# do a long test every sunday and a short every other day
# at 1am on sda and at 2am on sdb, YMMV
/dev/sda -d ata -a -R 194 -s (L/../../7|S/../../[123456])/01
/dev/sdb -d ata -a -R 194 -s (L/../../7|S/../../[123456])/02

-- 
Luca Berra -- bluca@comedia.it
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
Thread (1 message) 1 message, 1 author, last reply 2006-09-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help