LVM(FULLREPORT)
π LVM(FULLREPORT) π
okay so bestie, welcome to the manual page for lvm fullreport β brought to you by Red Hat, Inc. π this is the part 1 of the glow-up, more is coming, stay with me β¨
β¨ NAME β¨
lvm fullreport β Display full report π
πΈ SYNOPSIS πΈ
lvm fullreport
[ option_args ]
[ position_args ]
π¦ DESCRIPTION π¦
so lvm fullreport gives you formatted output about PVs, PV segments, VGs, LVs and LV segments. all of it. together. at once. π
and here's the slay part: the info is all gathered together for each VG (under a per-VG lock π) so it's actually consistent. no cap.
because likeβ¦ if you gather that same info from separate calls to vgs, pvs, and lvs? it can be inconsistent if things change between commands π the vibes get messy. so don't do that. do this instead.
β USAGE β
lvm fullreport
[ -a|--all ]
[ -o|--options String ]
[ -O|--sort String ]
[ -S|--select String ]
[ --aligned ]
[ --binary ]
[ --configreport log|vg|lv|pv|pvseg|seg ]
[ --foreign ]
[ --headings none|abbrev|full|0|1|2 ]
[ --ignorelockingfailure ]
[ --logonly ]
[ --nameprefixes ]
[ --noheadings ]
[ --nosuffix ]
[ --readonly ]
[ --reportformat basic|json|json_std ]
[ --rows ]
[ --separator String ]
[ --shared ]
[ --unbuffered ]
[ --units [Number]r|R|h|H|b|B|s|S|k|K|m|M|g|G|t|T|p|P|e|E ]
[ --unquoted ]
[ COMMON_OPTIONS ]
[ VG ... ]
and then, the common options for lvm, the shared besties that show up everywhere π«Ά
Common options for lvm:
[ -d|--debug ... ]
[ -h|--help ]
[ -q|--quiet ... ]
[ -t|--test ]
[ -v|--verbose ... ]
[ -y|--yes ]
[ --commandprofile String ]
[ --config String ]
[ --devices PV ]
[ --devicesfile String ]
[ --driverloaded y|n ]
[ --journal String ]
[ --lockopt String ]
[ --longhelp ]
[ --nohints ]
[ --nolocking ]
[ --profile String ]
[ --version ]
π OPTIONS π
so many little flags, all iconic, let's go through every single one together π
--alignedβ use it with--separatorand it lines your output columns up all neat and pretty β¨-a,--allβ this one does a LOT, okay:- show info about internal LVs. these are the components of normal LVs β mirrors and such β that you can't access independently, like, you literally can't mount them. π
- list all VGs. this is equivalent to not specifying any VGs at all.
- show info about devices that haven't been initialized by LVM, i.e. they are not PVs.
--binaryβ for columns that have exactly two valid values, report binary values"0"or"1"instead of the descriptive literal values. (not counting the"unknown"value, which means the value couldn't be determined β that one stays weird, bestie π)--commandprofile Stringβ the command profile to use for command configuration. seelvm.conf(5)for more about profiles π--config Stringβ config settings for the command. these override thelvm.conf(5)settings. the String arg uses the same format aslvm.conf(5), or it can use section/field syntax. seelvm.conf(5)for more about config π--configreport log|vg|lv|pv|pvseg|segβ seelvmreport(7). that's the whole vibe on this one β¨-d,--debug ...β set the debug level. repeat it anywhere from 1 to 6 times to crank up the detail of messages sent to the log file and/or syslog (if configured) π₯--devices PVβ restricts which devices are visible and accessible to the command. devices not listed will appear to be missing π this option can be repeated, or it accepts a comma-separated list of devices. it overrides the devices file. periodt.--devicesfile Stringβ a file listing devices that LVM should use. the file must exist in/etc/lvm/devices/and is managed with thelvmdevices(8)command. this overrides thelvm.conf(5)devices/devicesfileanddevices/use_devicesfilesettings.--driverloaded y|nβ if you set it tono, the command will not attempt to use device-mapper. for testing and debugging π§--foreignβ report/display foreign VGs that would otherwise be skipped. seelvmsystemid(7)for more about foreign VGs π--headings none|abbrev|full|0|1|2β the type of headings to use in report output:noneor0: no headings, at all, zeroabbrevor1: column name abbreviationsfullor2: full column names
-h,--helpβ display help text π«Ά--ignorelockingfailureβ lets a command keep going with read-only metadata operations after locking failures. (yes bestie, it justβ¦ keeps going π)--journal Stringβ record information in the systemd journal. this info is in addition to whatever thelvm.conflog/journalsetting already enables:command: record information about the commandoutput: record the default command outputdebug: record full command debugging
--lockopt Stringβ used to pass options for special cases tolvmlockd. seelvmlockd(8)for more information π--logonlyβ suppress the command report and display only the log report.--longhelpβ display long help text. the long one. the extended cut π--nameprefixesβ add an"LVM2_"prefix plus the field name to the output. useful with--noheadingsto produce a list offield=valuepairs that can be used to set environment variables (for example, in udev rules) β¨--noheadingsβ suppress the headings line that's normally the first line of output. super useful if you're grepping the output π--nohintsβ do not use the hints file to locate devices for PVs. a command may read more devices to find PVs when hints aren't used. the command will still perform standard hint file invalidation where appropriate. it's giving responsible πΈ--nolockingβ disable locking. use with caution β concurrent commands may produce incorrect results π don't say we didn't warn you.--nosuffixβ suppress the suffix on output sizes. use with--units(excepthandH) if you're processing the output π-o,--options Stringβ comma-separated, ordered list of fields to display in columns. the String arg syntax is:[+|-|#]Field1[,Field2 ...]- the prefix
+will append the specified fields to the default fields -will remove the specified fields from the default fields#will compact the specified fields (removing them when empty for all rows)- use
-o helpto view the list of all available fields π - use separate lists of fields to add, remove or compact by repeating the
-ooption:-o+field1,field2 -o-field3,field4 -o#field5. these lists are evaluated from left to right. - use field name
lv_allto view all LV fields,vg_allall VG fields,pv_allall PV fields,seg_allall LV segment fields, andpvseg_allall PV segment fields. - see the
lvm.conf(5)report section for more config options. seelvmreport(7)for more information about reporting π
- the prefix
--profile Stringβ an alias for--commandprofileor--metadataprofile, depending on the command. iykyk π-q,--quiet ...β suppress output and log messages. overrides--debugand--verbose. repeat it once to also suppress any prompts with answer'no'π€«--readonlyβ prevent the command from making changes, including activation and metadata updates. (see--permission rfor read only LVs.) π--reportformat basic|json|json_stdβ overrides the current output format for reports, which is defined globally by thereport/output_formatsetting inlvm.conf(5).basicis the original format with columns and rows. if there's more than one report per command, each report is prefixed with the report name for identification.jsonproduces report output in JSON format.json_stdproduces report output in JSON format which is more compliant with the JSON standard. β¨- see
lvmreport(7)for more information.
--rowsβ output columns as rows. yes, it just flips the whole thing sideways, and honestly? iconic π-S,--select Stringβ select objects for processing and reporting based on specified criteria. the criteria syntax is described by--select helpandlvmreport(7). for reporting commands, one row is displayed for each object matching the criteria. see--options helpfor selectable object fields. rows can be displayed with an additional"selected"field (-o selected) showing1if the row matches the selection and0otherwise. for non-reporting commands which process LVM entities, the selection is used to choose items to process π―--separator Stringβ the string to use to separate each column. useful if you're grepping the output π--sharedβ report/display shared VGs that would otherwise be skipped whenlvmlockdis not being used on the host. seelvmlockd(8)for more about shared VGs π-O,--sort Stringβ comma-separated ordered list of columns to sort by. replaces the default selection. precede any column with-for a reverse sort on that column β¬οΈ-t,--testβ 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 reading back metadata it believes has changed but hasn't π so likeβ¦ test mode lies a little. be aware.--unbufferedβ produce output immediately without sorting or aligning the columns properly. chaos mode, no alignment, raw vibes π--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)erabytes
- (p)etabytes
- (e)xabytes
- capitalise to use multiples of 1000 (S.I.) instead of 1024
- custom units can be specified, e.g.
--units 3Mβ¨
- human-(r)eadable with
--unquotedβ when used with--nameprefixes, output values in thefield=valuepairs are not quoted.-v,--verbose ...β set verbose level. repeat from 1 to 4 times to increase the detail of messages sent to stdout and stderr π’--versionβ display version information π-y,--yesβ do not prompt for confirmation interactively but always assume the answer is yes. use with extreme caution π¨ (for automatic no, see-qq.)
π VARIABLES π
okay so these are the lil placeholder-y variables that can show up all over the tool's options, and you need to know what they mean or nothing makes sense, bestie π«Ά
VGβ a Volume Group name. that's it, that's the whole thing. if you wanna know what counts as a valid name, go readlvm(8), it's giving "the rules live over there" β¨Stringβ literally just a string, no cap. the actual tea on what content is allowed lives in the description of whichever option is using it, so go read that option's blurb πSize[UNIT]β the iconic one.Sizeis an input number and the[UNIT]bit is optional, so you can leave it off and be fine π
important!! input units are always treated as base two values, no matter how you capitalize them. like,kandKboth mean1024. capital letters do NOT secretly switch you to decimal over here, periodt π«
the default input unit is the one shown there by its letter, followed by |UNIT. and UNIT is just the menu of other units you're allowed to type in:
b|Bβ bytess|Sβ sectors of 512 bytesk|Kβ KiBm|Mβ MiBg|Gβ GiBt|Tβ TiBp|Pβ PiBe|Eβ EiB
β οΈ don't get this confused with the output control --units, okay?? over there capital letters mean multiple of 1000. different vibe, different rules, do not mix them up π
πΈ ENVIRONMENT VARIABLES πΈ
the environment variables that lvm cares about are all documented in lvm(8), so that's your reading assignment π
for example β and this one is a genuine lifesaver β LVM_VG_NAME can generally be swapped in for a VG parameter whenever one is required. so instead of typing the volume group name over and over, you just set it once and let the environment carry you π§β¨
β SEE ALSO β
the whole friend group, in order, no one left out π:
lvm(8),lvm.conf(5),lvmconfig(8),lvmdevices(8),pvchange(8),pvck(8),pvcreate(8),pvdisplay(8),pvmove(8),pvremove(8),pvresize(8),pvs(8),pvscan(8),vgcfgbackup(8),vgcfgrestore(8),vgchange(8),vgck(8),vgcreate(8),vgconvert(8),vgdisplay(8),vgexport(8),vgextend(8),vgimport(8),vgimportclone(8),vgimportdevices(8),vgmerge(8),vgmknodes(8),vgreduce(8),vgremove(8),vgrename(8),vgs(8),vgscan(8),vgsplit(8),lvcreate(8),lvchange(8),lvconvert(8),lvdisplay(8),lvextend(8),lvreduce(8),lvremove(8),lvrename(8),lvresize(8),lvs(8),lvscan(8),lvm-fullreport(8),lvm-lvpoll(8),blkdeactivate(8),lvmdump(8),dmeventd(8),lvmpolld(8),lvmlockd(8),lvmlockctl(8),lvmdbusd(8),fsadm(8),lvmsystemid(7),lvmreport(7),lvmcache(7),lvmraid(7),lvmthin(7),lvmvdo(7),lvmautoactivation(7)
and that's a wrap on part 2, bestie!! π this whole page is from LVM TOOLS 2.03.44(2), dated 2026-10-27, living its best life in section 8 of the manual, filed under LVM(FULLREPORT) π go forth and read your volume groups, you absolute icon ππ
π¦ where this page comes from
- arch rolling: lvm2 2.03.44-1 Β· GPL-2.0-only AND LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms