General support questions
7 posts • Page 1 of 1
There is a script run from /etc/cron.d/raid-check that is run every Sunday that does this. It ends up executing /usr/sbin/raid-check and if you read that, you can see how it triggers a check. You can also read /etc/sysconfig/raid-check
I looked into what the script does, but the file doesn't exist:
Code: Select all
# echo "check" > /sys/block/md0/md/sync_action -bash: /sys/block/md0/md/sync_action: Permission denied # ls /sys/block/md0/md/ array_size bitmap component_size dev-sdb layout max_read_errors new_dev rd0 reshape_direction resync_start array_state chunk_size consistency_policy dev-sdc level metadata_version raid_disks rd1 reshape_position safe_mode_delay # more /proc/mdstat Personalities : [raid0] md0 : active raid0 sdc sdb 1953260544 blocks super 1.2 512k chunks unused devices: <none>
You can't check it because it's RAID 0 and there is no redundancy to check. It's not RAID 1.
Better to find out about RAID 0 vs 1 before it fails...