Commit Graph

193 Commits

Author SHA1 Message Date
Doug Ledford
efe92bcae0 - Clean up directory mess once and for all
- Add incremental remove support
2010-04-06 16:45:46 +00:00
Doug Ledford
1a750b7679 - Clean up directory mess once and for all
- Add incremental remove support
2010-04-06 16:32:12 +00:00
Doug Ledford
114a7df1cb - Grab latest upstream release instead of git repo snapshot (bz552344,
bz572561)
- The lack of /dev/md is causing problems, so add code to mapfile.c to
    cause us to create /dev/md if it doesn't exist (bz569019)
2010-03-17 03:34:43 +00:00
Doug Ledford
877588c610 - Newer version of imsm patch that leaves warning, but only when there
actually are too many devices on the command line (bz554974)
2010-02-23 14:53:10 +00:00
Doug Ledford
fd9c51472d - Newer version of imsm patch that leaves warning, but only when there
actually are too many devices on the command line (bz554974)
2010-02-23 14:51:42 +00:00
Doug Ledford
20929c0606 - The uuid patch cause a different problem during assembly, so use a gross
hack to work around the uuid issue that won't break assembly until
    fixed properly upstream (bz567132)
2010-02-22 00:28:48 +00:00
Doug Ledford
3bb9c33abd - The uuid patch cause a different problem during assembly, so use a gross
hack to work around the uuid issue that won't break assembly until
    fixed properly upstream (bz567132)
2010-02-22 00:26:22 +00:00
Doug Ledford
b370167f46 - Fix problem with booting multiple imsm containers when they aren't listed
"just so" in the mdadm.conf file (bz554974)
2010-02-21 15:33:20 +00:00
Doug Ledford
6a8463e3ea - Fix problem with booting multiple imsm containers when they aren't listed
"just so" in the mdadm.conf file (bz554974)
2010-02-21 15:17:14 +00:00
Doug Ledford
6aac98e8e7 - Don't run the raid-check script if the kernel doesn't support md devices
(bz557053)
- Don't report any mismatch_cnt issues on raid1 devices as there are
    legitimate reasons why the count may not be 0 and we are getting enough
    false positives that it renders the check useless (bz554217, bz547128)
2010-02-19 23:54:16 +00:00
Doug Ledford
5a027cad75 - Don't run the raid-check script if the kernel doesn't support md devices
(bz557053)
- Don't report any mismatch_cnt issues on raid1 devices as there are
    legitimate reasons why the count may not be 0 and we are getting enough
    false positives that it renders the check useless (bz554217, bz547128)
2010-02-19 19:24:53 +00:00
Doug Ledford
25ef040df7 - Fix s390/ppc64 UUID byte swap issue 2010-02-18 18:02:36 +00:00
Doug Ledford
9d56628903 - Update to head of upstream git repo, which contains a significant number
of bug fixes we need
2010-02-18 06:42:33 +00:00
Doug Ledford
5ded3b2fef - Update to head of upstream git repo, which contains a significant number
of bug fixes we need
2010-02-17 19:25:15 +00:00
Doug Ledford
af2730f568 - Fix crash when AUTO keyword is in mdadm.conf (bz552342) 2010-01-15 21:38:45 +00:00
Doug Ledford
381a3d3bb5 - Minor tweak to init script for LSB compliance (bz527957) 2009-12-01 22:46:16 +00:00
Doug Ledford
c8f603e0a8 - New upstream release 3.0.3 (bz523320, bz527281)
- Update a couple internal patches
- Drop a patch in that was in Neil's tree for 3.0.3 that we had pulled for
    immediate use to resolve a bug
- Drop the endian patch because it no longer applied cleanly and all
    attempts to reproduce the original problem as reported in bz510605
    failed, even up to and including downloading the specific package that
    was reported as failing in that bug and trying to reproduce with it on
    both ppc and ppc64 hardware and with both ppc and ppc64 versions on the
    64bit hardware. Without a reproducer, it is impossible to determine if
    a rehashed patch to apply to this code would actually solve the
    problem, so remove the patch entirely since the original problem, as
    reported, was an easy to detect DOA issue where installing to a raid
    array was bound to fail on reboot and so we should be able to quickly
    and definitively tell if the problem resurfaces.
