Today, out of the blue my box decided to do the RAID check on my MD devices. I can’t remember seeing it before while I was running Gentoo, but now with Fedora things feel somewhat different. Fedora does automate quite a few things out of the box – the things I have omitted in my previous Gentoo experience.
What have caught my attention was both high load on machine (out of the blue) and:
# cat /proc/mdstat Personalities : [raid1] [raid0] md126 : active raid1 sdc6 sda6 308793280 blocks [2/2] [UU] [========>............] check = 40.7% (125758464/308793280) finish=43.7min speed=69702K/sec
which lead me to a nearby Google outlet where I immediately borrowed some wisdom on a somewhat related subject: disks and S.M.A.R.T.:
# smartctl --health /dev/sdc smartctl 5.41 2011-06-09 r3365 [x86_64-linux-188.8.131.52-32.fc15.x86_64] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 053 040 045 Old_age Always In_the_past 47 (2 51 47 25)
so after enjoying rather interesting feature (smartctl that is) I have also checked around and found out that in some configurations it’s an “automatic behavior”. Which lead me to further discoveries this time from Ubuntu-land and ended up in glorious discovery of “magic device” in my posession:
# cat /etc/cron.d/raid-check # Run system wide raid-check once a week on Sunday at 1am by default 0 1 * * Sun root /usr/sbin/raid-check
…back to sorting out the rest of my Gentoo -> Fedora migration…