Re: checkarray: E: no kernel support for parity checks.

From
Neil Brown <hidden>
Date
2006-09-04 21:55:17
On Monday September 4, gfk@logidac.com wrote:
Hi,

I'm not sure if this is the right place to ask this question, but a 
Google search didn't turned out anything relevant, so I'm taking a 
chance here.

I have my root on software raid on Debian and every night, cron is 
sending me this error:
-----
Subject: Cron <root@ali> [ -x /usr/share/mdadm/checkarray ] && 
/usr/share/mdadm/checkarray --cron --all --quiet

checkarray: E: no kernel support for parity checks.
-----

Looking at the code, it looks like this is where the error is reported:
if [ -z "$(ls /sys/block/md*/md/sync_action 2>/dev/null)" ]; then
   [ $quiet -lt 2 ] && echo "$PROGNAME: E: no kernel support for parity 
checks." >&2
   exit 3
fi

My /sys directory is empty:
gfk@ali:~$ ls -ld /sys
drwxr-xr-x 2 root root 4096 Nov 12  2005 /sys
gfk@ali:~$ ls -l /sys
total 0

Is it normal that /sys is empty? I can't find how to populate it, if 
someone could give me a clue... :-)
mount -t sysfs sysfs /sys

NeilBrown
Thread (1 message) 1 message, 1 author, last reply 2006-09-04
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