Udev wants us to not start mdmon under its cgroup (it kills mdmon if we
leave it in udev's cgroup), so as part of the mdmon startup process, set
the child process to be part of the systemd cgroup instead. However, if
we don't have cgroups, or there is no systemd cgroup, then just silently
move on.
Signed-off-by: Doug Ledford <dledford@redhat.com>
- Fix problem where reshape of RAID volume is broken after trying to
stop all MD devices.
- Enhance raid-check to allow the adming to specify the max number of
concurrent arrays to be checked at any given time.
- Resolves bz830177, bz820124
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This fix removes a dangling symlink to mdmonitor-takeover.service, if
the mdadm package is uninstalled from the system.
Resolves bz828354
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
- Fix Monitor mode sometimes crashes when a resync completes
- Fix missing symlink for mdadm container device when incremental creates
the array
- Make sure when creating a second array in a container that the second
array uses all available space since leaving space for a third array
is invalid
- Validate the number of imsm volumes per controller
- Fix issues with imsm arrays and disks larger than 2TB
- Add support for expanding imsm arrays/containers
- The support for expanding imsm arrays/containers was accepted upstream,
update to the official patches from there
- Fix for the issue of --add not being very smart
- Fix an issue causing rebuilds to fail to restart on reboot (data
corrupter level problem)
- Reset the bad flag on map file updates
- Correctly fix failure when trying to add internal bitmap to 1.0 arrays
- Resolves: bz817023 (f17) bz817024 (f17) bz817026 (f17) bz817028 (f17)
- Resolves: bz817029 (f17) bz817032 (f17) bz817038 (f17) bz808774 (f17)
- Resolves: bz817039 (f17) bz817042 (f17)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This fixes an issue with devices failing to be added to a raid using
bitmaps, due to trying to write the bitmap with mis-aligned buffers
using O_DIRECT
Resolves bz789898 (f16) bz791189 (f15)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
which resolves issues when booting off sysvinit based system.
Resolves: bz736387 (Fedora 15) bz744217 (Fedora 16)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Older imsm arrays, or arrays created by something other than mdadm,
might have one of two unused bits in the attributes field set. If
they do, we need to ignore them, not fail to assemble the array.
Signed-off-by: Doug Ledford <dledford@redhat.com>
(cherry picked from commit 22ef59a98600f5900f957e2a0bdc16139aa528da)
Added support for nested md devices, md on top of LVM devices such as
encrypted partitions (although I don't recommend that, I recommend
encrypting the md device instead), and support for md devices on top
of multipath dm devices.
Signed-off-by: Doug Ledford <dledford@redhat.com>