Bug 505587

Summary: mdadm schedules sync checks on RAID-0 arrays
Product: [Fedora] Fedora Reporter: Pim Zandbergen <p.zandbergen>
Component: mdadmAssignee: Doug Ledford <dledford>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: dledford, ondrejj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.0-1.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-22 22:00:12 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 Pim Zandbergen 2009-06-12 14:25:20 UTC
Description of problem:
mdadm install a cron job in /etc/cron.weekly that schedules
check actions that are not appropriate for RAID-0

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

How reproducible:
Always

Steps to Reproduce:
1. install mdadm
2. configure a RAID-0 array
3. wait for the cron job to finish
  
Actual results:
Error message by e-mail
/etc/cron.weekly/raid-check: line 4: /sys/block/md0/md/sync_action: No such file or directory


Expected results:
No e-mails containg error messages


Additional info:

Comment 1 Doug Ledford 2009-06-29 19:31:23 UTC
This should be fixed in mdadm-3.0-1.fc11

Comment 2 Fedora Update System 2009-06-29 19:39:16 UTC
mdadm-3.0-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/mdadm-3.0-1.fc11

Comment 3 Fedora Update System 2009-07-02 05:48:06 UTC
mdadm-3.0-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mdadm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7227

Comment 4 Doug Ledford 2009-07-21 17:48:00 UTC
*** Bug 510946 has been marked as a duplicate of this bug. ***

Comment 5 Jan ONDREJ 2009-07-21 18:13:55 UTC
Looks that this will work for me. Tested running cron.weekly scrip manually from shell without any problem.

Comment 6 Fedora Update System 2009-07-22 22:00:07 UTC
mdadm-3.0-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.