rpms/mdadm/F-11 mdadm.spec,1.69,1.70 raid-check,1.1,1.2

Doug Ledford dledford at fedoraproject.org
Tue May 19 17:05:00 UTC 2009


Author: dledford

Update of /cvs/extras/rpms/mdadm/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10621

Modified Files:
	mdadm.spec raid-check 
Log Message:
* Tue May 19 2009 Doug Ledford <dledford at redhat.com> - 3.0-0.devel3.7
- Only check raid devices on weekly scrubbing, don't attempt to repair them



Index: mdadm.spec
===================================================================
RCS file: /cvs/extras/rpms/mdadm/F-11/mdadm.spec,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -p -r1.69 -r1.70
--- mdadm.spec	17 Apr 2009 17:32:16 -0000	1.69
+++ mdadm.spec	19 May 2009 17:04:30 -0000	1.70
@@ -1,7 +1,7 @@
 Summary:     The mdadm program controls Linux md devices (software RAID arrays)
 Name:        mdadm
 Version:     3.0
-Release:     0.devel3.6%{?dist}
+Release:     0.devel3.7%{?dist}
 Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}-devel3.tar.bz2
 Source1:     mdmonitor.init
 Source2:     raid-check
@@ -87,6 +87,9 @@ fi
 %attr(0700,root,root) %dir /var/run/mdadm
 
 %changelog
+* Tue May 19 2009 Doug Ledford <dledford at redhat.com> - 3.0-0.devel3.7
+- Only check raid devices on weekly scrubbing, don't attempt to repair them
+
 * Fri Apr 17 2009 Doug Ledford <dledford at redhat.com> - 3.0-0.devel3.6
 - Move the mdadm.map file from /dev/md to just /dev so we don't have to
   create a /dev/md directory in the installer


Index: raid-check
===================================================================
RCS file: /cvs/extras/rpms/mdadm/F-11/raid-check,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- raid-check	18 Mar 2009 18:25:56 -0000	1.1
+++ raid-check	19 May 2009 17:04:30 -0000	1.2
@@ -1,6 +1,6 @@
 #!/bin/bash
 
 for dev in `grep "^md.*: active" /proc/mdstat | cut -f 1 -d ' '`; do
-	echo "repair" > /sys/block/$dev/md/sync_action
+	echo "check" > /sys/block/$dev/md/sync_action
 done
 




More information about the fedora-extras-commits mailing list