Accepting request 459962 from home:ZRen:branches:Base:System
It's easy to enable systemid feature. Its code is already in place. I just need to add the relative configure section into our lvm.conf. Of course, careful testing is made according the manpage, without finding problems. - Enable lvmetad in sync with SLE - Add systemid feature * update lvm.conf accordingly * replace whitespaces with tab in lvm.conf OBS-URL: https://build.opensuse.org/request/show/459962 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=168
This commit is contained in:
parent
d35ced24ce
commit
db1f542327
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 23 06:27:55 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
- Enable lvmetad in sync with SLE
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 22 11:25:01 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
- Add systemid feature
|
||||||
|
* update lvm.conf accordingly
|
||||||
|
* replace whitespaces with tab in lvm.conf
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 22 10:43:38 UTC 2017 - zren@suse.com
|
Wed Feb 22 10:43:38 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
34
lvm.conf
34
lvm.conf
@ -686,7 +686,7 @@ global {
|
|||||||
# is set at the same time, LVM always issues a warning message about this
|
# is set at the same time, LVM always issues a warning message about this
|
||||||
# and then it automatically disables lvmetad use.
|
# and then it automatically disables lvmetad use.
|
||||||
# If use_lvmetad set to 1, please make sure lvm2-lvmetad.socket is started
|
# If use_lvmetad set to 1, please make sure lvm2-lvmetad.socket is started
|
||||||
use_lvmetad = 0
|
use_lvmetad = 1
|
||||||
|
|
||||||
# Full path of the utility called to check that a thin metadata device
|
# Full path of the utility called to check that a thin metadata device
|
||||||
# is in a state that allows it to be used.
|
# is in a state that allows it to be used.
|
||||||
@ -761,6 +761,38 @@ global {
|
|||||||
# Array of extra string options passed with cache_repair command.
|
# Array of extra string options passed with cache_repair command.
|
||||||
# cache_repair_options = [ "" ]
|
# cache_repair_options = [ "" ]
|
||||||
|
|
||||||
|
# Configuration option global/system_id_source.
|
||||||
|
# The method LVM uses to set the local system ID.
|
||||||
|
# Volume Groups can also be given a system ID (by vgcreate, vgchange,
|
||||||
|
# or vgimport.) A VG on shared storage devices is accessible only to
|
||||||
|
# the host with a matching system ID. See 'man lvmsystemid' for
|
||||||
|
# information on limitations and correct usage.
|
||||||
|
#
|
||||||
|
# Accepted values:
|
||||||
|
# none
|
||||||
|
# The host has no system ID.
|
||||||
|
# lvmlocal
|
||||||
|
# Obtain the system ID from the system_id setting in the 'local'
|
||||||
|
# section of an lvm configuration file, e.g. lvmlocal.conf.
|
||||||
|
# uname
|
||||||
|
# Set the system ID from the hostname (uname) of the system.
|
||||||
|
# System IDs beginning localhost are not permitted.
|
||||||
|
# machineid
|
||||||
|
# Use the contents of the machine-id file to set the system ID.
|
||||||
|
# Some systems create this file at installation time.
|
||||||
|
# See 'man machine-id' and global/etc.
|
||||||
|
# file
|
||||||
|
# Use the contents of another file (system_id_file) to set the
|
||||||
|
# system ID.
|
||||||
|
#
|
||||||
|
system_id_source = "none"
|
||||||
|
|
||||||
|
# Configuration option global/system_id_file.
|
||||||
|
# The full path to the file containing a system ID.
|
||||||
|
# This is used when system_id_source is set to 'file'.
|
||||||
|
# Comments starting with the character # are ignored.
|
||||||
|
# This configuration option does not have a default value defined.
|
||||||
|
|
||||||
# Full path of the utility called to dump cache metadata content.
|
# Full path of the utility called to dump cache metadata content.
|
||||||
# See cache_check_executable how to obtain binaries.
|
# See cache_check_executable how to obtain binaries.
|
||||||
#
|
#
|
||||||
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 23 06:27:55 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
- Enable lvmetad in sync with SLE
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 22 11:25:01 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
- Add systemid feature
|
||||||
|
* update lvm.conf accordingly
|
||||||
|
* replace whitespaces with tab in lvm.conf
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 22 10:43:38 UTC 2017 - zren@suse.com
|
Wed Feb 22 10:43:38 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
12
lvm2.changes
12
lvm2.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 23 06:27:55 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
- Enable lvmetad in sync with SLE
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 22 11:25:01 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
- Add systemid feature
|
||||||
|
* update lvm.conf accordingly
|
||||||
|
* replace whitespaces with tab in lvm.conf
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 22 10:43:38 UTC 2017 - zren@suse.com
|
Wed Feb 22 10:43:38 UTC 2017 - zren@suse.com
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user