aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2015-06-23doc: mention new invalid states in lvmetad_designDavid Teigland
2015-05-09lvmpolld: Add standalone polldaemon.Ondrej Kozina
See doc/lvmpolld_overview.txt
2015-04-22doc: Update dm kernel files.Alasdair G Kergon
v4.0-9804-gdb4fd9c
2015-02-19doc: explanation of caching foreign VGsDavid Teigland
2013-07-02conf: add separate 'conf' dir for config filesPeter Rajnoha
2013-07-02config: add support for loading profilesPeter Rajnoha
This patch adds --profile arg to lvm cmds and adds config/profile_dir configuration setting to select the directory where profiles are stored By default it's /etc/lvm/profile. The profiles are added by using new "add_profile" fn and then loaded using the "load_profile" fn. All profiles are stored in a cmd context within the new "struct profile_params": struct profile_params { const char *dir; struct profile *global_profile; struct dm_list profiles_to_load; struct dm_list profiles; }; ...where "dir" is the directory with profiles, "global_profile" is the profile that is set globally via the --profile arg (IOW, not set per VG/LV basis based on metadata record) and the "profiles" is the list with loaded profiles.
2013-06-15text: miscellaneous comments & message tweaksAlasdair G Kergon
2013-06-14conf: refine lvm.conf documentation for autoactivation feature even morePeter Rajnoha
2013-06-14typo: lvm.conf: auto_activation_list -> auto_activation_volume_listPeter Rajnoha
2013-06-14man: refine lvm.conf and man page documentation for autoactivation featurePeter Rajnoha
2013-05-17doc: update dm kernel files to 3.10-rc1Alasdair G Kergon
2013-03-06config: use config checks and add support for creating trees from config ↵Peter Rajnoha
definition (config_def_create_tree fn) Configuration checking is initiated during config load/processing (_process_config fn) which is part of the command context creation/refresh. This patch also defines 5 types of trees that could be created from the configuration definition (config_settings.h), the cfg_def_tree_t: - CFG_DEF_TREE_CURRENT that denotes a tree of all the configuration nodes that are explicitly defined in lvm.conf/--config - CFG_DEF_TREE_MISSING that denotes a tree of all missing configuration nodes for which default valus are used since they're not explicitly used in lvm.conf/--config - CFG_DEF_TREE_DEFAULT that denotes a tree of all possible configuration nodes with default values assigned, no matter what the actual lvm.conf/--config is - CFG_DEF_TREE_NEW that denotes a tree of all new configuration nodes that appeared in given version - CFG_DEF_TREE_COMPLETE that denotes a tree of the whole configuration tree that is used in LVM2 (a combination of CFG_DEF_TREE_CURRENT + CFG_DEF_TREE_MISSING). This is not implemented yet, it will be added later... The function that creates the definition tree of given type: struct dm_config_tree *config_def_create_tree(struct config_def_tree_spec *spec); Where the "spec" specifies the tree type to be created: struct config_def_tree_spec { cfg_def_tree_t type; /* tree type */ uint16_t version; /* tree at this LVM2 version */ int ignoreadvanced; /* do not include advanced configs */ int ignoreunsupported; /* do not include unsupported configs */ }; This tree can be passed to already existing functions that write the tree on output (like we already do with cmd->cft). There is a new lvm.conf section called "config" with two new options: - config/checks which enables/disables checking (enabled by default) - config/abort_on_errors which enables/disables aborts on any type of mismatch found in the config (disabled by default)
2013-02-22conf: add missing '=' for raid10_segtype_defaultPeter Rajnoha
2013-02-20RAID: Add new 'raid10_segtype_default' setting in lvm.confJonathan Brassow
If '--mirrors/-m' and '--stripes/-i' are used together when creating a logical volume, mirrors-over-stripes is currently chosen. The user can override this by using the '--type raid10' option on creation. However, we want a place where we can set the default behavior to 'raid10' explicitly - similar to the "mirror" and "raid1" tunable, mirror_segtype_default. A follow-on patch should use this new setting to change the default from "mirror" to "raid10", as this is the preferred segment type.
2013-02-20clean-up: Rename lvm.conf setting 'mirror_region_size' to 'raid_region_size'Jonathan Brassow
We have been using 'mirror_region_size' in lvm.conf as the default region size for RAID logical volumes as well as mirror logical volumes. Since, "raid" is more inclusive and representative than "mirror", I have changed the name of this setting. We must still check for the old setting and warn the user if we are overriding it with the new setting if both happen to be present.
2013-01-07logging: add debug classesAlasdair G Kergon
Add log/debug_classes to lvm.conf to allow debug messages to be classified and filtered at runtime. The dm_errno field is only used by log_error(), so I've redefined it for log_debug() messages to hold the message class. By default, all existing messages appear, but we can add categories that generate high volumes of data, such as logging all traffic to/from lvmetad.
2012-12-03thin: reworked thin feature detectionZdenek Kabelac
Rework thin feature detection to support runtime section to allow to disable them selectively. New lvm.conf option is born: global/thin_disabled_features
2012-11-26thin: support configurable thin pool defaultsZdenek Kabelac
Configurable settings for thin pool create if they are not specified on command line. New supported lvm.conf options are: allocation/thin_pool_chunk_size allocation/thin_pool_discards allocation/thin_pool_zero
2012-11-19docs: host tags has a default volume_listAlasdair G Kergon
Document that lvm.conf activation/volume_list defaults to @* when there's a host tag.
2012-10-09example.conf: Warn about running lvmetad with use_lvmetad = 0.Petr Rockai
2012-09-26Implement devices/global_filter.Petr Rockai
The global filter is applied first, and is also applied in pvscan --cache (which is called from udev rules to keep lvmetad updated). Cf. example.conf.
2012-09-26example.conf.in: The command to refresh lvmetad is pvscan --cache.Petr Rockai
2012-08-26buffering: use unbuffered silent mode for liblvmAlasdair G Kergon
Disable private buffering when using liblvm. When private stdin/stdout buffering is not used always use silent mode.
2012-08-25config: add silent modeAlasdair G Kergon
Accept -q as the short form of --quiet. Suppress non-essential standard output if -q is given twice. Treat log/silent in lvm.conf as equivalent to -qq. Review all log_print messages and change some to log_print_unless_silent. When silent, the following commands still produce output: dumpconfig, lvdisplay, lvmdiskscan, lvs, pvck, pvdisplay, pvs, version, vgcfgrestore -l, vgdisplay, vgs. [Needs checking.] Non-essential messages are shifted from log level 4 to log level 5 for syslog and lvm2_log_fn purposes.
2012-08-07comments: misc updatesAlasdair G Kergon
Miscellaneous clarifications to comments.
2012-07-16conf: add a comment about obsolete .cache filePeter Rajnoha
2012-06-29cleanup: static volume filter fn, lvm.conf commentPeter Rajnoha
Change 'lv_passes_volumes_filter' fn back to static as it's not actually needed in the other code (a remnant from devel version). Fix lvm.conf comment referencing '--autoactivate' which was finally decided to be '--activate ay'.
2012-06-28conf: add activation/auto_activation_volume_listPeter Rajnoha
2012-06-21kernel docs: Refresh kernel target documentationAlasdair G Kergon
Update the packaged copy of the in-kernel target documentation files. Adds dm-verity, updates thin provisioning and makes minor corrections elsewhere.
2012-06-08More .gitignore files for an in-source-tree build.Alasdair G Kergon
Tell git to ignore files generated by a build inside the source tree.
2012-05-23Move thin_check_executable to proper sectionZdenek Kabelac
It's read from global section. In-release change, so no what's new
2012-05-14Refer to details of snapshot of raid problem.Alasdair Kergon
2012-05-10Uncomment allocation section to match style of rest of file.Alasdair Kergon
2012-04-27Make a note that "raid1" is not cluster-aware in the example lvm.conf.Jonathan Earl Brassow
In the description of the segment types for the 'mirror_segtype_default' field, we mention that "raid1" is not cluster-aware.
2012-03-27There is no hotsname_tags but only hosttags... sigh, even docs is wrong :-)Milan Broz
2012-03-14Cleanup for conf fileZdenek Kabelac
2012-03-14Improve thin_check option passingZdenek Kabelac
Update a way we handle option passing - so we now support path and options with space inside. Fix dm name usage for thin pools with '-' in name. Use new lvm.conf option thin_check_options to pass in options as string array.
2012-03-02Add support for thin checkZdenek Kabelac
Use libdm callback to execute thin_check before activation thin pool and after deactivation as well. Supporting thin_check_executable which may pass in extra options for the tool.
2012-03-02Change pvscan --lvmetad to pvscan --cache.Alasdair Kergon
2012-02-23The lvmetad client-side integration. Only active when use_lvmetad = 1 is set inPetr Rockai
lvm.conf *and* lvmetad is running.
2012-01-26pre-releaseAlasdair Kergon
2012-01-20Update lvdisplay to show more info about thin LVsZdenek Kabelac
Reformat name and path how the LV is represented with lvm1 compatible option, to switch to the old way - which had number of problem - i.e. many links do not exist - since for private devices we are not creating them. Add more info about thin pools and volumes.
2012-01-12Add activation/read_only_volume_list to override LV permission in metadata.Alasdair Kergon
2011-12-21Thin automatic policy based extensionZdenek Kabelac
2011-12-21Thin add dmeventd supportZdenek Kabelac
This is basic version with still few unresolved issue mainly in case, when the pool resize is failing.
2011-12-06Add policy based automated repair of RAID logical volumesJonathan Earl Brassow
The RAID plug-in for dmeventd now calls 'lvconvert --repair' to address failures of devices in a RAID logical volume. The action taken can be either to "warn" or "allocate" a new device from any spares that may be available in the volume group. The action is designated by setting 'raid_fault_policy' in lvm.conf - the default being "warn".
2011-11-28Add activation/use_linear_target enabled by default. (prajnoha)Alasdair Kergon
LVM metadata knows only of striped segments - not linear ones. The activation code detects segments with a single stripe and switches them to use the linear target. If the new lvm.conf setting is set to 0 (e.g. in a test script), this 'optimisation' is turned off.
2011-11-22--addtag instead of --tagPeter Rajnoha
2011-11-15Include a copy of kernel DM documentation in doc/kernelAlasdair Kergon
2011-11-11Do not scan device if it is part of active multipath.Milan Broz
Add filter which tries to check if scanned device is part of active multipath. Firstly, only SCSI major number devices are handled in filter. Then it checks if device has exactly one holder (in sysfs) and if it is device-mapper device and DM-UUID is prefixed by "MPATH-". If so, this device is filtered out. The whole filter can be switched off by setting mpath_component_detection in lvm.conf. https://bugzilla.redhat.com/show_bug.cgi?id=597010 Signed-off-by: Milan Broz <mbroz@redhat.com>