Why is there no cron job to run raid-check in RHEL 9+ like there was in RHEL 8?
Issue
The raid-check is enabled by default in config, and the cron job was created automatically in RHEL 8 but not in RHEL 9:
RHEL 8:
[root@test ~]# tail -8 /etc/sysconfig/raid-check
ENABLED=yes
CHECK=check
NICE=low
# To check devs /dev/md0 and /dev/md3, use "md0 md3"
CHECK_DEVS=""
REPAIR_DEVS=""
SKIP_DEVS=""
MAXCONCURRENT=
[root@test ~]# 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
RHEL 9:
[root@test ~]# tail -8 /etc/sysconfig/raid-check
ENABLED=yes
CHECK=check
NICE=low
# To check devs /dev/md0 and /dev/md3, use "md0 md3"
CHECK_DEVS=""
REPAIR_DEVS=""
SKIP_DEVS=""
MAXCONCURRENT=
[root@test ~]# cat /etc/cron.d/raid-check
cat: /etc/cron.d/raid-check: No such file or directory
Environment
Red Hat Enterprise Linux 9
mdraid
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.