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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday September 4, gfk@xxxxxxxxxxx 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
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux