[blivet][rhel7-branch] MD fwraid detection (#1246003)
by David Lehman
Patches 1 and 4 are cherry-picks from master. Patches 2 and 3 are
from https://github.com/rhinstaller/blivet/pull/193.
David Lehman (3):
Don't pass model to md fwraid constructor.
updateSize for md containers is a no-op.
Call superclass ctor a bit later to get size attrs set up first.
mulhern (1):
Fall back on mdadm info if udev info is missing for the array
blivet/devices/md.py | 7 +++++--
blivet/devices/storage.py | 4 ++--
blivet/devicetree.py | 13 +++++++++++--
3 files changed, 18 insertions(+), 6 deletions(-)
--
2.4.3
8 years, 10 months
New: [rhinstaller/blivet/pulls/194 master] Fix mount cache for devices with symlinks
by dashea
This makes it possible to use any valid device spec when accessing the cache. All device specs are resolved to the basename canonical device node name (eg: `dm-1`, `md127p2`) before being stored or search for.
It turns out that `/proc/mounts` contains `/dev/mapper/` symlinks for device-mapper devices, but does not contain `/dev/md/` symlinks for md devices. We avoid this circus by using only the canonical device node name in the cache itself. We use udev to resolve device specs to the canonical names.
--
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/194
8 years, 10 months