[node-patches] Change in ovirt-node[master]: dracut: Expand and translate devices to compare

mburns at redhat.com mburns at redhat.com
Wed Oct 31 13:22:20 UTC 2012


Michael Burns has submitted this change and it was merged.

Change subject: dracut: Expand and translate devices to compare
......................................................................


dracut: Expand and translate devices to compare

The storage_init parameter is a set of devices which pontentially
contain PVs which in turn are members of VGs. Before these VGs are
removed it needs to be determined if all PVs part of the given VGs are
covered by the devices in the storage_init karg.
In order to do this some comparisons are needed, but these comparisons
need to take place after (a) the storage_init values are parsed and (b)
the device names are translated into the device names which are used by
LVM.

Previously the parsing and translation did not happen in some
comparisons which broke the logic.
Two passes are introduced which first parse and afterwards translate the
device names to allow a comparison.

rhbz#869172

Change-Id: I8eb9cff20ef9a0330451c455f35cfbbccdf27a96
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M dracut/ovirt-boot-functions
M dracut/ovirt-cleanup.sh
2 files changed, 47 insertions(+), 3 deletions(-)

Approvals:
  Michael Burns: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/8811
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8eb9cff20ef9a0330451c455f35cfbbccdf27a96
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Fabian Deutsch <fabiand at fedoraproject.org>
Gerrit-Reviewer: Joey Boggs <jboggs at redhat.com>
Gerrit-Reviewer: Michael Burns <mburns at redhat.com>



More information about the node-patches mailing list