Bug 510946 - /sys/block/md2/md/sync_action: No such file or directory
Summary: /sys/block/md2/md/sync_action: No such file or directory
Keywords:
Status: CLOSED DUPLICATE of bug 505587
Alias: None
Product: Fedora
Classification: Fedora
Component: mdadm
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Doug Ledford
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-12 18:13 UTC by Jan ONDREJ
Modified: 2009-07-21 17:48 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-07-21 17:48:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.