Bug 510946

Summary: /sys/block/md2/md/sync_action: No such file or directory
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: mdadmAssignee: Doug Ledford <dledford>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: dledford
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-21 17:48:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan ONDREJ 2009-07-12 18:13:21 UTC
Description of problem:
Looks like there is no sync_action file in proc for raid0 devices and raid-check script for cron reports an script error for these devices.

Version-Release number of selected component (if applicable):
mdadm-3.0-0.devel3.7.fc11.x86_64

How reproducible:
always

Steps to Reproduce:
1. create an raid0 device
2. run: /etc/cron.weekly/raid-check
  
Actual results:
[root@kvm2 ~]# /etc/cron.weekly/raid-check 
/etc/cron.weekly/raid-check: riadok 4: /sys/block/md2/md/sync_action: Adresár alebo súbor neexistuje

Expected results:
Nothing.

Additional info:
Please, update your list of devices to only those, which are redundant arrays.
You also can check, if there is /sys/block/md*/md/sync_action file for current device, if not, silently skip this device.

Comment 1 Doug Ledford 2009-07-21 17:48:00 UTC

*** This bug has been marked as a duplicate of bug 505587 ***