- Update the mdmonitor init script for LSB compliance (bz527957)
- Link from mdadm.static man page to mdadm man page (bz529314)
- Fix a problem in the raid-check script (bz523000)
- Fix the intel superblock handler so we can test on non-scsi block devices
2009-11-05 21:34:56 +00:00
Doug Ledford
bf7f590ca9 - New upstream release 3.0.3 (bz523320, bz527281)
- Update a couple internal patches
- Drop a patch in that was in Neil's tree for 3.0.3 that we had pulled for
    immediate use to resolve a bug
- Drop the endian patch because it no longer applied cleanly and all
    attempts to reproduce the original problem as reported in bz510605
    failed, even up to and including downloading the specific package that
    was reported as failing in that bug and trying to reproduce with it on
    both ppc and ppc64 hardware and with both ppc and ppc64 versions on the
    64bit hardware. Without a reproducer, it is impossible to determine if
    a rehashed patch to apply to this code would actually solve the
    problem, so remove the patch entirely since the original problem, as
    reported, was an easy to detect DOA issue where installing to a raid
    array was bound to fail on reboot and so we should be able to quickly
    and definitively tell if the problem resurfaces.
- Update the mdmonitor init script for LSB compliance (bz527957)
- Link from mdadm.static man page to mdadm man page (bz529314)
- Fix a problem in the raid-check script (bz523000)
- Fix the intel superblock handler so we can test on non-scsi block devices
2009-11-05 21:30:16 +00:00
Hans de Goede
fa5ca2339d - New upstream release 3.0.2
- Add a patch fixing mdadm --detail -export segfaults (bz526761, bz523862)
- Add a patch making mdmon store its state under /dev/.mdadm for initrd
    mdmon, rootfs mdmon handover
- Restart mdmon from initscript (when running) for rootfs mdmon handover
2009-10-02 19:36:57 +00:00
Doug Ledford
c261edab2b - Stop some mdmon segfaults (bz523860) 2009-09-17 11:43:33 +00:00
Doug Ledford
e83588671c - Update to current head of upstream git repo for various imsm related
fixes (fixes bz523262)
- Fix display of metadata version in output of Detail mode
- Add UUID output to --detail --export (bz523314)
2009-09-15 19:03:58 +00:00
Doug Ledford
bb4afe8c1c - Improved raid-check script as well as the ability to configure what
devices get checked
- Endian patch for uuid generation
2009-07-24 17:43:39 +00:00
Doug Ledford
d395ee1418 - Remove stale patches already accepted by upstream
- Fix the raid-check script to only try and check a device if it is
    checkable
- Update to official mdadm-3.0 version
- Resolves: bz505587, bz505552
2009-06-29 19:22:06 +00:00
Doug Ledford
f58f390b84 - Move the mdadm.map file from /dev/md/ to /dev/ so the installer doesn't
need to precreate the /dev/md/ directory in order for incremental
    assembly to work
2009-05-19 17:12:19 +00:00
Doug Ledford
8f465351a2 - Only check raid devices automatically, do not attempt to repair them
during the weekly data scrubbing
2009-05-19 14:25:55 +00:00
Doug Ledford
1c823de16c - Fix a few issues with the new code to determine when a device gets to
keep its name and when it doesn't
2009-03-21 01:25:02 +00:00
Doug Ledford
a261cbe6b4 - Change the perms on the udev rules file, it doesn't need to be +x 2009-03-20 21:50:21 +00:00
Doug Ledford
e4f4111870 - Slightly tweak the udev rules to make sure we don't start arrays while
running in rc.sysinit...leave array starting to it instead
- Modify mdadm to put its mapfile in /dev/md instead of /var/run/mdadm
    since at startup /var/run/mdadm is read-only by default and this breaks
    incremental assembly
- Change how mdadm decides to assemble incremental devices using their
    preferred name or a random name to avoid possible conflicts when
    plugging a foreign array into a host
