{
    "content": [
        {
            "type": "text",
            "text": "# pvs (man)\n\n## NAME\n\npvs — Display information about physical volumes\n\n## DESCRIPTION\n\npvs produces formatted output about PVs.\n\n## TLDR\n\n> Display information about physical volumes.\n\n- Display information about physical volumes:\n  `sudo pvs`\n- Display non-physical volumes:\n  `sudo pvs {{-a|--all}}`\n- Change default display to show more details:\n  `sudo pvs {{-v|--verbose}}`\n- Display only specific fields:\n  `sudo pvs {{-o|--options}} {{field_name_1,field_name_2,...}}`\n- Append field to default display:\n  `sudo pvs {{-o|--options}} +{{field_name}}`\n- Suppress heading line:\n  `sudo pvs --noheadings`\n- Use separator to separate fields:\n  `sudo pvs --separator {{special_character}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (1 subsections)\n- **DESCRIPTION**\n- **USAGE** (1 subsections)\n- **OPTIONS** (28 subsections)\n- **VARIABLES**\n- **ENVIRONMENT VARIABLES**\n- **NOTES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pvs",
        "section": "",
        "mode": "man",
        "summary": "pvs — Display information about physical volumes",
        "synopsis": "",
        "tldr_summary": "Display information about physical volumes.",
        "tldr_examples": [
            {
                "description": "Display information about physical volumes",
                "command": "sudo pvs"
            },
            {
                "description": "Display non-physical volumes",
                "command": "sudo pvs {{-a|--all}}"
            },
            {
                "description": "Change default display to show more details",
                "command": "sudo pvs {{-v|--verbose}}"
            },
            {
                "description": "Display only specific fields",
                "command": "sudo pvs {{-o|--options}} {{field_name_1,field_name_2,...}}"
            },
            {
                "description": "Append field to default display",
                "command": "sudo pvs {{-o|--options}} +{{field_name}}"
            },
            {
                "description": "Suppress heading line",
                "command": "sudo pvs --noheadings"
            },
            {
                "description": "Use separator to separate fields",
                "command": "sudo pvs --separator {{special_character}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--aligned",
                "arg": null,
                "description": "Use with --separator to align the output columns"
            },
            {
                "flag": "-a",
                "long": "--all",
                "arg": null,
                "description": "Show information about devices that have not been initialized by LVM, i.e. they are not PVs."
            },
            {
                "flag": "",
                "long": "--binary",
                "arg": null,
                "description": "Use binary values \"0\" or \"1\" instead of descriptive literal values for columns that have exactly two valid values to report (not counting the \"unknown\" value which de‐ notes that the value could not be determined). --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. --configreport log|vg|lv|pv|pvseg|seg See lvmreport(7)."
            },
            {
                "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). --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": "",
                "long": "--foreign",
                "arg": null,
                "description": "Report/display foreign VGs that would otherwise be skipped. See lvmsystemid(7) for more information about foreign VGs."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help text."
            },
            {
                "flag": "",
                "long": "--ignorelockingfailure",
                "arg": null,
                "description": "Allows a command to continue with read-only metadata operations after locking fail‐ ures. --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": "--logonly",
                "arg": null,
                "description": "Suppress command report and display only log report."
            },
            {
                "flag": "",
                "long": "--longhelp",
                "arg": null,
                "description": "Display long help text."
            },
            {
                "flag": "",
                "long": "--nameprefixes",
                "arg": null,
                "description": "Add an \"LVM2\" prefix plus the field name to the output. Useful with --noheadings to produce a list of field=value pairs that can be used to set environment variables (for example, in udev rules)."
            },
            {
                "flag": "",
                "long": "--noheadings",
                "arg": null,
                "description": "Suppress the headings line that is normally the first line of output. Useful if grep‐ ping the output."
            },
            {
                "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": "--nosuffix",
                "arg": null,
                "description": "Suppress the suffix on output sizes. Use with --units (except h and H) if processing the output."
            },
            {
                "flag": "-o",
                "long": "--options",
                "arg": null,
                "description": "Comma-separated, ordered list of fields to display in columns. String arg syntax is: [+|-|#]Field1[,Field2 ...] The prefix + will append the specified fields to the de‐ fault fields, - will remove the specified fields from the default fields, and # will compact specified fields (removing them when empty for all rows.) Use -o help to view the list of all available fields. Use separate lists of fields to add, remove or com‐ pact by repeating the -o option: -o+field1,field2 -o-field3,field4 -o#field5. These lists are evaluated from left to right. Use field name lvall to view all LV fields, vgall all VG fields, pvall all PV fields, pvsegall all PV segment fields, segall all LV segment fields, and pvsegall all PV segment columns. See the lvm.conf(5) re‐ port section for more config options. See lvmreport(7) for more information about re‐ porting. --profile String An alias for --commandprofile or --metadataprofile, depending on the command."
            },
            {
                "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. --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": "",
                "long": "--rows",
                "arg": null,
                "description": "Output columns as rows."
            },
            {
                "flag": "",
                "long": "--segments",
                "arg": null,
                "description": "Produces one line of output for each contiguous allocation of space on each PV, show‐ ing the start (pvsegstart) and length (pvsegsize) in units of physical extents."
            },
            {
                "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. --separator String String to use to separate each column. Useful if grepping the output."
            },
            {
                "flag": "",
                "long": "--shared",
                "arg": null,
                "description": "Report/display shared VGs that would otherwise be skipped when lvmlockd is not being used on the host. See lvmlockd(8) for more information about shared VGs."
            },
            {
                "flag": "-O",
                "long": "--sort",
                "arg": null,
                "description": "Comma-separated ordered list of columns to sort by. Replaces the default selection. Precede any column with - for a reverse sort on that column."
            },
            {
                "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": "",
                "long": "--unbuffered",
                "arg": null,
                "description": "Produce output immediately without sorting or aligning the columns properly. --units [Number]r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E All sizes are output in these units: human-(r)eadable with '<' rounding indicator, (h)uman-readable, (b)ytes, (s)ectors, (k)ilobytes, (m)egabytes, (g)igabytes, (t)er‐ abytes, (p)etabytes, (e)xabytes. Capitalise to use multiples of 1000 (S.I.) instead of 1024. Custom units can be specified, e.g. --units 3M."
            },
            {
                "flag": "",
                "long": "--unquoted",
                "arg": null,
                "description": "When used with --nameprefixes, output values in the field=value pairs are not quoted."
            },
            {
                "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."
            },
            {
                "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": [],
        "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": "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": "vgchange",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/vgchange/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": 1,
                "subsections": [
                    {
                        "name": "pvs",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "USAGE",
                "lines": 1,
                "subsections": [
                    {
                        "name": "pvs",
                        "lines": 45
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--aligned",
                        "lines": 2,
                        "long": "--aligned"
                    },
                    {
                        "name": "-a --all",
                        "lines": 3,
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "--binary",
                        "lines": 16,
                        "long": "--binary"
                    },
                    {
                        "name": "-d --debug",
                        "lines": 17,
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "--foreign",
                        "lines": 3,
                        "long": "--foreign"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--ignorelockingfailure",
                        "lines": 13,
                        "long": "--ignorelockingfailure"
                    },
                    {
                        "name": "--logonly",
                        "lines": 2,
                        "long": "--logonly"
                    },
                    {
                        "name": "--longhelp",
                        "lines": 2,
                        "long": "--longhelp"
                    },
                    {
                        "name": "--nameprefixes",
                        "lines": 4,
                        "long": "--nameprefixes"
                    },
                    {
                        "name": "--noheadings",
                        "lines": 3,
                        "long": "--noheadings"
                    },
                    {
                        "name": "--nohints",
                        "lines": 4,
                        "long": "--nohints"
                    },
                    {
                        "name": "--nolocking",
                        "lines": 3,
                        "long": "--nolocking"
                    },
                    {
                        "name": "--nosuffix",
                        "lines": 3,
                        "long": "--nosuffix"
                    },
                    {
                        "name": "-o --options _",
                        "lines": 15,
                        "flag": "-o",
                        "long": "--options"
                    },
                    {
                        "name": "-q --quiet",
                        "lines": 3,
                        "flag": "-q",
                        "long": "--quiet"
                    },
                    {
                        "name": "--readonly",
                        "lines": 13,
                        "long": "--readonly"
                    },
                    {
                        "name": "--rows",
                        "lines": 2,
                        "long": "--rows"
                    },
                    {
                        "name": "--segments",
                        "lines": 3,
                        "long": "--segments"
                    },
                    {
                        "name": "-S --select _",
                        "lines": 11,
                        "flag": "-S",
                        "long": "--select"
                    },
                    {
                        "name": "--shared",
                        "lines": 3,
                        "long": "--shared"
                    },
                    {
                        "name": "-O --sort _",
                        "lines": 3,
                        "flag": "-O",
                        "long": "--sort"
                    },
                    {
                        "name": "-t --test",
                        "lines": 5,
                        "flag": "-t",
                        "long": "--test"
                    },
                    {
                        "name": "--unbuffered",
                        "lines": 8,
                        "long": "--unbuffered"
                    },
                    {
                        "name": "--unquoted",
                        "lines": 3,
                        "long": "--unquoted"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 3,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    },
                    {
                        "name": "-y --yes",
                        "lines": 3,
                        "flag": "-y",
                        "long": "--yes"
                    }
                ]
            },
            {
                "name": "VARIABLES",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "ENVIRONMENT VARIABLES",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 20,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pvs — Display information about physical volumes\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "pvs",
                        "content": "[ optionargs ]\n[ positionargs ]\n"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "pvs produces formatted output about PVs.\n",
                "subsections": []
            },
            "USAGE": {
                "content": "",
                "subsections": [
                    {
                        "name": "pvs",
                        "content": "[ -a|--all ]\n[ -o|--options String ]\n[ -S|--select String ]\n[ -O|--sort String ]\n[    --segments ]\n[    --aligned ]\n[    --binary ]\n[    --configreport log|vg|lv|pv|pvseg|seg ]\n[    --foreign ]\n[    --ignorelockingfailure ]\n[    --logonly ]\n[    --nameprefixes ]\n[    --noheadings ]\n[    --nosuffix ]\n[    --readonly ]\n[    --reportformat basic|json ]\n[    --rows ]\n[    --separator String ]\n[    --shared ]\n[    --unbuffered ]\n[    --units [Number]r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E ]\n[    --unquoted ]\n[ COMMONOPTIONS ]\n[ PV|Tag ... ]\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": "--aligned",
                        "content": "Use with --separator to align the output columns\n",
                        "long": "--aligned"
                    },
                    {
                        "name": "-a --all",
                        "content": "Show  information  about  devices that have not been initialized by LVM, i.e. they are\nnot PVs.\n",
                        "flag": "-a",
                        "long": "--all"
                    },
                    {
                        "name": "--binary",
                        "content": "Use binary values \"0\" or \"1\" instead of descriptive literal values  for  columns  that\nhave  exactly  two  valid values to report (not counting the \"unknown\" value which de‐\nnotes that the value could not be determined).\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\n--configreport log|vg|lv|pv|pvseg|seg\nSee lvmreport(7).\n",
                        "long": "--binary"
                    },
                    {
                        "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--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",
                        "flag": "-d",
                        "long": "--debug"
                    },
                    {
                        "name": "--foreign",
                        "content": "Report/display foreign VGs that would otherwise be skipped.   See  lvmsystemid(7)  for\nmore information about foreign VGs.\n",
                        "long": "--foreign"
                    },
                    {
                        "name": "-h --help",
                        "content": "Display help text.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "--ignorelockingfailure",
                        "content": "Allows  a  command  to continue with read-only metadata operations after locking fail‐\nures.\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": "--ignorelockingfailure"
                    },
                    {
                        "name": "--logonly",
                        "content": "Suppress command report and display only log report.\n",
                        "long": "--logonly"
                    },
                    {
                        "name": "--longhelp",
                        "content": "Display long help text.\n",
                        "long": "--longhelp"
                    },
                    {
                        "name": "--nameprefixes",
                        "content": "Add an \"LVM2\" prefix plus the field name to the output. Useful with  --noheadings  to\nproduce a list of field=value pairs that can be used to set environment variables (for\nexample, in udev rules).\n",
                        "long": "--nameprefixes"
                    },
                    {
                        "name": "--noheadings",
                        "content": "Suppress the headings line that is normally the first line of output.  Useful if grep‐\nping the output.\n",
                        "long": "--noheadings"
                    },
                    {
                        "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": "--nosuffix",
                        "content": "Suppress  the  suffix on output sizes. Use with --units (except h and H) if processing\nthe output.\n",
                        "long": "--nosuffix"
                    },
                    {
                        "name": "-o --options _",
                        "content": "Comma-separated, ordered list of fields to display in columns.  String arg syntax  is:\n[+|-|#]Field1[,Field2  ...]   The prefix + will append the specified fields to the de‐\nfault fields, - will remove the specified fields from the default fields, and  #  will\ncompact specified fields (removing them when empty for all rows.)  Use -o help to view\nthe list of all available fields.  Use separate lists of fields to add, remove or com‐\npact  by  repeating the -o option: -o+field1,field2 -o-field3,field4 -o#field5.  These\nlists are evaluated from left to right.  Use field name lvall to view all LV  fields,\nvgall  all  VG fields, pvall all PV fields, pvsegall all PV segment fields, segall\nall LV segment fields, and pvsegall all PV segment columns.  See the lvm.conf(5)  re‐\nport section for more config options.  See lvmreport(7) for more information about re‐\nporting.\n\n--profile String\nAn alias for --commandprofile or --metadataprofile, depending on the command.\n",
                        "flag": "-o",
                        "long": "--options"
                    },
                    {
                        "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\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": "--readonly"
                    },
                    {
                        "name": "--rows",
                        "content": "Output columns as rows.\n",
                        "long": "--rows"
                    },
                    {
                        "name": "--segments",
                        "content": "Produces  one line of output for each contiguous allocation of space on each PV, show‐\ning the start (pvsegstart) and length (pvsegsize) in units of physical extents.\n",
                        "long": "--segments"
                    },
                    {
                        "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--separator String\nString to use to separate each column. Useful if grepping the output.\n",
                        "flag": "-S",
                        "long": "--select"
                    },
                    {
                        "name": "--shared",
                        "content": "Report/display  shared  VGs that would otherwise be skipped when lvmlockd is not being\nused on the host.  See lvmlockd(8) for more information about shared VGs.\n",
                        "long": "--shared"
                    },
                    {
                        "name": "-O --sort _",
                        "content": "Comma-separated ordered list of columns to sort by. Replaces  the  default  selection.\nPrecede any column with - for a reverse sort on that column.\n",
                        "flag": "-O",
                        "long": "--sort"
                    },
                    {
                        "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": "--unbuffered",
                        "content": "Produce output immediately without sorting or aligning the columns properly.\n\n--units [Number]r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E\nAll sizes are output in these units: human-(r)eadable  with  '<'  rounding  indicator,\n(h)uman-readable,  (b)ytes,  (s)ectors,  (k)ilobytes, (m)egabytes, (g)igabytes, (t)er‐\nabytes, (p)etabytes, (e)xabytes.  Capitalise to use multiples of 1000  (S.I.)  instead\nof 1024.  Custom units can be specified, e.g. --units 3M.\n",
                        "long": "--unbuffered"
                    },
                    {
                        "name": "--unquoted",
                        "content": "When  used with --nameprefixes, output values in the field=value pairs are not quoted.\n\n",
                        "long": "--unquoted"
                    },
                    {
                        "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",
                        "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": "PV     Physical  Volume  name,  a device path under /dev.  For commands managing physical ex‐\ntents, a PV positional arg generally accepts a suffix indicating a range (or  multiple\nranges)  of  physical  extents (PEs). When the first PE is omitted, it defaults to the\nstart of the device, and when the last PE is omitted it defaults to  end.   Start  and\nend  range  (inclusive):  PV[:PE-PE]...   Start  and  length  range (counting from 0):\nPV[:PE+PE]...\n\nTag    Tag name.  See lvm(8) for information about tag names and using tags in place of a VG,\nLV or PV.\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": "The pvattr bits are:\n\n1  (d)uplicate, (a)llocatable, (u)sed\n\n2  e(x)ported\n\n3  (m)issing\n",
                "subsections": []
            },
            "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)                           PVS(8)",
                "subsections": []
            }
        }
    }
}