summaryrefslogtreecommitdiffstats
path: root/man/vgchange.8.in
Commit message (Collapse)AuthorAgeFilesLines
* activate: skip manual activation for --sysinit -aayPeter Rajnoha2012-07-101-0/+5
| | | | | | | | | | | | | When --sysinit -a ay is used with vg/lvchange and lvmetad is up and running, we should skip manual activation as that would be a useless step - all volumes are autoactivated once all the PVs for a VG are present. If lvmetad is not active at the time of the vgchange --sysinit -a ay call, the activation proceeds in standard 'manual' way. This way, we can still have vg/lvchange --sysinit -a ay called unconditionally in system initialization scripts no matter if lvmetad is used or not.
* man: --activate ay and auto_activation_volume_listPeter Rajnoha2012-06-291-2/+7
|
* args: add --activate synonym for --available argPeter Rajnoha2012-06-281-2/+2
| | | | | | | | We're refererring to 'activation' all over the code and we're talking about 'LVs being activated' all the time so let's use 'activation/activate' everywhere for clarity and consistency (still providing the old 'available' keyword as a synonym for backward compatibility with existing environments).
* Update man pagesZdenek Kabelac2012-04-111-66/+71
| | | | Use one style for man pages.
* Minor man page updates related to metadataignore and vgmetadatacopies.Dave Wysochanski2010-07-131-2/+2
| | | | | | | pvchange: Add --metadataignore description vgchange: Fix minor formatting pvcreate: Update metadataignore description to refer to pvchange lvm.conf: Refer to pvcreate and pvchange for metadata options.
* Minor changes to man pages for --metadataignore.Dave Wysochanski2010-07-021-1/+1
| | | | | Move the definition from pvchange to pvcreate - the location of other metadata options.
* Define vgmetadatacopies in vgchange man page.Dave Wysochanski2010-06-281-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | This patch adds a vgmetadatacopies parameter for metadata balancing. This parameter provides a simple way for users to create a policy for placing metadata on PVs automatically by LVM. The behavior is implemented inside LVM by managing the 'ignore' mda bits. We chose the name 'vgmetadatacopies' as this is a natural extension to the existing parameter 'pvmetadatacopies' / 'metadatacopies' in pvcreate. This is a first step at VG parameter based metadata balancing. Most users will probably want to state that they want a certain number of PVs to contain metadata, and they may be less concerned about a specific number of metadata copies in the volume group. However, for default values (pvmetadatacopies is 1 by default), the number of metadatacopies in the volume group, and the number of PVs with metadata are the same. In the future we could add vgmetadatacopiespvs to define more specifically the number of pvs in the VG that contain metadata, but for now we start with this parameter. Another possible future extension would be to define a specific pv tag to mark the set of PVs that should be used for metadata balancing. This tag based approach could be used in conjunction with 'vgmetadatacopies'. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Add new --sysinit option for vgchange and lvchange.Peter Rajnoha2010-05-061-0/+10
| | | | | | A shortcut for --ignorelockingfailure, --ignoremonitoring, --poll n options and LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES environment variable used all at once in initialisation scripts (e.g. rc.sysinit or initrd).
* Improve activation monitoring option processingMike Snitzer2010-03-231-1/+1
| | | | | | | | | | | | | . Add "monitoring" option to "activation" section of lvm.conf . Have clvmd consult the lvm.conf "activation/monitoring" too. . Introduce toollib.c:get_activation_monitoring_mode(). . Error out when both --monitor and --ignoremonitoring are provided. . Add --monitor and --ignoremonitoring support to lvcreate. Update lvcreate man page accordingly. . Clarify that '--monitor' controls the start and stop of monitoring in the {vg,lv}change man pages. Signed-off-by: Mike Snitzer <snitzer@redhat.com>
* . update documentation for --poll in the vgchange and lvchange man pagesMike Snitzer2010-01-061-6/+6
| | | | . add high-level --poll FIXMEs to vgchange.c and lvchange.c
* Add a [--poll {y|n}] flag to vgchange and lvchange to control whetherMike Snitzer2010-01-051-0/+9
| | | | | | | | | | | | | | | | | | | | | | the background polldaemon is allowed to start. It can be used standalone or in conjunction with --refresh or --available y. Control over when the background polldaemon starts will be particularly important for snapshot-merge of a root filesystem. Dracut will be updated to activate all LVs with: --poll n The lvm2-monitor initscript will start polling with: --poll y NOTE: Because we currently have no way of knowing if a background polldaemon is active for a given LV the following limitations exist and have been deemed acceptable: 1) it is not possible to stop an active polldaemon; so the lvm2-monitor initscript doesn't stop running polldaemon(s) 2) redundant polldaemon instances will be started for all specified LVs if vgchange or lvchange are repeatedly used with '--poll y' Signed-off-by: Mike Snitzer <snitzer@redhat.com>
* Add --pvmetadatacopies as a synonym for --metadatacopies in various commands.Dave Wysochanski2009-10-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Going forward, we would like to allow users to specify the total number of metadatacopies in a VG rather than on a per-PV basis. In order to facilitate that, introduce --pvmetadatacopes to replace --metadatacopies everywhere. We still allow --metadatacopies for pv commands, but require --pvmetadatacopies for vg commands. Eventually we will introduce --vgmetadatacopies. Once we do that, we should either deprecate --metadatacopies or make it a synonym based on the command (pvmetadatacopies for pv commands, and vgmetadatacopies for vg commands). The latter option would likely just require a simple 'strncpy' check against cmd->command->name to qualify the merge_synonym call. Update nightly tests to cover the pvmetadatacopies synonym. Note that this patch is the result of an eariler review comment for the implicit pvcreate patches. Should apply cleanly on top of the implicit pvcreate patches (I applied after patch 10/10 in that series). NOTE: This patch will require --pvmetadatacopies for vgconvert as --metadatacopies is no longer accepted.
* '--noudevsync' -- update relevant man pagesPeter Rajnoha2009-08-041-0/+8
|
* Allow commandline sizes to be specified in terms of bytes and sectors.Mike Snitzer2009-07-061-2/+2
| | | | Update the man pages to document size units uniformly.
* Update vgchange and vgmknodes man pages to include --refresh.Dave Wysochanski2009-02-251-0/+7
| | | | Author: Dave Wysochanski <dwysocha@redhat.com>
* Generate man pages from templates and include version. (romster)Alasdair Kergon2008-10-081-0/+152