2009-03-20 21:13:38 +00:00
Doug Ledford
f37e19d541 - Change around the mdadm udev rules we ship to avoid a udev file conflict 2009-03-18 18:55:49 +00:00
Doug Ledford
67385865bb - Update to latest devel release
- Remove the no longer necessary udev patch
- Remove the no longer necessary warn patch
- Remove the no longer necessary alias patch
- Update the mdadm.rules file to only pay attention to device adds, not
    changes and to enable incremental assembly
- Add a cron job to run a weekly repair of the array to correct bad sectors
- Resolves: bz474436, bz490972
2009-03-18 18:25:56 +00:00
Jesse Keating
77d3b8d977 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 00:03:42 +00:00
Doug Ledford
4709789787 - Readd our old mdadm rules file that does incremental assembly
- Remove the new mdadm rules file from upstream as we already have this in
    our udev package (and the one in the udev package already has a bug
    fixed)
2009-02-19 21:11:13 +00:00
Doug Ledford
2fd6d0dc52 - Readd our old mdadm rules file that does incremental assembly
- Remove the new mdadm rules file from upstream as we already have this in
    our udev package (and the one in the udev package already has a bug
    fixed)
2009-02-19 20:20:08 +00:00
Doug Ledford
98264cba8a - Update to latest upstream devel release
- Use the udev rules file included with mdadm instead of our own
- Drop all the no longer relevant patches
- Fix a build error in mdopen.c
- Fix the udev rules path in Makefile
- Fix a compile issue with the __le32_to_cpu() macro usage (bad juju to to
    operations on the target of the macro as it could get executed multiple
    times, and gcc now throws an error on that)
- Add some casts to some print statements to keep gcc from complaining
2009-02-13 20:55:51 +00:00
Doug Ledford
d78ea206d2 - Update to latest upstream devel release
- Use the udev rules file included with mdadm instead of our own
- Drop all the no longer relevant patches
- Fix a build error in mdopen.c
- Fix the udev rules path in Makefile
- Fix a compile issue with the __le32_to_cpu() macro usage (bad juju to to
    operations on the target of the macro as it could get executed multiple
    times, and gcc now throws an error on that)
