checkarray: E: no kernel support for parity checks.

Started by Guillaume Filion on Sep 4, 2006

open the first message on its own page

Message details and related content
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... :-)

Thanks a lot,
GFK's
-- 
Guillaume Filion, ing. jr
Logidac Tech., Beaumont, Québec, Canada - http://logidac.com/
PGP Key and more: http://guillaume.filion.org/
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