Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 576422 Details for
Bug 811129
Disable lvmetad use in dracut
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
disable lvmetad in dracut
dracut-do-not-use-lvmetad-for-lvm-setup.patch (text/plain), 1.34 KB, created by
Peter Rajnoha
on 2012-04-10 08:43:43 UTC
(
hide
)
Description:
disable lvmetad in dracut
Filename:
MIME Type:
Creator:
Peter Rajnoha
Created:
2012-04-10 08:43:43 UTC
Size:
1.34 KB
patch
obsolete
> modules.d/90lvm/lvm_scan.sh | 2 ++ > modules.d/90lvm/module-setup.sh | 1 + > 2 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh >index 104565f..17c29bc 100755 >--- a/modules.d/90lvm/lvm_scan.sh >+++ b/modules.d/90lvm/lvm_scan.sh >@@ -35,10 +35,12 @@ if [ ! -e /etc/lvm/lvm.conf ]; then > if [ -n $SNAPSHOT ]; then > echo 'global {'; > echo ' locking_type = 1'; >+ echo ' use_lvmetad = 0'; > echo '}'; > else > echo 'global {'; > echo ' locking_type = 4'; >+ echo ' use_lvmetad = 0'; > echo '}'; > fi > } > /etc/lvm/lvm.conf >diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh >index cf46372..8a6a864 100755 >--- a/modules.d/90lvm/module-setup.sh >+++ b/modules.d/90lvm/module-setup.sh >@@ -49,6 +49,7 @@ install() { > # FIXME: near-term hack to establish read-only locking; > # use command-line lvm.conf editor once it is available > sed -i -e 's/\(^[[:space:]]*\)locking_type[[:space:]]*=[[:space:]]*[[:digit:]]/\1locking_type = 4/' ${initdir}/etc/lvm/lvm.conf >+ sed -i -e 's/\(^[[:space:]]*\)use_lvmetad[[:space:]]*=[[:space:]]*[[:digit:]]/\1use_lvmetad = 0/' ${initdir}/etc/lvm/lvm.conf > fi > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 811129
: 576422