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

- From: Guillaume Filion \<hidden\>
- Date: 2006-09-04 13:34:48 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2006/09/6598321
- Thread: https://ratatoskr.run/linux-raid/2006/09/6598321/t.md

```text
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/
```

## Attachments

- [PGP.sig](https://ratatoskr.run/linux-raid/2006/09/6598321/attachment/0) (application/pgp-signature, 186 bytes)
