Commit Graph

167 Commits

Author SHA1 Message Date
Doug Ledford
337638c822 - Change git date format to the correct format (YYYYMMDD)
- Update to latest upstream push (fixes bz604023)
2010-07-22 14:57:44 +00:00
Doug Ledford
fda5bdd37a - Change git date format to the correct format (YYYYMMDD)
- Update to latest upstream push (fixes bz604023)
2010-07-22 14:55:56 +00:00
Doug Ledford
7b2267d85b - Fix racy locking of mapfile (bz600900) 2010-07-20 22:01:40 +00:00
Doug Ledford
adf9d7af43 - Fix racy locking of mapfile (bz616596) 2010-07-20 21:51:06 +00:00
Doug Ledford
8808fe53de - Update to latest git repo (3.1.2 plus pending changes, fixes bz602457)
- Add in 64-md-raid.rules to compensate for it no longer being in udev
    (bz581905)
- Remove mdadm.static as its no longer used in initrd creation
2010-07-20 16:57:55 +00:00
Doug Ledford
91d87d269f - Update to latest git repo (3.1.2 plus pending changes, fixes bz602457)
- Add in 64-md-raid.rules to compensate for it no longer being in udev
    (bz581905)
- Remove mdadm.static as its no longer used in initrd creation
2010-07-20 16:45:36 +00:00
Doug Ledford
03abcff039 - Minor update to mdadm.rules to make anaconda happy 2010-04-13 23:24:07 +00:00
Doug Ledford
e0d3e8aae9 - Minor update to mdadm.rules to make anaconda happy 2010-04-13 23:18:29 +00:00
Doug Ledford
d6f29f1fb8 - Slight fix on container patch 2010-04-08 21:35:32 +00:00
Doug Ledford
55a63e9bdf - Slight fix on container patch 2010-04-08 21:35:28 +00:00
Doug Ledford
c203d78e8d - Slight fix on container patch 2010-04-08 21:13:08 +00:00
Doug Ledford
31c5bf74cb - Slight fix on container patch 2010-04-08 21:12:13 +00:00
Doug Ledford
2d6de14b74 - Updated container patch that also enables mdadm -IRs for imsm devices 2010-04-08 20:57:35 +00:00
Doug Ledford
a2b3d7f053 - Fix up directory in mdmonitor init script so that we restart mdmon like
we are supposed to
- Add a rule to run incremental assembly on containers in case there are
    multiple volumes in a container and we only started some of them in the
    initramfs
- Make -If work with imsm arrays. We had too restrictive of a test in
    sysfs_unique_holder.
- Make incremental assembly of containers act like incremental assembly of
    regular devices (aka, --run is needed to start a degraded array)
2010-04-08 17:09:28 +00:00
Doug Ledford
f44c832cb2 - Fix up directory in mdmonitor init script so that we restart mdmon like
we are supposed to
- Add a rule to run incremental assembly on containers in case there are
    multiple volumes in a container and we only started some of them in the
    initramfs
- Make -If work with imsm arrays. We had too restrictive of a test in
    sysfs_unique_holder.
- Make incremental assembly of containers act like incremental assembly of
    regular devices (aka, --run is needed to start a degraded array)
2010-04-08 16:55:45 +00:00
Doug Ledford
f2098b61d7 - Fix up directory in mdmonitor init script so that we restart mdmon like
we are supposed to
- Add a rule to run incremental assembly on containers in case there are
    multiple volumes in a container and we only started some of them in the
    initramfs
- Make -If work with imsm arrays. We had too restrictive of a test in
    sysfs_unique_holder.
2010-04-07 14:51:17 +00:00
Doug Ledford
85e79a28a3 - Fix up directory in mdmonitor init script so that we restart mdmon like
we are supposed to
- Add a rule to run incremental assembly on containers in case there are
    multiple volumes in a container and we only started some of them in the
    initramfs
- Make -If work with imsm arrays. We had too restrictive of a test in
    sysfs_unique_holder.
2010-04-07 13:58:54 +00:00
Doug Ledford
01d2c9db17 - Typo in new rules file 2010-04-07 00:17:01 +00:00
Doug Ledford
79e72e66fd - Enable incremental support for imsm devices 2010-04-06 21:59:00 +00:00
Doug Ledford
ff435833ff - One line fix for ppc64 compiles 2010-04-06 18:18:45 +00:00
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
Jesse Keating
46ccebf6f3 Initialize branch F-13 for mdadm 2010-02-17 02:01:58 +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
Bill Nottingham
5aa8b9cddf Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:18:44 +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