{
    "content": [
        {
            "type": "text",
            "text": "# vgchange (man)\n\n## NAME\n\nvgchange — Change volume group attributes\n\n## SYNOPSIS\n\nvgchange optionargs positionargs\n[ optionargs ]\n[ positionargs ]\n-a|--activate y|n|ay\n--activationmode partial|degraded|complete\n--addtag Tag\n--alloc contiguous|cling|clingbytags|normal|anywhere|inherit\n--autoactivation String\n-A|--autobackup y|n\n--commandprofile String\n--config String\n-d|--debug\n--deltag Tag\n--detachprofile\n--devices PV\n--devicesfile String\n--driverloaded y|n\n-f|--force\n-h|--help\n-K|--ignoreactivationskip\n--ignorelockingfailure\n--ignoremonitoring\n--journal String\n--lockopt String\n--lockstart\n--lockstop\n--locktype sanlock|dlm|none\n-l|--logicalvolume Number\n--longhelp\n-p|--maxphysicalvolumes Number\n--metadataprofile String\n--monitor y|n\n--nohints\n--nolocking\n--noudevsync\n-P|--partial\n-s|--physicalextentsize Size[m|UNIT]\n--poll y|n\n--profile String\n--pvmetadatacopies 0|1|2\n-q|--quiet\n--readonly\n--refresh\n--reportformat basic|json\n-x|--resizeable y|n\n-S|--select String\n--setautoactivation y|n\n--sysinit\n--systemid String\n-t|--test\n-u|--uuid\n-v|--verbose\n--version\n--[vg]metadatacopies all|unmanaged|Number\n-y|--yes\n\n## DESCRIPTION\n\nvgchange changes VG attributes, changes LV activation in the kernel, and includes other util‐\nities for VG maintenance.\n\n## TLDR\n\n> Change the attributes of a Logical Volume Manager (LVM) volume group.\n\n- Change the activation status of logical volumes in all volume groups:\n  `sudo vgchange {{-a|--activate}} {{y|n}}`\n- Change the activation status of logical volumes in the specified volume group (determine with `vgscan`):\n  `sudo vgchange {{-a|--activate}} {{y|n}} {{volume_group}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **USAGE** (4 subsections)\n- **OPTIONS** (30 subsections)\n- **VARIABLES**\n- **ENVIRONMENT VARIABLES**\n- **NOTES**\n- **EXAMPLES** (2 subsections)\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "vgchange",
        "section": "",
        "mode": "man",
        "summary": "vgchange — Change volume group attributes",
        "synopsis": "vgchange optionargs positionargs\n[ optionargs ]\n[ positionargs ]\n-a|--activate y|n|ay\n--activationmode partial|degraded|complete\n--addtag Tag\n--alloc contiguous|cling|clingbytags|normal|anywhere|inherit\n--autoactivation String\n-A|--autobackup y|n\n--commandprofile String\n--config String\n-d|--debug\n--deltag Tag\n--detachprofile\n--devices PV\n--devicesfile String\n--driverloaded y|n\n-f|--force\n-h|--help\n-K|--ignoreactivationskip\n--ignorelockingfailure\n--ignoremonitoring\n--journal String\n--lockopt String\n--lockstart\n--lockstop\n--locktype sanlock|dlm|none\n-l|--logicalvolume Number\n--longhelp\n-p|--maxphysicalvolumes Number\n--metadataprofile String\n--monitor y|n\n--nohints\n--nolocking\n--noudevsync\n-P|--partial\n-s|--physicalextentsize Size[m|UNIT]\n--poll y|n\n--profile String\n--pvmetadatacopies 0|1|2\n-q|--quiet\n--readonly\n--refresh\n--reportformat basic|json\n-x|--resizeable y|n\n-S|--select String\n--setautoactivation y|n\n--sysinit\n--systemid String\n-t|--test\n-u|--uuid\n-v|--verbose\n--version\n--[vg]metadatacopies all|unmanaged|Number\n-y|--yes",
        "tldr_summary": "Change the attributes of a Logical Volume Manager (LVM) volume group.",
        "tldr_examples": [
            {
                "description": "Change the activation status of logical volumes in all volume groups",
                "command": "sudo vgchange {{-a|--activate}} {{y|n}}"
            },
            {
                "description": "Change the activation status of logical volumes in the specified volume group (determine with `vgscan`)",
                "command": "sudo vgchange {{-a|--activate}} {{y|n}} {{volume_group}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-a",
                "long": "--activate",
                "arg": null,
                "description": "Change the active state of LVs. An active LV can be used through a block device, al‐ lowing data on the LV to be accessed. y makes LVs active, or available. n makes LVs inactive, or unavailable. The block device for the LV is added or removed from the system using device-mapper in the kernel. A symbolic link /dev/VGName/LVName pointing to the device node is also added/removed. All software and scripts should access the device through the symbolic link and present this as the name of the device. The lo‐ cation and name of the underlying device node may depend on the distribution, configu‐ ration (e.g. udev), or release version. ay specifies autoactivation, which is used by system-generated activation commands. By default, LVs are autoactivated. An autoac‐ tivation property can be set on a VG or LV to disable autoactivation, see --setautoac‐ tivation y|n in vgchange, lvchange, vgcreate, and lvcreate. Display the property with vgs or lvs \"-o autoactivation\". The lvm.conf(5) autoactivationvolumelist includes names of VGs or LVs that should be autoactivated, and anything not listed is not au‐ toactivated. When autoactivationvolumelist is undefined (the default), it has no effect. If autoactivationvolumelist is defined and empty, no LVs are autoactivat‐ ed. Items included by autoactivationvolumelist will not be autoactivated if the autoactivation property has been disabled. See lvmlockd(8) for more information about activation options ey and sy for shared VGs. --activationmode partial|degraded|complete Determines if LV activation is allowed when PVs are missing, e.g. because of a device failure. complete only allows LVs with no missing PVs to be activated, and is the most restrictive mode. degraded allows RAID LVs with missing PVs to be activated. (This does not include the \"mirror\" type, see \"raid1\" instead.) partial allows any LV with missing PVs to be activated, and should only be used for recovery or repair. For default, see lvm.conf(5) activationmode. See lvmraid(7) for more information. --addtag Tag Adds a tag to a PV, VG or LV. This option can be repeated to add multiple tags at once. See lvm(8) for information about tags. --alloc contiguous|cling|clingbytags|normal|anywhere|inherit Determines the allocation policy when a command needs to allocate Physical Extents (PEs) from the VG. Each VG and LV has an allocation policy which can be changed with vgchange/lvchange, or overridden on the command line. normal applies common sense rules such as not placing parallel stripes on the same PV. inherit applies the VG policy to an LV. contiguous requires new PEs be placed adjacent to existing PEs. cling places new PEs on the same PV as existing PEs in the same stripe of the LV. If there are sufficient PEs for an allocation, but normal does not use them, anywhere will use them even if it reduces performance, e.g. by placing two stripes on the same PV. Optional positional PV args on the command line can also be used to limit which PVs the command will use for allocation. See lvm(8) for more information about allo‐ cation. --autoactivation String Specify if autoactivation is being used from an event. This allows the command to ap‐ ply settings that are specific to event activation, such as device scanning optimiza‐ tions using pvsonline files created by event-based pvscans."
            },
            {
                "flag": "-A",
                "long": "--autobackup",
                "arg": null,
                "description": "Specifies if metadata should be backed up automatically after a change. Enabling this is strongly advised! See vgcfgbackup(8) for more information. --commandprofile String The command profile to use for command configuration. See lvm.conf(5) for more infor‐ mation about profiles. --config String Config settings for the command. These override lvm.conf(5) settings. The String arg uses the same format as lvm.conf(5), or may use section/field syntax. See lvm.conf(5) for more information about config."
            },
            {
                "flag": "-d",
                "long": "--debug",
                "arg": null,
                "description": "Set debug level. Repeat from 1 to 6 times to increase the detail of messages sent to the log file and/or syslog (if configured). --deltag Tag Deletes a tag from a PV, VG or LV. This option can be repeated to delete multiple tags at once. See lvm(8) for information about tags."
            },
            {
                "flag": "",
                "long": "--detachprofile",
                "arg": null,
                "description": "Detaches a metadata profile from a VG or LV. See lvm.conf(5) for more information about profiles. --devices PV Restricts the devices that are visible and accessible to the command. Devices not listed will appear to be missing. This option can be repeated, or accepts a comma sep‐ arated list of devices. This overrides the devices file. --devicesfile String A file listing devices that LVM should use. The file must exist in /etc/lvm/devices/ and is managed with the lvmdevices(8) command. This overrides the lvm.conf(5) de‐ vices/devicesfile and devices/usedevicesfile settings. --driverloaded y|n If set to no, the command will not attempt to use device-mapper. For testing and de‐ bugging."
            },
            {
                "flag": "-f",
                "long": "--force",
                "arg": null,
                "description": "Override various checks, confirmations and protections. Use with extreme caution."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help text."
            },
            {
                "flag": "-K",
                "long": "--ignoreactivationskip",
                "arg": null,
                "description": "Ignore the \"activation skip\" LV flag during activation to allow LVs with the flag set to be activated."
            },
            {
                "flag": "",
                "long": "--ignorelockingfailure",
                "arg": null,
                "description": "Allows a command to continue with read-only metadata operations after locking fail‐ ures."
            },
            {
                "flag": "",
                "long": "--ignoremonitoring",
                "arg": null,
                "description": "Do not interact with dmeventd unless --monitor is specified. Do not use this if dmeventd is already monitoring a device. --journal String Record information in the systemd journal. This information is in addition to infor‐ mation enabled by the lvm.conf log/journal setting. command: record information about the command. output: record the default command output. debug: record full command debugging. --lockopt String Used to pass options for special cases to lvmlockd. See lvmlockd(8) for more informa‐ tion."
            },
            {
                "flag": "",
                "long": "--lockstart",
                "arg": null,
                "description": "Start the lockspace of a shared VG in lvmlockd. lvmlockd locks becomes available for the VG, allowing LVM to use the VG. See lvmlockd(8) for more information."
            },
            {
                "flag": "",
                "long": "--lockstop",
                "arg": null,
                "description": "Stop the lockspace of a shared VG in lvmlockd. lvmlockd locks become unavailable for the VG, preventing LVM from using the VG. See lvmlockd(8) for more information. --locktype sanlock|dlm|none Change the VG lock type to or from a shared lock type used with lvmlockd. See lvm‐ lockd(8) for more information."
            },
            {
                "flag": "-l",
                "long": "--logicalvolume",
                "arg": null,
                "description": "Sets the maximum number of LVs allowed in a VG."
            },
            {
                "flag": "",
                "long": "--longhelp",
                "arg": null,
                "description": "Display long help text."
            },
            {
                "flag": "-p",
                "long": "--maxphysicalvolumes",
                "arg": null,
                "description": "Sets the maximum number of PVs that can belong to the VG. The value 0 removes any limitation. For large numbers of PVs, also see options --pvmetadatacopies, and --vg‐ metadatacopies for improving performance. --metadataprofile String The metadata profile to use for command configuration. See lvm.conf(5) for more in‐ formation about profiles. --monitor y|n Start (yes) or stop (no) monitoring an LV with dmeventd. dmeventd monitors kernel events for an LV, and performs automated maintenance for the LV in reponse to specific events. See dmeventd(8) for more information."
            },
            {
                "flag": "",
                "long": "--nohints",
                "arg": null,
                "description": "Do not use the hints file to locate devices for PVs. A command may read more devices to find PVs when hints are not used. The command will still perform standard hint file invalidation where appropriate."
            },
            {
                "flag": "",
                "long": "--nolocking",
                "arg": null,
                "description": "Disable locking. Use with caution, concurrent commands may produce incorrect results."
            },
            {
                "flag": "",
                "long": "--noudevsync",
                "arg": null,
                "description": "Disables udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible udev processing in the background. Only use this if udev is not running or has rules that ignore the devices LVM creates."
            },
            {
                "flag": "-P",
                "long": "--partial",
                "arg": null,
                "description": "Commands will do their best to activate LVs with missing PV extents. Missing extents may be replaced with error or zero segments according to the missingstripefiller setting. Metadata may not be changed with this option."
            },
            {
                "flag": "-s",
                "long": "--physicalextentsize",
                "arg": null,
                "description": "Sets the physical extent size of PVs in the VG. The value must be either a power of 2 of at least 1 sector (where the sector size is the largest sector size of the PVs cur‐ rently used in the VG), or at least 128KiB. Once this value has been set, it is dif‐ ficult to change without recreating the VG, unless no extents need moving. Before in‐ creasing the physical extent size, you might need to use lvresize, pvresize and/or pv‐ move so that everything fits. For example, every contiguous range of extents used in a LV must start and end on an extent boundary. --poll y|n When yes, start the background transformation of an LV. An incomplete transformation, e.g. pvmove or lvconvert interrupted by reboot or crash, can be restarted from the last checkpoint with --poll y. When no, background transformation of an LV will not occur, and the transformation will not complete. It may not be appropriate to immedi‐ ately poll an LV after activation, in which case --poll n can be used to defer polling until a later --poll y command. --profile String An alias for --commandprofile or --metadataprofile, depending on the command. --pvmetadatacopies 0|1|2 The number of metadata areas to set aside on a PV for storing VG metadata. When 2, one copy of the VG metadata is stored at the front of the PV and a second copy is stored at the end. When 1, one copy of the VG metadata is stored at the front of the PV. When 0, no copies of the VG metadata are stored on the given PV. This may be useful in VGs containing many PVs (this places limitations on the ability to use vgsplit later.)"
            },
            {
                "flag": "-q",
                "long": "--quiet",
                "arg": null,
                "description": "Suppress output and log messages. Overrides --debug and --verbose. Repeat once to al‐ so suppress any prompts with answer 'no'."
            },
            {
                "flag": "",
                "long": "--readonly",
                "arg": null,
                "description": "Run the command in a special read-only mode which will read on-disk metadata without needing to take any locks. This can be used to peek inside metadata used by a virtual machine image while the virtual machine is running. No attempt will be made to commu‐ nicate with the device-mapper kernel driver, so this option is unable to report whether or not LVs are actually in use."
            },
            {
                "flag": "",
                "long": "--refresh",
                "arg": null,
                "description": "If the LV is active, reload its metadata. This is not necessary in normal operation, but may be useful if something has gone wrong, or if some form of manual LV sharing is being used. --reportformat basic|json Overrides current output format for reports which is defined globally by the re‐ port/outputformat setting in lvm.conf(5). basic is the original format with columns and rows. If there is more than one report per command, each report is prefixed with the report name for identification. json produces report output in JSON format. See lvmreport(7) for more information."
            },
            {
                "flag": "-x",
                "long": "--resizeable",
                "arg": null,
                "description": "Enables or disables the addition or removal of PVs to/from a VG (by vgextend/vgre‐ duce)."
            },
            {
                "flag": "-S",
                "long": "--select",
                "arg": null,
                "description": "Select objects for processing and reporting based on specified criteria. The criteria syntax is described by --select help and lvmreport(7). For reporting commands, one row is displayed for each object matching the criteria. See --options help for selec‐ table object fields. Rows can be displayed with an additional \"selected\" field (-o selected) showing 1 if the row matches the selection and 0 otherwise. For non-report‐ ing commands which process LVM entities, the selection is used to choose items to process. --setautoactivation y|n Set the autoactivation property on a VG or LV. Display the property with vgs or lvs \"-o autoactivation\". When the autoactivation property is disabled, the VG or LV will not be activated by a command doing autoactivation (vgchange, lvchange, or pvscan us‐ ing -aay.) If autoactivation is disabled on a VG, no LVs will be autoactivated in that VG, and the LV autoactivation property has no effect. If autoactivation is en‐ abled on a VG, autoactivation can be disabled for individual LVs."
            },
            {
                "flag": "",
                "long": "--sysinit",
                "arg": null,
                "description": "Indicates that vgchange/lvchange is being invoked from early system initialisation scripts (e.g. rc.sysinit or an initrd), before writable filesystems are available. As such, some functionality needs to be disabled and this option acts as a shortcut which selects an appropriate set of options. Currently, this is equivalent to using --ig‐ norelockingfailure, --ignoremonitoring, --poll n, and setting env var LVMSUP‐ PRESSLOCKINGFAILUREMESSAGES. vgchange/lvchange skip autoactivation, and defer to pvscan autoactivation. --systemid String Changes the system ID of the VG. Using this option requires caution because the VG may become foreign to the host running the command, leaving the host unable to access it. See lvmsystemid(7) for more information."
            },
            {
                "flag": "-t",
                "long": "--test",
                "arg": null,
                "description": "Run in test mode. Commands will not update metadata. This is implemented by disabling all metadata writing but nevertheless returning success to the calling function. This may lead to unusual error messages in multi-stage operations if a tool relies on read‐ ing back metadata it believes has changed but hasn't."
            },
            {
                "flag": "-u",
                "long": "--uuid",
                "arg": null,
                "description": "Generate new random UUID for specified VGs."
            },
            {
                "flag": "-v",
                "long": "--verbose",
                "arg": null,
                "description": "Set verbose level. Repeat from 1 to 4 times to increase the detail of messages sent to stdout and stderr."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Display version information. --[vg]metadatacopies all|unmanaged|Number Number of copies of the VG metadata that are kept. VG metadata is kept in VG metadata areas on PVs in the VG, i.e. reserved space at the start and/or end of the PVs. Keep‐ ing a copy of the VG metadata on every PV can reduce performance in VGs containing a large number of PVs. When this number is set to a non-zero value, LVM will automati‐ cally choose PVs on which to store metadata, using the metadataignore flags on PVs to achieve the specified number. The number can also be replaced with special string values: unmanaged causes LVM to not automatically manage the PV metadataignore flags. all causes LVM to first clear the metadataignore flags on all PVs, and then to become unmanaged."
            },
            {
                "flag": "-y",
                "long": "--yes",
                "arg": null,
                "description": "Do not prompt for confirmation interactively but always assume the answer yes. Use with extreme caution. (For automatic no, see -qq.)"
            }
        ],
        "examples": [
            "Activate all LVs in all VGs on all existing devices.",
            "Change the maximum number of LVs for an inactive VG."
        ],
        "see_also": [
            {
                "name": "lvm",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvm/8/json"
            },
            {
                "name": "lvm.conf",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/lvm.conf/5/json"
            },
            {
                "name": "lvmconfig",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmconfig/8/json"
            },
            {
                "name": "lvmdevices",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmdevices/8/json"
            },
            {
                "name": "pvchange",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvchange/8/json"
            },
            {
                "name": "pvck",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvck/8/json"
            },
            {
                "name": "pvcreate",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvcreate/8/json"
            },
            {
                "name": "pvdisplay",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvdisplay/8/json"
            },
            {
                "name": "pvmove",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvmove/8/json"
            },
            {
                "name": "pvremove",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvremove/8/json"
            },
            {
                "name": "pvresize",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvresize/8/json"
            },
            {
                "name": "pvs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvs/8/json"
            },
            {
                "name": "pvscan",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pvscan/8/json"
            },
            {
                "name": "vgcfgbackup",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgcfgbackup/8/json"
            },
            {
                "name": "vgcfgrestore",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgcfgrestore/8/json"
            },
            {
                "name": "vgck",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgck/8/json"
            },
            {
                "name": "vgcreate",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgcreate/8/json"
            },
            {
                "name": "vgconvert",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgconvert/8/json"
            },
            {
                "name": "vgdisplay",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgdisplay/8/json"
            },
            {
                "name": "vgexport",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgexport/8/json"
            },
            {
                "name": "vgextend",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgextend/8/json"
            },
            {
                "name": "vgimport",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgimport/8/json"
            },
            {
                "name": "vgimportclone",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgimportclone/8/json"
            },
            {
                "name": "vgimportdevices",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgimportdevices/8/json"
            },
            {
                "name": "vgmerge",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgmerge/8/json"
            },
            {
                "name": "vgmknodes",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgmknodes/8/json"
            },
            {
                "name": "vgreduce",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgreduce/8/json"
            },
            {
                "name": "vgremove",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgremove/8/json"
            },
            {
                "name": "vgrename",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgrename/8/json"
            },
            {
                "name": "vgs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgs/8/json"
            },
            {
                "name": "vgscan",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgscan/8/json"
            },
            {
                "name": "vgsplit",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgsplit/8/json"
            },
            {
                "name": "lvcreate",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvcreate/8/json"
            },
            {
                "name": "lvchange",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvchange/8/json"
            },
            {
                "name": "lvconvert",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvconvert/8/json"
            },
            {
                "name": "lvdisplay",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvdisplay/8/json"
            },
            {
                "name": "lvextend",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvextend/8/json"
            },
            {
                "name": "lvreduce",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvreduce/8/json"
            },
            {
                "name": "lvremove",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvremove/8/json"
            },
            {
                "name": "lvrename",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvrename/8/json"
            },
            {
                "name": "lvresize",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvresize/8/json"
            },
            {
                "name": "lvs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvs/8/json"
            },
            {
                "name": "lvscan",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvscan/8/json"
            },
            {
                "name": "lvm-fullreport",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvm-fullreport/8/json"
            },
            {
                "name": "lvm-lvpoll",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvm-lvpoll/8/json"
            },
            {
                "name": "blkdeactivate",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/blkdeactivate/8/json"
            },
            {
                "name": "lvmdump",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmdump/8/json"
            },
            {
                "name": "dmeventd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/dmeventd/8/json"
            },
            {
                "name": "lvmpolld",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmpolld/8/json"
            },
            {
                "name": "lvmlockd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmlockd/8/json"
            },
            {
                "name": "lvmlockctl",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmlockctl/8/json"
            },
            {
                "name": "cmirrord",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/cmirrord/8/json"
            },
            {
                "name": "lvmdbusd",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/lvmdbusd/8/json"
            },
            {
                "name": "fsadm",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fsadm/8/json"
            },
            {
                "name": "lvmsystemid",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/lvmsystemid/7/json"
            },
            {
                "name": "lvmreport",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/lvmreport/7/json"
            },
            {
                "name": "lvmraid",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/lvmraid/7/json"
            },
            {
                "name": "lvmthin",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/lvmthin/7/json"
            },
            {
                "name": "lvmcache",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/lvmcache/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 57,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 4,
                "subsections": [
                    {
                        "name": "vgchange",
                        "lines": 83
                    },
                    {
                        "name": "vgchange --refresh",
                        "lines": 23
                    },
                    {
                        "name": "vgchange --lockstart",
                        "lines": 8
                    },
                    {
                        "name": "vgchange --lockstop",
                        "lines": 33
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a --activate y",
                        "lines": 49,
                        "flag": "-a",
                        "long": "--activate"
                    },
                    {
                        "name": "-A --autobackup y",
                        "lines": 12,
                        "flag": "-A",
                        "long": "--autobackup"
                    },
                    {
                        "name": "-d --debug",
                        "lines": 7,
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "--detachprofile",
                        "lines": 17,
                        "long": "--detachprofile"
                    },
                    {
                        "name": "-f --force",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-K --ignoreactivationskip",
                        "lines": 3,
                        "flag": "-K",
                        "long": "--ignoreactivationskip"
                    },
                    {
                        "name": "--ignorelockingfailure",
                        "lines": 3,
                        "long": "--ignorelockingfailure"
                    },
                    {
                        "name": "--ignoremonitoring",
                        "lines": 13,
                        "long": "--ignoremonitoring"
                    },
                    {
                        "name": "--lockstart",
                        "lines": 3,
                        "long": "--lockstart"
                    },
                    {
                        "name": "--lockstop",
                        "lines": 7,
                        "long": "--lockstop"
                    },
                    {
                        "name": "-l --logicalvolume _",
                        "lines": 2,
                        "flag": "-l",
                        "long": "--logicalvolume"
                    },
                    {
                        "name": "--longhelp",
                        "lines": 2,
                        "long": "--longhelp"
                    },
                    {
                        "name": "-p --maxphysicalvolumes _",
                        "lines": 13,
                        "flag": "-p",
                        "long": "--maxphysicalvolumes"
                    },
                    {
                        "name": "--nohints",
                        "lines": 4,
                        "long": "--nohints"
                    },
                    {
                        "name": "--nolocking",
                        "lines": 3,
                        "long": "--nolocking"
                    },
                    {
                        "name": "--noudevsync",
                        "lines": 4,
                        "long": "--noudevsync"
                    },
                    {
                        "name": "-P --partial",
                        "lines": 4,
                        "flag": "-P",
                        "long": "--partial"
                    },
                    {
                        "name": "-s --physicalextentsize _",
                        "lines": 27,
                        "flag": "-s",
                        "long": "--physicalextentsize"
                    },
                    {
                        "name": "-q --quiet",
                        "lines": 3,
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "--readonly",
                        "lines": 6,
                        "long": "--readonly"
                    },
                    {
                        "name": "--refresh",
                        "lines": 11,
                        "long": "--refresh"
                    },
                    {
                        "name": "-x --resizeable y",
                        "lines": 3,
                        "flag": "-x",
                        "long": "--resizeable"
                    },
                    {
                        "name": "-S --select _",
                        "lines": 16,
                        "flag": "-S",
                        "long": "--select"
                    },
                    {
                        "name": "--sysinit",
                        "lines": 13,
                        "long": "--sysinit"
                    },
                    {
                        "name": "-t --test",
                        "lines": 5,
                        "flag": "-t",
                        "long": "--test"
                    },
                    {
                        "name": "-u --uuid",
                        "lines": 2,
                        "flag": "-u",
                        "long": "--uuid"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 3,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--version",
                        "lines": 13,
                        "long": "--version"
                    },
                    {
                        "name": "-y --yes",
                        "lines": 3,
                        "flag": "-y",
                        "long": "--yes"
                    }
                ]
            },
            {
                "name": "VARIABLES",
                "lines": 18,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 1,
                "subsections": [
                    {
                        "name": "vgchange -a y",
                        "lines": 1
                    },
                    {
                        "name": "vgchange -l 128 vg00",
                        "lines": 1
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 20,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "vgchange — Change volume group attributes\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "vgchange optionargs positionargs\n[ optionargs ]\n[ positionargs ]\n\n-a|--activate y|n|ay\n--activationmode partial|degraded|complete\n--addtag Tag\n--alloc contiguous|cling|clingbytags|normal|anywhere|inherit\n--autoactivation String\n-A|--autobackup y|n\n--commandprofile String\n--config String\n-d|--debug\n--deltag Tag\n--detachprofile\n--devices PV\n--devicesfile String\n--driverloaded y|n\n-f|--force\n-h|--help\n-K|--ignoreactivationskip\n--ignorelockingfailure\n--ignoremonitoring\n--journal String\n--lockopt String\n--lockstart\n--lockstop\n--locktype sanlock|dlm|none\n-l|--logicalvolume Number\n--longhelp\n-p|--maxphysicalvolumes Number\n--metadataprofile String\n--monitor y|n\n--nohints\n--nolocking\n--noudevsync\n-P|--partial\n-s|--physicalextentsize Size[m|UNIT]\n--poll y|n\n--profile String\n--pvmetadatacopies 0|1|2\n-q|--quiet\n--readonly\n--refresh\n--reportformat basic|json\n-x|--resizeable y|n\n-S|--select String\n--setautoactivation y|n\n--sysinit\n--systemid String\n-t|--test\n-u|--uuid\n-v|--verbose\n--version\n--[vg]metadatacopies all|unmanaged|Number\n-y|--yes\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "vgchange changes VG attributes, changes LV activation in the kernel, and includes other util‐\nities for VG maintenance.\n",
                "subsections": []
            },
            "USAGE": {
                "content": "Change a general VG attribute.\nFor options listed in parentheses, any one is\nrequired, after which the others are optional.\n",
                "subsections": [
                    {
                        "name": "vgchange",
                        "content": "( -l|--logicalvolume Number\n-p|--maxphysicalvolumes Number\n-u|--uuid\n-s|--physicalextentsize Size[m|UNIT]\n-x|--resizeable y|n\n--addtag Tag\n--deltag Tag\n--alloc contiguous|cling|clingbytags|normal|anywhere|inherit\n--pvmetadatacopies 0|1|2\n--[vg]metadatacopies all|unmanaged|Number\n--profile String\n--detachprofile\n--metadataprofile String\n--setautoactivation y|n )\n[ -A|--autobackup y|n ]\n[ -S|--select String ]\n[ -f|--force ]\n[    --poll y|n ]\n[    --ignoremonitoring ]\n[    --noudevsync ]\n[    --reportformat basic|json ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nStart or stop monitoring LVs from dmeventd.\n\nvgchange --monitor y|n\n[ -A|--autobackup y|n ]\n[ -S|--select String ]\n[ -f|--force ]\n[    --sysinit ]\n[    --ignorelockingfailure ]\n[    --poll y|n ]\n[    --ignoremonitoring ]\n[    --noudevsync ]\n[    --reportformat basic|json ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nStart or stop processing LV conversions.\n\nvgchange --poll y|n\n[ -A|--autobackup y|n ]\n[ -S|--select String ]\n[ -f|--force ]\n[    --ignorelockingfailure ]\n[    --ignoremonitoring ]\n[    --noudevsync ]\n[    --reportformat basic|json ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nActivate or deactivate LVs.\n\nvgchange -a|--activate y|n|ay\n[ -K|--ignoreactivationskip ]\n[ -P|--partial ]\n[ -A|--autobackup y|n ]\n[ -S|--select String ]\n[ -f|--force ]\n[    --activationmode partial|degraded|complete ]\n[    --sysinit ]\n[    --readonly ]\n[    --ignorelockingfailure ]\n[    --monitor y|n ]\n[    --poll y|n ]\n[    --autoactivation String ]\n[    --ignoremonitoring ]\n[    --noudevsync ]\n[    --reportformat basic|json ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nReactivate LVs using the latest metadata.\n"
                    },
                    {
                        "name": "vgchange --refresh",
                        "content": "[ -A|--autobackup y|n ]\n[ -S|--select String ]\n[ -f|--force ]\n[    --sysinit ]\n[    --ignorelockingfailure ]\n[    --poll y|n ]\n[    --ignoremonitoring ]\n[    --noudevsync ]\n[    --reportformat basic|json ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nChange the system ID of a VG.\n\nvgchange --systemid String VG\n[ COMMONOPTIONS ]\n\n—\n\nStart the lockspace of a shared VG in lvmlockd.\n"
                    },
                    {
                        "name": "vgchange --lockstart",
                        "content": "[ -S|--select String ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nStop the lockspace of a shared VG in lvmlockd.\n"
                    },
                    {
                        "name": "vgchange --lockstop",
                        "content": "[ -S|--select String ]\n[ COMMONOPTIONS ]\n[ VG|Tag|Select ... ]\n\n—\n\nChange the lock type for a shared VG.\n\nvgchange --locktype sanlock|dlm|none VG\n[ COMMONOPTIONS ]\n\n—\n\nCommon options for lvm:\n[ -d|--debug ]\n[ -h|--help ]\n[ -q|--quiet ]\n[ -t|--test ]\n[ -v|--verbose ]\n[ -y|--yes ]\n[    --commandprofile String ]\n[    --config String ]\n[    --devices PV ]\n[    --devicesfile String ]\n[    --driverloaded y|n ]\n[    --journal String ]\n[    --lockopt String ]\n[    --longhelp ]\n[    --nohints ]\n[    --nolocking ]\n[    --profile String ]\n[    --version ]\n"
                    }
                ]
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-a --activate y",
                        "content": "Change  the active state of LVs.  An active LV can be used through a block device, al‐\nlowing data on the LV to be accessed.  y makes LVs active, or available.  n makes  LVs\ninactive,  or  unavailable.   The block device for the LV is added or removed from the\nsystem using device-mapper in the kernel.  A symbolic link /dev/VGName/LVName pointing\nto the device node is also added/removed.  All software and scripts should access  the\ndevice  through the symbolic link and present this as the name of the device.  The lo‐\ncation and name of the underlying device node may depend on the distribution, configu‐\nration (e.g. udev), or release version.  ay specifies autoactivation, which is used by\nsystem-generated activation commands.  By default, LVs are autoactivated.  An  autoac‐\ntivation property can be set on a VG or LV to disable autoactivation, see --setautoac‐\ntivation y|n in vgchange, lvchange, vgcreate, and lvcreate.  Display the property with\nvgs  or lvs \"-o autoactivation\".  The lvm.conf(5) autoactivationvolumelist includes\nnames of VGs or LVs that should be autoactivated, and anything not listed is  not  au‐\ntoactivated.   When  autoactivationvolumelist is undefined (the default), it has no\neffect.  If autoactivationvolumelist is defined and empty, no LVs are  autoactivat‐\ned.   Items  included  by autoactivationvolumelist will not be autoactivated if the\nautoactivation property has been disabled.  See lvmlockd(8) for more information about\nactivation options ey and sy for shared VGs.\n\n--activationmode partial|degraded|complete\nDetermines if LV activation is allowed when PVs are missing, e.g. because of a  device\nfailure.   complete  only  allows  LVs with no missing PVs to be activated, and is the\nmost restrictive mode.  degraded allows RAID LVs with missing  PVs  to  be  activated.\n(This does not include the \"mirror\" type, see \"raid1\" instead.)  partial allows any LV\nwith missing PVs to be activated, and should only be used for recovery or repair.  For\ndefault, see lvm.conf(5) activationmode.  See lvmraid(7) for more information.\n\n--addtag Tag\nAdds  a  tag  to  a  PV, VG or LV. This option can be repeated to add multiple tags at\nonce. See lvm(8) for information about tags.\n\n--alloc contiguous|cling|clingbytags|normal|anywhere|inherit\nDetermines the allocation policy when a command needs  to  allocate  Physical  Extents\n(PEs)  from  the VG. Each VG and LV has an allocation policy which can be changed with\nvgchange/lvchange, or overridden on the command line.   normal  applies  common  sense\nrules  such  as  not  placing parallel stripes on the same PV.  inherit applies the VG\npolicy to an LV.  contiguous requires new PEs be  placed  adjacent  to  existing  PEs.\ncling  places new PEs on the same PV as existing PEs in the same stripe of the LV.  If\nthere are sufficient PEs for an allocation, but normal does  not  use  them,  anywhere\nwill  use them even if it reduces performance, e.g. by placing two stripes on the same\nPV.  Optional positional PV args on the command line can also be used to  limit  which\nPVs  the command will use for allocation.  See lvm(8) for more information about allo‐\ncation.\n\n--autoactivation String\nSpecify if autoactivation is being used from an event.  This allows the command to ap‐\nply settings that are specific to event activation, such as device scanning  optimiza‐\ntions using pvsonline files created by event-based pvscans.\n",
                        "flag": "-a",
                        "long": "--activate"
                    },
                    {
                        "name": "-A --autobackup y",
                        "content": "Specifies if metadata should be backed up automatically after a change.  Enabling this\nis strongly advised! See vgcfgbackup(8) for more information.\n\n--commandprofile String\nThe command profile to use for command configuration.  See lvm.conf(5) for more infor‐\nmation about profiles.\n\n--config String\nConfig  settings for the command. These override lvm.conf(5) settings.  The String arg\nuses the same format as lvm.conf(5), or may use section/field syntax.  See lvm.conf(5)\nfor more information about config.\n",
                        "flag": "-A",
                        "long": "--autobackup"
                    },
                    {
                        "name": "-d --debug",
                        "content": "Set debug level. Repeat from 1 to 6 times to increase the detail of messages  sent  to\nthe log file and/or syslog (if configured).\n\n--deltag Tag\nDeletes a tag from a PV, VG or LV. This option can be repeated to delete multiple tags\nat once. See lvm(8) for information about tags.\n",
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "--detachprofile",
                        "content": "Detaches  a  metadata  profile  from a VG or LV.  See lvm.conf(5) for more information\nabout profiles.\n\n--devices PV\nRestricts the devices that are visible and accessible to  the  command.   Devices  not\nlisted will appear to be missing. This option can be repeated, or accepts a comma sep‐\narated list of devices. This overrides the devices file.\n\n--devicesfile String\nA  file listing devices that LVM should use.  The file must exist in /etc/lvm/devices/\nand is managed with the lvmdevices(8) command.  This  overrides  the  lvm.conf(5)  de‐\nvices/devicesfile and devices/usedevicesfile settings.\n\n--driverloaded y|n\nIf  set to no, the command will not attempt to use device-mapper.  For testing and de‐\nbugging.\n",
                        "long": "--detachprofile"
                    },
                    {
                        "name": "-f --force",
                        "content": "Override various checks, confirmations and protections.  Use with extreme caution.\n",
                        "flag": "-f",
                        "long": "--force"
                    },
                    {
                        "name": "-h --help",
                        "content": "Display help text.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-K --ignoreactivationskip",
                        "content": "Ignore the \"activation skip\" LV flag during activation to allow LVs with the flag  set\nto be activated.\n",
                        "flag": "-K",
                        "long": "--ignoreactivationskip"
                    },
                    {
                        "name": "--ignorelockingfailure",
                        "content": "Allows  a  command  to continue with read-only metadata operations after locking fail‐\nures.\n",
                        "long": "--ignorelockingfailure"
                    },
                    {
                        "name": "--ignoremonitoring",
                        "content": "Do not interact with dmeventd unless --monitor is  specified.   Do  not  use  this  if\ndmeventd is already monitoring a device.\n\n--journal String\nRecord  information in the systemd journal.  This information is in addition to infor‐\nmation enabled by the lvm.conf log/journal setting.  command: record information about\nthe command.  output: record the default command output.  debug: record  full  command\ndebugging.\n\n--lockopt String\nUsed to pass options for special cases to lvmlockd.  See lvmlockd(8) for more informa‐\ntion.\n",
                        "long": "--ignoremonitoring"
                    },
                    {
                        "name": "--lockstart",
                        "content": "Start  the lockspace of a shared VG in lvmlockd.  lvmlockd locks becomes available for\nthe VG, allowing LVM to use the VG.  See lvmlockd(8) for more information.\n",
                        "long": "--lockstart"
                    },
                    {
                        "name": "--lockstop",
                        "content": "Stop the lockspace of a shared VG in lvmlockd.  lvmlockd locks become unavailable  for\nthe VG, preventing LVM from using the VG.  See lvmlockd(8) for more information.\n\n--locktype sanlock|dlm|none\nChange  the  VG  lock type to or from a shared lock type used with lvmlockd.  See lvm‐\nlockd(8) for more information.\n",
                        "long": "--lockstop"
                    },
                    {
                        "name": "-l --logicalvolume _",
                        "content": "Sets the maximum number of LVs allowed in a VG.\n",
                        "flag": "-l",
                        "long": "--logicalvolume"
                    },
                    {
                        "name": "--longhelp",
                        "content": "Display long help text.\n",
                        "long": "--longhelp"
                    },
                    {
                        "name": "-p --maxphysicalvolumes _",
                        "content": "Sets the maximum number of PVs that can belong to the VG.  The  value  0  removes  any\nlimitation.   For large numbers of PVs, also see options --pvmetadatacopies, and --vg‐\nmetadatacopies for improving performance.\n\n--metadataprofile String\nThe metadata profile to use for command configuration.  See lvm.conf(5) for  more  in‐\nformation about profiles.\n\n--monitor y|n\nStart  (yes)  or  stop  (no) monitoring an LV with dmeventd.  dmeventd monitors kernel\nevents for an LV, and performs automated maintenance for the LV in reponse to specific\nevents.  See dmeventd(8) for more information.\n",
                        "flag": "-p",
                        "long": "--maxphysicalvolumes"
                    },
                    {
                        "name": "--nohints",
                        "content": "Do not use the hints file to locate devices for PVs. A command may read  more  devices\nto find PVs when hints are not used. The command will still perform standard hint file\ninvalidation where appropriate.\n",
                        "long": "--nohints"
                    },
                    {
                        "name": "--nolocking",
                        "content": "Disable  locking. Use with caution, concurrent commands may produce incorrect results.\n\n",
                        "long": "--nolocking"
                    },
                    {
                        "name": "--noudevsync",
                        "content": "Disables udev synchronisation. The process will not wait for notification  from  udev.\nIt  will continue irrespective of any possible udev processing in the background. Only\nuse this if udev is not running or has rules that ignore the devices LVM creates.\n",
                        "long": "--noudevsync"
                    },
                    {
                        "name": "-P --partial",
                        "content": "Commands will do their best to activate LVs with missing PV extents.  Missing  extents\nmay  be  replaced  with error or zero segments according to the  missingstripefiller\nsetting.  Metadata may not be changed with this option.\n",
                        "flag": "-P",
                        "long": "--partial"
                    },
                    {
                        "name": "-s --physicalextentsize _",
                        "content": "Sets the physical extent size of PVs in the VG.  The value must be either a power of 2\nof at least 1 sector (where the sector size is the largest sector size of the PVs cur‐\nrently used in the VG), or at least 128KiB.  Once this value has been set, it is  dif‐\nficult to change without recreating the VG, unless no extents need moving.  Before in‐\ncreasing the physical extent size, you might need to use lvresize, pvresize and/or pv‐\nmove so that everything fits. For example, every contiguous range of extents used in a\nLV must start and end on an extent boundary.\n\n--poll y|n\nWhen yes, start the background transformation of an LV.  An incomplete transformation,\ne.g.  pvmove  or  lvconvert  interrupted by reboot or crash, can be restarted from the\nlast checkpoint with --poll y.  When no, background transformation of an LV  will  not\noccur,  and the transformation will not complete. It may not be appropriate to immedi‐\nately poll an LV after activation, in which case --poll n can be used to defer polling\nuntil a later --poll y command.\n\n--profile String\nAn alias for --commandprofile or --metadataprofile, depending on the command.\n\n--pvmetadatacopies 0|1|2\nThe number of metadata areas to set aside on a PV for storing VG  metadata.   When  2,\none  copy  of  the  VG  metadata is stored at the front of the PV and a second copy is\nstored at the end.  When 1, one copy of the VG metadata is stored at the front of  the\nPV.   When  0,  no  copies of the VG metadata are stored on the given PV.  This may be\nuseful in VGs containing many PVs (this places  limitations  on  the  ability  to  use\nvgsplit later.)\n",
                        "flag": "-s",
                        "long": "--physicalextentsize"
                    },
                    {
                        "name": "-q --quiet",
                        "content": "Suppress output and log messages. Overrides --debug and --verbose.  Repeat once to al‐\nso suppress any prompts with answer 'no'.\n",
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "--readonly",
                        "content": "Run  the  command in a special read-only mode which will read on-disk metadata without\nneeding to take any locks. This can be used to peek inside metadata used by a  virtual\nmachine  image while the virtual machine is running. No attempt will be made to commu‐\nnicate with the device-mapper kernel driver,  so  this  option  is  unable  to  report\nwhether or not LVs are actually in use.\n",
                        "long": "--readonly"
                    },
                    {
                        "name": "--refresh",
                        "content": "If  the LV is active, reload its metadata.  This is not necessary in normal operation,\nbut may be useful if something has gone wrong, or if some form of manual LV sharing is\nbeing used.\n\n--reportformat basic|json\nOverrides current output format for reports which  is  defined  globally  by  the  re‐\nport/outputformat  setting in lvm.conf(5).  basic is the original format with columns\nand rows.  If there is more than one report per command, each report is prefixed  with\nthe  report  name  for identification. json produces report output in JSON format. See\nlvmreport(7) for more information.\n",
                        "long": "--refresh"
                    },
                    {
                        "name": "-x --resizeable y",
                        "content": "Enables or disables the addition or removal of PVs to/from  a  VG  (by  vgextend/vgre‐\nduce).\n",
                        "flag": "-x",
                        "long": "--resizeable"
                    },
                    {
                        "name": "-S --select _",
                        "content": "Select objects for processing and reporting based on specified criteria.  The criteria\nsyntax  is  described  by --select help and lvmreport(7).  For reporting commands, one\nrow is displayed for each object matching the criteria.  See --options help for selec‐\ntable object fields.  Rows can be displayed with an additional  \"selected\"  field  (-o\nselected) showing 1 if the row matches the selection and 0 otherwise.  For non-report‐\ning  commands  which  process  LVM  entities, the selection is used to choose items to\nprocess.\n\n--setautoactivation y|n\nSet the autoactivation property on a VG or LV.  Display the property with vgs  or  lvs\n\"-o  autoactivation\".  When the autoactivation property is disabled, the VG or LV will\nnot be activated by a command doing autoactivation (vgchange, lvchange, or pvscan  us‐\ning  -aay.)   If  autoactivation  is disabled on a VG, no LVs will be autoactivated in\nthat VG, and the LV autoactivation property has no effect.  If autoactivation  is  en‐\nabled on a VG, autoactivation can be disabled for individual LVs.\n",
                        "flag": "-S",
                        "long": "--select"
                    },
                    {
                        "name": "--sysinit",
                        "content": "Indicates  that  vgchange/lvchange  is  being invoked from early system initialisation\nscripts (e.g. rc.sysinit or an initrd), before writable filesystems are available.  As\nsuch, some functionality needs to be disabled and this option acts as a shortcut which\nselects  an  appropriate  set of options. Currently, this is equivalent to using --ig‐\nnorelockingfailure,  --ignoremonitoring,  --poll  n,  and  setting  env  var  LVMSUP‐\nPRESSLOCKINGFAILUREMESSAGES.   vgchange/lvchange  skip autoactivation, and defer to\npvscan autoactivation.\n\n--systemid String\nChanges the system ID of the VG.  Using this option requires caution  because  the  VG\nmay  become foreign to the host running the command, leaving the host unable to access\nit.  See lvmsystemid(7) for more information.\n",
                        "long": "--sysinit"
                    },
                    {
                        "name": "-t --test",
                        "content": "Run in test mode. Commands will not update metadata.  This is implemented by disabling\nall metadata writing but nevertheless returning success to the calling function.  This\nmay lead to unusual error messages in multi-stage operations if a tool relies on read‐\ning back metadata it believes has changed but hasn't.\n",
                        "flag": "-t",
                        "long": "--test"
                    },
                    {
                        "name": "-u --uuid",
                        "content": "Generate new random UUID for specified VGs.\n",
                        "flag": "-u",
                        "long": "--uuid"
                    },
                    {
                        "name": "-v --verbose",
                        "content": "Set verbose level. Repeat from 1 to 4 times to increase the detail of messages sent to\nstdout and stderr.\n",
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--version",
                        "content": "Display version information.\n\n--[vg]metadatacopies all|unmanaged|Number\nNumber of copies of the VG metadata that are kept.  VG metadata is kept in VG metadata\nareas on PVs in the VG, i.e. reserved space at the start and/or end of the PVs.  Keep‐\ning  a  copy of the VG metadata on every PV can reduce performance in VGs containing a\nlarge number of PVs.  When this number is set to a non-zero value, LVM will  automati‐\ncally  choose PVs on which to store metadata, using the metadataignore flags on PVs to\nachieve the specified number.  The number can also be  replaced  with  special  string\nvalues:  unmanaged causes LVM to not automatically manage the PV metadataignore flags.\nall causes LVM to first clear the metadataignore flags on all PVs, and then to  become\nunmanaged.\n",
                        "long": "--version"
                    },
                    {
                        "name": "-y --yes",
                        "content": "Do  not  prompt  for  confirmation interactively but always assume the answer yes. Use\nwith extreme caution.  (For automatic no, see -qq.)\n",
                        "flag": "-y",
                        "long": "--yes"
                    }
                ]
            },
            "VARIABLES": {
                "content": "VG     Volume Group name.  See lvm(8) for valid names.\n\nTag    Tag name.  See lvm(8) for information about tag names and using tags in place of a VG,\nLV or PV.\n\nSelect Select indicates that a required positional parameter can be omitted if  the  --select\noption is used.  No arg appears in this position.\n\nString See the option description for information about the string content.\n\nSize[UNIT]\nSize is an input number that accepts an optional unit.  Input units are always treated\nas base two values, regardless of capitalization, e.g. 'k' and 'K' both refer to 1024.\nThe  default  input  unit  is specified by letter, followed by |UNIT.  UNIT represents\nother possible input units: b|B is bytes, s|S is sectors of 512 bytes, k|K is KiB, m|M\nis MiB, g|G is GiB, t|T is TiB, p|P is PiB, e|E is EiB.  (This should not be  confused\nwith the output control --units, where capital letters mean multiple of 1000.)\n",
                "subsections": []
            },
            "ENVIRONMENT VARIABLES": {
                "content": "See lvm(8) for information about environment variables used by lvm.  For example, LVMVGNAME\ncan generally be substituted for a required VG parameter.\n",
                "subsections": []
            },
            "NOTES": {
                "content": "If  vgchange  recognizes COW snapshot LVs that were dropped because they ran out of space, it\ndisplays a message informing the administrator that the snapshots should be removed.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "Activate all LVs in all VGs on all existing devices.",
                "subsections": [
                    {
                        "name": "vgchange -a y",
                        "content": "Change the maximum number of LVs for an inactive VG."
                    },
                    {
                        "name": "vgchange -l 128 vg00",
                        "content": ""
                    }
                ]
            },
            "SEE ALSO": {
                "content": "lvm(8), lvm.conf(5), lvmconfig(8), lvmdevices(8),\n\npvchange(8), pvck(8), pvcreate(8), pvdisplay(8), pvmove(8), pvremove(8), pvresize(8), pvs(8),\npvscan(8),\n\nvgcfgbackup(8), vgcfgrestore(8), vgchange(8), vgck(8), vgcreate(8), vgconvert(8),\nvgdisplay(8), vgexport(8), vgextend(8), vgimport(8), vgimportclone(8), vgimportdevices(8),\nvgmerge(8), vgmknodes(8), vgreduce(8), vgremove(8), vgrename(8), vgs(8), vgscan(8),\nvgsplit(8),\n\nlvcreate(8), lvchange(8), lvconvert(8), lvdisplay(8), lvextend(8), lvreduce(8), lvremove(8),\nlvrename(8), lvresize(8), lvs(8), lvscan(8),\n\nlvm-fullreport(8), lvm-lvpoll(8), blkdeactivate(8), lvmdump(8),\n\ndmeventd(8), lvmpolld(8), lvmlockd(8), lvmlockctl(8), cmirrord(8), lvmdbusd(8), fsadm(8),\n\nlvmsystemid(7), lvmreport(7), lvmraid(7), lvmthin(7), lvmcache(7)\n\nRed Hat, Inc.                     LVM TOOLS 2.03.16(2) (2022-05-18)                      VGCHANGE(8)",
                "subsections": []
            }
        }
    }
}