[node-patches] Change in ovirt-node[master]: Don't use lvmetad
rbarry at redhat.com
rbarry at redhat.com
Tue Sep 30 23:15:50 UTC 2014
Ryan Barry has posted comments on this change.
Change subject: Don't use lvmetad
......................................................................
Patch Set 5:
(1 comment)
http://gerrit.ovirt.org/#/c/33540/5/recipe/rhevh7-post.ks
File recipe/rhevh7-post.ks:
Line 6: dirs /var/db
Line 7: EOF_RWTAB_RHEVH
Line 8:
Line 9: # disable lvmetad rhbz#1147217
Line 10: sed -ie 's/^[^#]\( *\)lvm_metad *=.*/\1lvm_metad = 1/' /etc/lvm/lvm.conf
> This will *enable* use_lvmetad instead of disabling?!
Whoops, thanks for noticing that.
I dropped the complex pattern from the previous patch because fabiand asked for something a little simpler, but I think your suggestion probably strikes a good middle ground between using sed buffers and stripping it to the bone.
Line 11: grep -E '^[^#]\s*use_lvmetad = 1/' /etc/lvm/lvm.conf || echo "lvmetad not disabled, value is:" && \
Line 12: grep -E '^[^#]use_lvmetad\s*=' /etc/lvm/lvm.conf
Line 13:
Line 14: systemctl disable lvm2-lvmetad
--
To view, visit http://gerrit.ovirt.org/33540
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Ie111f462d15bde004506638e3d70943e3dd9daba
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Federico Simoncelli <fsimonce at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes
More information about the node-patches
mailing list