summaryrefslogtreecommitdiffstats
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* comments: misc updatesAlasdair G Kergon2012-08-071-3/+3
| | | | Miscellaneous clarifications to comments.
* conf: add a comment about obsolete .cache filePeter Rajnoha2012-07-161-0/+3
|
* cleanup: static volume filter fn, lvm.conf commentPeter Rajnoha2012-06-291-3/+3
| | | | | | | 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'.
* conf: add activation/auto_activation_volume_listPeter Rajnoha2012-06-281-0/+9
|
* kernel docs: Refresh kernel target documentationAlasdair G Kergon2012-06-215-22/+222
| | | | | | Update the packaged copy of the in-kernel target documentation files. Adds dm-verity, updates thin provisioning and makes minor corrections elsewhere.
* More .gitignore files for an in-source-tree build.Alasdair G Kergon2012-06-081-0/+1
| | | | Tell git to ignore files generated by a build inside the source tree.
* Move thin_check_executable to proper sectionZdenek Kabelac2012-05-231-14/+15
| | | | | It's read from global section. In-release change, so no what's new
* Refer to details of snapshot of raid problem.Alasdair Kergon2012-05-141-2/+6
|
* Uncomment allocation section to match style of rest of file.Alasdair Kergon2012-05-101-34/+32
|
* Make a note that "raid1" is not cluster-aware in the example lvm.conf.Jonathan Earl Brassow2012-04-271-0/+2
| | | | | In the description of the segment types for the 'mirror_segtype_default' field, we mention that "raid1" is not cluster-aware.
* There is no hotsname_tags but only hosttags... sigh, even docs is wrong :-)Milan Broz2012-03-271-1/+1
|
* Cleanup for conf fileZdenek Kabelac2012-03-141-2/+2
|
* Improve thin_check option passingZdenek Kabelac2012-03-141-1/+5
| | | | | | | 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.
* Add support for thin checkZdenek Kabelac2012-03-021-0/+10
| | | | | | | | 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.
* Change pvscan --lvmetad to pvscan --cache.Alasdair Kergon2012-03-022-4/+4
|
* The lvmetad client-side integration. Only active when use_lvmetad = 1 is set inPetr Rockai2012-02-231-0/+10
| | | | lvm.conf *and* lvmetad is running.
* pre-releaseAlasdair Kergon2012-01-261-4/+7
|
* Update lvdisplay to show more info about thin LVsZdenek Kabelac2012-01-201-0/+5
| | | | | | | 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.
* Add activation/read_only_volume_list to override LV permission in metadata.Alasdair Kergon2012-01-121-0/+10
|
* Thin automatic policy based extensionZdenek Kabelac2011-12-211-0/+19
|
* Thin add dmeventd supportZdenek Kabelac2011-12-211-0/+9
| | | | | This is basic version with still few unresolved issue mainly in case, when the pool resize is failing.
* Add policy based automated repair of RAID logical volumesJonathan Earl Brassow2011-12-063-63/+135
| | | | | | | | 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".
* Add activation/use_linear_target enabled by default. (prajnoha)Alasdair Kergon2011-11-281-0/+5
| | | | | | | | | 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.
* --addtag instead of --tagPeter Rajnoha2011-11-221-6/+6
|
* Include a copy of kernel DM documentation in doc/kernelAlasdair Kergon2011-11-1516-0/+1359
|
* Do not scan device if it is part of active multipath.Milan Broz2011-11-111-0/+5
| | | | | | | | | | | | | | | | | | | 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>
* Thin add thin_pool_metadata_require_separate_pvsZdenek Kabelac2011-11-041-0/+5
| | | | Allow to set different policy for pool from mirrors.
* Reduce preallocated stack sizeZdenek Kabelac2011-10-111-1/+2
| | | | | | | | | | Go with just 64KiB for stack. Closer inspection should be made, whether we actually need to play with settings at all. Since default stack size is 8MB and gets mapped via page locking thus, it seems there is no big help with preallocation of stack to some value.
* Clarify multi-name device filter pattern matching explanation in lvm.conf.5.Alasdair Kergon2011-10-041-3/+5
|
* Update the RAID design doc to reflect some of the new options introduce (e.g.Jonathan Earl Brassow2011-09-231-20/+128
| | | | | --merge and --trackchanges) and document the coding steps of up/down-conversion, splitting RAID1 images, and merging RAID1 images.
* Add activation/retry_deactivation to lvm.conf to retry deactivation of an LV.Peter Rajnoha2011-09-221-0/+5
|
* more pre-release fixesAlasdair Kergon2011-08-121-20/+20
|
* Add detect_internal_vg_cache_corruption to lvm.confZdenek Kabelac2011-08-111-0/+5
| | | | | | | | | | | Add config option to enable crc checking of VG structures. Currently it's disabled by default. For the internal test-suite this check it is enabled. Note: In the case the internal error is detected, debug build with compile option DEBUG_ENFORCE_POOL_LOCKING helps to catch the source of the problem.
* Add basic RAID segment type(s) support.Jonathan Earl Brassow2011-08-021-0/+20
| | | | | | | | | | | | | Implementation described in doc/lvm2-raid.txt. Basic support includes: - ability to create RAID 1/4/5/6 arrays - ability to delete RAID arrays - ability to display RAID arrays Notable missing features (not included in this patch): - ability to clean-up/repair failures - ability to convert RAID segment types - ability to monitor RAID segment types
* LVM2 RAID design docJonathan Earl Brassow2011-07-141-0/+298
|
* move doc to doc dirAlasdair Kergon2011-07-081-0/+197
|
* Add framework for validation of ioctls. Doesn't do any checks yet.Alasdair Kergon2011-07-011-0/+6
| | | | | | dmsetup --checks libdevmapper: dm_task_enable_checks() lvm.conf: activation/checks=1
* Move udev_only logic inside stacked node op code.Alasdair Kergon2011-06-271-6/+5
| | | | | | (We still need to treat add+readhead+del as a no-op.) Rename udev_fallback to verify_udev_operations. Rename --udevfallback to --verifyudev
* Disable udev fallback by default and add activation/udev_fallback to lvm.conf.Peter Rajnoha2011-06-171-0/+7
| | | | | | | | | | | | | | | | | | | We've used udev fallback code till now to check whether udev created/removed the entries in /dev correctly and if not, a repair was done (giving a warning messagea about that). This patch adds a possibility to enable this additional check and subsequent fallback only when required (debugging purposes mostly) and trust udev completely. So let's disable the fallback code by default and add a new configuration option "activation/udev_fallback". (The original code for creating the nodes will still be used in case the device directory that is set in lvm.conf differs from the one that udev uses and also when activation/udev_rules is set to 0 - otherwise we would end up with no nodes/symlinks at all)
* First draft of a document describing how we will automatically andPetr Rockai2011-05-251-0/+83
| | | | incrementally assemble (possibly multi-component, like LVM) storage devices.
* Set pv_min_size to 2048KB to exclude floppy drives.Alasdair Kergon2011-04-281-5/+11
| | | | Previously was 512.
* Uncomment obtain_device_list_from_udev setting in lvm.conf.Peter Rajnoha2011-04-261-1/+1
| | | | Just for consistency with other settings we already have in lvm.conf.
* Obtain device list from udev by default if LVM2 is compiled with udev support.Peter Rajnoha2011-04-221-0/+10
| | | | | | | | | | | | | | Also, add a new 'obtain_device_list_from_udev' setting to lvm.conf with which we can turn this feature on or off if needed. If set, the cache of block device nodes with all associated symlinks will be constructed out of the existing udev database content. This avoids using and opening any inapplicable non-block devices or subdirectories found in the device directory. This setting is applied to udev-managed device directory only, other directories will be scanned fully. LVM2 needs to be compiled with udev support for this setting to take effect. N.B. Any device node or symlink not managed by udev in udev directory will be ignored with this setting on.
* Improve the discard documentation. Also improve discard code inMike Snitzer2011-04-131-4/+8
| | | | | | pv_manip.c to properly account for case when pe_start=0 and the first physical extent is to be released (currently skip the first extent to avoid discarding the PV label).
* Add "devices/issue_discards" to lvm.conf.Mike Snitzer2011-04-121-0/+8
| | | | Issue discards on lvremove if enabled and both storage and kernel have support.
* fix s/then/than/ typos in 'pv_min_size' section and fold floppy exampleMike Snitzer2011-04-121-4/+3
| | | | into documentation preamble.
* Various changes to the allocation algorithms: Expect some fallout.Alasdair Kergon2011-02-271-0/+13
| | | | | | | There is a lot to test. Two new config settings added that are intended to make the code behave closely to the way it did before - worth a try if you find problems.
* Replace PV_MIN_SIZE with function pv_min_size()Zdenek Kabelac2011-02-181-0/+8
| | | | | | | | | | | | | | | | | Add configurable option to define minimal size of of block device usable as a PV. pv_min_size() is added to lvm-globals and it's being initialized through _process_config. Macro PV_MIN_SIZE is unused and removed. New define DEFAULT_PV_MIN_SIZE_KB is added to lvm-global and unlike PV_MIN_SIZE it uses KB units. Should help users with various slow devices attached to the system, which cannot be easily filtered out (like FDD on /dev/sdX): https://bugzilla.redhat.com/show_bug.cgi?id=644578
* Extend cling allocation policy to recognise PV tags (cling_by_tags).Alasdair Kergon2010-11-091-0/+19
| | | | Add allocation/cling_tag_list to lvm.conf.
* Add global/metadata_read_only to use unrepaired metadata in read-only cmds.Alasdair Kergon2010-10-251-0/+7
|