2009-02-13 20:15:04 +00:00
Doug Ledford
bebdcbefc5 - Update to latest upstream devel release
- Use the udev rules file included with mdadm instead of our own
- Drop all the no longer relevant patches
- Fix a build error in mdopen.c
- Fix the udev rules path in Makefile
2009-02-13 14:41:23 +00:00
Doug Ledford
e48e5efc33 - Update to latest upstream devel release
- Use the udev rules file included with mdadm instead of our own
- Drop all the no longer relevant patches
- Fix a build error in mdopen.c
- Fix the udev rules path in Makefile
2009-02-12 15:40:59 +00:00
Doug Ledford
7e3c782e9c - Update to latest upstream devel release
- Use the udev rules file included with mdadm instead of our own
- Drop all the no longer relevant patches
- Fix a build error in mdopen.c
- Fix the udev rules path in Makefile
2009-02-12 15:10:22 +00:00
Doug Ledford
7e22e636df - Updated to latest upstream stable release (#466803)
- Change udev rule to not assemble degraded arrays (#453314)
- Fix metadata matching in config file (#466078)
- Fix assembly of raid10 devices (#444237)
- Fix incremental assembly of partitioned raid devices (#447818)
2008-10-29 18:31:10 +00:00
Doug Ledford
a8863c5bdb - Update to latest upstream version (should resolve #444237)
- Drop incremental patch as it's now part of upstream
- Clean up all the open() calls in the code (#437145)
- Fix the build process to actually generate mdassemble (#446988)
- Update the udev rules to get additional info about arrays being assembled
    from the /etc/mdadm.conf file (--scan option) (#447818)
- Update the udev rules to run degraded arrays (--run option) (#452459)
2008-06-26 23:48:40 +00:00
Bill Nottingham
8fe36f4e44 - make /dev/md if necessary in incremental mode (#429604)
- open RAID devices with O_EXCL to avoid racing against other --incremental
    processes (#433932)
2008-04-17 16:27:33 +00:00
Bill Nottingham
c2e4c0a048 bump release 2008-02-01 22:03:04 +00:00
Bill Nottingham
8ef1ac1e07 - add a udev rules file for device assembly (#429604) 2008-02-01 22:01:46 +00:00
Doug Ledford
648686255b - Bump version and rebuild 2008-01-18 17:52:05 +00:00
Doug Ledford
7fd02eb529 - Update to latest upstream and remove patches upstream has taken 2007-10-19 16:38:10 +00:00
Jesse Keating
42d47f33af - Rebuild for selinux ppc32 issue. 2007-08-29 04:00:04 +00:00
Doug Ledford
901c91d2fb - Oops, if we call -C -e1, minor_version is no longer properly set, fix
that up
- Related: bz230207
2007-07-09 18:49:04 +00:00
Doug Ledford
82d0d14a29 - Oops, had to update the file leak patch, missed one thing
- Minor tweak to return codes in init script and add LSB header
- Resolves: bz244582, bz246980
2007-07-06 16:39:50 +00:00
Doug Ledford
fd828476e8 - Fix a file leak issue when mdadm is in monitor mode
- Update mdadm init script so that status will always run and so return
    codes are standards compliant
- Fix assembly of version 1 superblock devices
- Make the attempt to create an already running device have a clearer error
    message
- Allow the creation of a degraded raid4 array like we allow for raid5
- Make mdadm actually pay attention to raid4 devices when in monitor mode
- Make the mdmonitor script use daemon() correctly
- Fix a bug where manage mode would not add disks correctly under certain
    conditions
- Resolves: bz244582, bz242688, bz230207, bz169596, bz171862, bz171938
- Resolves: bz174642, bz224272, bz186524
2007-07-03 20:04:11 +00:00
Doug Ledford
3aba7df0b0 - Update to latest upstream
- Remove requirement for /usr/sbin/sendmail - it's optional and not on by
    default, and sendmail isn't *required* for mdadm itself to work, and
    isn't even required for the monitoring capability to work, just if you
    want to have the monitoring capability do the automatic email thing
    instead of run your own program (and if you use the program option of
    the monitor capability, your program could email you in a different
    manner entirely)
2007-07-02 15:43:07 +00:00
Doug Ledford
6dfb5a75f7 - More cleanups for merge review process
- Related: bz226134
2007-04-17 00:17:54 +00:00
Doug Ledford
0317f8f78a - Various cleanups as part of merge review process
- Related: bz226134
2007-04-11 15:34:23 +00:00
Doug Ledford
f1d4a31eb1 - Oops, missing a dependency in the Makefile 2007-03-31 13:45:58 +00:00
Doug Ledford
608d0fc41f - Update to latest upstream version 2007-03-31 13:03:11 +00:00
Doug Ledford
ce0fff6111 - Update to latest upstream version
- Remove the mdmpd daemon entirely. Now that multipath tools from the
    lvm/dm packages handles multipath devices well, this is no longer
    needed.
- Various cleanups in the spec file
2007-01-26 19:17:05 +00:00
Doug Ledford
22ba5f588f - Add a fix for the broken printout of array GUID when using the -E --brief
flags
2006-11-09 17:42:25 +00:00
Doug Ledford
4f5acf413b Forgot the changelog 2006-10-13 13:24:28 +00:00
Doug Ledford
caebc5038d Remove a dead patch and update urls 2006-10-13 13:16:51 +00:00
Doug Ledford
89a6f4dc6d Bump to 2.5.4 2006-10-13 13:14:06 +00:00
Doug Ledford
93eab8bad0 Fix a big-endian bug in the bitmap code 2006-10-08 15:18:52 +00:00
Doug Ledford
2c54f76b2b Update to 2.5.3 2006-08-07 14:35:49 +00:00
Jesse Keating
6c62268fb7 bumped for rebuild 2006-07-12 07:19:51 +00:00
Doug Ledford
68b0fa3c1b Update mdadm to 2.5.2 2006-07-07 19:24:16 +00:00
Peter Jones
0df8b72494 -fix build on ppc64 2006-03-09 00:01:27 +00:00
Jeremy Katz
596e0e619a - fix build on ppc 2006-03-08 23:23:52 +00:00
Jeremy Katz
ef319bb169 - update to 2.3.1 to fix raid5 (#184284) 2006-03-08 23:20:13 +00:00
Jesse Keating
85637bb244 bump for bug in double-long on ppc(64) 2006-02-11 04:29:35 +00:00
Jesse Keating
f3e573b925 bump for new gcc/glibc 2006-02-07 12:56:21 +00:00
Jesse Keating
9916b4ef9a gcc update bump 2005-12-09 22:41:58 +00:00
Warren Togami
18134fdf77 - 2.2 upgrade (#167897)
- disable diet because we don't ship it anymore and we don't actually use
    mdassemble now
2005-12-05 17:03:56 +00:00
Doug Ledford
2f225ca405 Fix/cleanup mdmonitor init script 2005-05-16 22:03:20 +00:00
Doug Ledford
67c8300cd8 Put back in obsoletes that got left out 2005-05-16 21:36:00 +00:00
Doug Ledford
2c20a2b3d4 Change the default auto= mode and add an mdassemble man page 2005-05-16 21:18:34 +00:00
Doug Ledford
ee7bb240e5 New version upload 2005-05-13 15:26:33 +00:00
Jeremy Katz
0312d98d9f - fix mdmonitor initscript (#144717) 2005-04-27 23:24:44 +00:00
Doug Ledford
56349ff6cf Update release for fc4 2005-03-21 17:24:08 +00:00
Doug Ledford
77f77f5712 Build a static version of mdadm in case we need it, also build the simpler
mdassemble statically for initrd usage.
2005-03-21 17:22:11 +00:00
Doug Ledford
c8b0a7c4b0 Update release and build in dist-4E-scratch 2005-03-09 21:04:05 +00:00
Doug Ledford
3346df56a1 s390 build fix 2005-03-09 20:02:02 +00:00
Doug Ledford
46b32e6d30 Update to mdadm-1.9.0 2005-03-09 18:56:19 +00:00
Doug Ledford
b25bd6ba1a Oops, need to update n-v-r 2004-10-04 21:13:54 +00:00
Doug Ledford
07dc143ebd Remove /etc/mdadm.conf from the rpm, let anaconda create it instead. 2004-10-04 21:12:52 +00:00
Doug Ledford
a8f2f0b7e3 Update to 1.6.0 upstream and make mdmpd work without event interface 2004-10-01 16:13:49 +00:00
cvsdist
712f27f33a auto-import changelog data from mdadm-1.5.0-11.src.rpm
Fri Jul 30 2004 Dan Walsh <dwalsh@redhat.com> 1.5.0-11
- Create a directory /var/run/mdadm to contain mdadm.pid
- This cleans up SELinux problem
2004-09-09 08:29:29 +00:00
cvsdist
0c323be48c auto-import changelog data from mdadm-1.5.0-10.src.rpm
Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 08:29:11 +00:00
cvsdist
95cbb3870d auto-import changelog data from mdadm-1.5.0-9.src.rpm
Sat May 22 2004 Doug Ledford <dledford@redhat.com> - 1.5.0-9
- Fix Makefile and build method to satisfy bz #123769
- Add mdmpd man page, update mdmpd version to 0.3 - bz #117160
- Make sure mdadm --monitor closes all md device files so that md devices
    can be stopped while mdadm is still running - bz #119532
2004-09-09 08:28:44 +00:00
cvsdist
0598f9c721 auto-import changelog data from mdadm-1.5.0-8.src.rpm
Thu May 20 2004 Jeremy Katz <katzj@redhat.com> - 1.5.0-8
- remove unneeded patch, can use --run instead
2004-09-09 08:27:53 +00:00
cvsdist
580b152b0e auto-import changelog data from mdadm-1.5.0-7.src.rpm
Wed May 19 2004 Jeremy Katz <katzj@redhat.com> - 1.5.0-7
- add patch with reallyforce mode on creation to be used by anaconda
Wed May 12 2004 Doug Ledford <dledford@redhat.com> 2.5.0-6
- Fix a bug in the %postun scriptlet related to downgrading to a version of
    mdadm that doesn't include the mdmpd daemon.
Fri May 07 2004 Doug Ledford <dledford@redhat.com> 1.5.0-5
- Disable service mdmpd by default to avoid [Failed] messages on current
    2.6 kernels. Possibly re-enable it by default once the
2.6 kernels have the md event interface.
Thu Apr 22 2004 Doug Ledford <dledford@redhat.com> 1.5.0-4
- Update mdmonitor script to start daemon more cleanly
- Repackage mdmpd tarball to include gcc-3.4 changes and to make mdmpd
    properly daemonize at startup instead of forking and leaving the child
    attached to the terminal.
2004-09-09 08:27:45 +00:00
cvsdist
ab5716121a auto-import changelog data from mdadm-1.5.0-3.src.rpm
Thu Mar 04 2004 Bill Nottingham <notting@redhat.com> 1.5.0-3
- ship /var/run/mpmpd (#117497)
Thu Feb 26 2004 Doug Ledford <dledford@redhat.com> 1.5.0-2
- Add a default MAILADDR line to the mdadm.conf file installed by default
    (Bugzilla #92447)
- Make it build with gcc-3.4
Mon Feb 23 2004 Doug Ledford <dledford@redhat.com> 1.5.0-1
- Update to 1.5.0 (from Matthew J. Galgoci <mgalgoci@redhat.com>)
Sun Nov 16 2003 Doug Ledford <dledford@redhat.com> 1.4.0-1
- fix problem with recovery thread sleeping in mdmpd
Fri Nov 14 2003 Doug Ledford <dledford@redhat.com>
- sync upstream
- add mdmpd package into mdadm package
2004-09-09 08:27:01 +00:00
cvsdist
043a42b8d4 auto-import changelog data from mdadm-1.3.0-1.src.rpm
Wed Sep 10 2003 Michael K. Johnson <johnsonm@redhat.com> 1.3.0-1
- sync upstream
Tue Mar 11 2003 Michael K. Johnson <johnsonm@redhat.com> 1.1.0-1
- sync upstream
2004-09-09 08:25:23 +00:00
cvsdist
bed49e32de auto-import changelog data from mdadm-1.0.1-1.src.rpm
Tue Jan 28 2003 Michael K. Johnson <johnsonm@redhat.com> 1.0.1-1
- update for rebuild
Wed Dec 25 2002 Tim Powers <timp@redhat.com> 1.0.0-8
- fix references to %install in the changelog so that it will build
Fri Dec 13 2002 Elliot Lee <sopwith@redhat.com> 1.0.0-7
- Rebuild
2004-09-09 08:25:08 +00:00
cvsdist
05490f1f73 auto-import changelog data from mdadm-1.0.0-6.src.rpm
Fri Jul 12 2002 Michael K. Johnson <johnsonm@redhat.com>
- Changed RPM Group to System Environment/Base
2004-09-09 08:25:03 +00:00
cvsdist
82c655e83f auto-import changelog data from mdadm-1.0.0-5.src.rpm
Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- automated rebuild
Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
Wed May 15 2002 Michael K. Johnson <johnsonm@redhat.com>
- minor cleanups to the text, conditionalize rm -rf
- added mdmonitor init script
Fri May 10 2002 <neilb@cse.unsw.edu.au>
- update to 1.0.0
- Set CXFLAGS instead of CFLAGS
Sat Apr 06 2002 <neilb@cse.unsw.edu.au>
- change %install LANG=C export LANG to use "make install"
Fri Mar 15 2002 <gleblanc@localhost.localdomain>
- beautification
- made mdadm.conf non-replaceable config
- renamed Copyright to License in the header
- added missing license file
- used macros for file paths
Fri Mar 15 2002 Luca Berra <bluca@comedia.it>
- Added Obsoletes: mdctl
- missingok for configfile
Tue Mar 12 2002 NeilBrown <neilb@cse.unsw.edu.au>
- Add md.4 and mdadm.conf.5 man pages
Fri Mar 08 2002 Chris Siebenmann <cks@cquest.utoronto.ca>
- builds properly as non-root.
Fri Mar 08 2002 Derek Vadala <derek@cynicism.com>
- updated for 0.7, fixed /usr/share/doc and added manpage
Tue Aug 07 2001 Danilo Godec <danci@agenda.si>
- initial RPM build
2004-09-09 08:24:56 +00:00