summaryrefslogtreecommitdiff
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* doc: describe lvmlockd/lvmpolld features as available if LVM compiled with ↵Peter Rajnoha2016-03-302-2/+8
| | | | lockd/polld support
* pre-releasev2_02_146Alasdair G Kergon2016-03-111-1/+13
|
* conf: regenerate example.conf.inPeter Rajnoha2016-03-031-0/+16
|
* conf: add metadata/check_pv_device_sizesPeter Rajnoha2016-01-221-0/+11
|
* doc: change fsf addressZdenek Kabelac2016-01-211-1/+1
| | | | | Hmm rpmlint suggest fsf is using a different address these days, so lets keep it up-to-date
* conf: fix 'the volume list' vs 'volume list' and '@*'Peter Rajnoha2016-01-131-6/+6
|
* cleanup: rename 'invisible devices' to 'hidden devices'Peter Rajnoha2016-01-131-1/+1
|
* cleanup: rename 'invisible devices' to 'hidden devices'Peter Rajnoha2016-01-131-3/+3
|
* conf: update command_profile_template.profile.inPeter Rajnoha2016-01-131-0/+10
|
* conf: regeneratePeter Rajnoha2016-01-131-11/+16
|
* conf: clarify compact output settingsPeter Rajnoha2015-10-201-9/+12
|
* conf: regeneratePeter Rajnoha2015-10-191-2/+2
|
* cleanup: typo in comment: compact_output_fields should be compact-output_colsPeter Rajnoha2015-10-191-1/+1
|
* config: add report/compact_output_cols to control which columns to compact ↵Peter Rajnoha2015-10-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in report output The new report/compact_output_cols setting has exactly the same effect as report/compact_output setting. The difference is that with the new setting it's possible to define which cols should be compacted exactly in contrast to all cols in case of report/compact_output. In case both compact_output and compact_output_cols is enabled/set, the compact_output prevails. For example: $ lvmconfig --type full report/compact_output report/compact_output_cols compact_output=0 compact_output_cols="" $ lvs vg LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert lvol0 vg -wi-a----- 4.00m --- $ lvmconfig --type full report/compact_output report/compact_output_cols compact_output=0 compact_output_cols="data_percent,metadata_percent,pool_lv,move_pv,origin" $ lvs vg LV VG Attr LSize Log Cpy%Sync Convert lvol0 vg -wi-a----- 4.00m --- $ lvmconfig --type full report/compact_output report/compact_output_cols compact_output=1 compact_output_cols="data_percent,metadata_percent,pool_lv,move_pv,origin" $ lvs vg LV VG Attr LSize lvol0 vg -wi-a----- 4.00m
* configure: relocate configure.hZdenek Kabelac2015-09-113-843/+1
| | | | | | | | | | Commit 9403edbb93a2c337df790408e9ff3d26566b7443 move location of configure.h and lvm-version.h. Let's try even better place then /conf dir which should be left for user configurable files. Put these files right into include dir.
* configure: relocate generated headersZdenek Kabelac2015-09-074-1/+845
| | | | | | | | | | | | | | | Relocate generated configure.h and lvm-version.h outside of compilable .c source tree. The reason is behind - when compiling in builddir != srcdir the generated file in lib/misc/configure.h was used for all compiled source file except ones located in lib/misc dir - those would have used configure.h file located in this dir - if there have existed one (i.e. from some other build) This problem was only visible, when srcdir == buildir was used before trying to use srcdri != builddir (as configure.h appeared then in srcdir).
* pre-releasev2_02_129Alasdair G Kergon2015-08-262-762/+934
|
* conf: Regenerate example.conf.Alasdair G Kergon2015-08-171-23/+46
|
* cache: introduce mq and smq profilesZdenek Kabelac2015-08-123-2/+40
| | | | | | | Add 2 demo profiles for mq and smq policies. Show all support profilable params. Use with: lvcreate --policy cache-mq ....
* gitignore: Update for in-place build.Alasdair G Kergon2015-07-271-0/+4
|
* config: {thin,cache}_{check,repair}_options are never undefinedPeter Rajnoha2015-07-141-2/+2
| | | | | | | | | | | | | | | | | | | Require global/{thin,cache}_{check,repair}_options to be always defined. If not defined directly by user in the configuration and if there's no concrete default option to use, make "" (empty string) the default one - it's then clearly visible in the "lvmconfig --type default" (and generated lvm.conf) and also it makes its handling in the code more straightforward so we don't need to handle undefined values. This means, if there are no default values for these settings defined, we end up with this generated now: {thin,cache}_{check,repair}_options = [ "" ] So the value is never undefined and if it is, it's an error. (The cache_repair_options is actually not used in the code at the moment, but once the code using this setting is in, it will follow the same logic as used for thin_repair_options.)
* conf: regeneratePeter Rajnoha2015-07-071-1/+1
|
* conf: regeneratePeter Rajnoha2015-07-072-0/+35
|
* conf: Regenerate.Alasdair G Kergon2015-06-301-1/+1
| | | | Fix missing --clear-needs-check-flag.
* configure: set DEFAULT_FALLBACK_TO_LVM1 in configure and use it in ↵Peter Rajnoha2015-06-301-1/+1
| | | | | | | | | | config_settings.h Just like we have DEFAULT_USE_LVMETAD (or DEFUALT_USE_LVMPOLLD), use fallback_to_lvm1=1 lvm.conf setting if we configured lvm2 with --enable-lvm1-fallback and use fallback_to_lvm1=0 otherwise. Also, generate proper lvm.conf.in with unconfigured value.
* cleanup: time: error out on incorrect time_format and indentation in ↵Peter Rajnoha2015-06-291-3/+4
| | | | config_settings.h
* conf: make time format configurablePeter Rajnoha2015-06-291-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | Make it possible to define format for time that is displayed. The way the format is defined is equal to the way that is used for strftime function, although not all formatting options as used in strftime are available for LVM2 - the set is restricted (e.g. we do not allow newline to be printed). The lvm.conf comments contain the whole list that LVM2 accepts for time format together with brief description (copied from strftime man page). For example: (defaults used - the format is the same as used before this patch) $ lvs -o+time vg/lvol0 vg/lvol1 LV VG Attr LSize Time lvol0 vg -wi-a----- 4.00m 2015-06-25 16:18:34 +0200 lvol1 vg -wi-a----- 4.00m 2015-06-29 09:17:11 +0200 (using 'time_format = "@%s"' in lvm.conf - number of seconds since the Epoch) $ lvs -o+time vg/lvol0 vg/lvol1 LV VG Attr LSize Time lvol0 vg -wi-a----- 4.00m @1435241914 lvol1 vg -wi-a----- 4.00m @1435562231
* config: regenerate lvm.conf.in and lvmlocal.conf.inPeter Rajnoha2015-06-292-20/+0
|
* make: use lvmconfig ... --withspaces when generating lvm.conf and lvmlocal.confPeter Rajnoha2015-06-241-2/+2
|
* config: regenerate configure.in to accomodate all recent changesPeter Rajnoha2015-06-242-38/+45
| | | | Hopefully closer to the ideal.
* example.conf.in: apply previous improvements to example.confDavid Teigland2015-05-151-8/+10
|
* lvm.conf: add more information to the comment headerDavid Teigland2015-05-141-0/+11
|
* conf: system_id_source is referencing CONFDIRZdenek Kabelac2015-05-141-1/+1
| | | | | Since we allow to configure /etc in configure and compile-in dir for /etc we need to properly advertise this location later.
* new debug class for lvmpolld client codeOndrej Kozina2015-05-121-2/+2
|
* configure: use_lvmetad/polld configurableZdenek Kabelac2015-05-111-2/+2
| | | | | | | | | Configure provides proper settings for use_lvmetad and use_lvmpolld conf setttings. When the build of polld & lvmetad, these settings are enabled by default unless explicitelly disabled with --disable-use-lvmetad/--disable-use-lvmpolld.
* lvmpolld: Add standalone polldaemon.Ondrej Kozina2015-05-091-0/+10
| | | | See doc/lvmpolld_overview.txt
* config: Remove newly-exposed default settings.Alasdair G Kergon2015-05-022-245/+195
| | | | | | | | Reinstate config settings matching the last release until every case where the generator produces different output has been reviewed and fresh decisions made about which defaults to expose as protection against changes in newer releases. We should be trying to reduce, not increase, this number.
* refactor: dumpconfig: keep --withcomments to display full comment and use ↵Peter Rajnoha2015-04-291-2/+2
| | | | --withsummary for one line summary
* conf: Avoid temp files when generating config.Alasdair G Kergon2015-04-281-7/+3
|
* example.conf.in: regenerateDavid Teigland2015-04-271-4/+5
| | | | From recent config_settings.h changes.
* make: autoconfisms for generateDavid Teigland2015-04-221-3/+3
|
* make: let generate use the just built libdmDavid Teigland2015-04-221-2/+2
|
* config: thin_repair_options and cache_repair_options are undefinedDavid Teigland2015-04-211-2/+4
| | | | | | | | | | | | | | By default these are empty strings, so the config settings should be flagged as undefined, so they will be commented out of the generated config. Otherwise, the lines: thin_repair_options="" cache_repair_options="" in the dump output cause a warning when processed since lvm doesn't want an empty string. Also regenerate lvm.conf.in.
* generate example.conf.in, lvmlocal.conf.inDavid Teigland2015-04-212-0/+1675
| | | | These were created by 'make generate'.
* config: remove duplication of settingsDavid Teigland2015-04-215-1438/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The specific config settings have been removed from the lvm.conf(5) man page, and replaced with a description of how to use lvm dumpconfig to view the settings. The sample lvm.conf and lvmlocal.conf files are now generated: example.conf.base - initial ungenerated part of the file example.conf.gen - generated portion from dumpconfig example.conf.in - combination of .base and .gen files example.conf - result of configure processing .in file lvmlocal.conf.base - initial ungenerated part of the file lvmlocal.conf.gen - generated portion from dumpconfig lvmlocal.conf.in - combination of .base and .gen files lvmlocal.conf - result of configure processing .in file Do not edit the .in files, but edit config_settings.h or the .base files, and then use 'make generate' to create the new .in files. - configure with options - make creates tools/lvm - make generate uses tools/lvm to create example.conf.in and lvmlocal.conf.in by combining .base files with dumpconfig output. - configure with same options as above creates example.conf and lvmlocal.conf from .in files
* lvm.conf: fix typo as -> is in read_only_volume_list commentsPeter Rajnoha2015-03-311-1/+1
|
* conf: be more clear about wipe_signatures_when_zeroing_new_lvs option in ↵Peter Rajnoha2015-02-271-7/+22
| | | | comments
* example.conf: Update systemid comments.Alasdair G Kergon2015-02-251-4/+4
| | | | | Avoid using 'cluster' (ambiguous). Add holding ref for machine-id source.
* config: Rename allow_system_id to extra_system_ids.Alasdair G Kergon2015-02-233-33/+84
| | | | | | Add warnings to the config file templates and briefly document each value. Configure lvmlocal.conf and install in /etc/lvm.
* conf: Set default global/etc from --with-confdir.Alasdair G Kergon2015-02-131-0/+3
|