From 4deb3d09167036b3495ef11ef39b19ac511318a4 Mon Sep 17 00:00:00 2001 From: Sahil Dhiman <52946452+sahilister@users.noreply.github.com> Date: Tue, 21 Jul 2020 19:45:10 +0000 Subject: [PATCH] lvs: add page (#4205) --- pages/linux/lvs.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/lvs.md diff --git a/pages/linux/lvs.md b/pages/linux/lvs.md new file mode 100644 index 0000000000..1063c35ab7 --- /dev/null +++ b/pages/linux/lvs.md @@ -0,0 +1,32 @@ +# lvs + +> Display information about LVM logical volumes. +> More information: . + +- Display information about logical volumes: + +`lvs` + +- Display all logical volumes: + +`lvs -a` + +- Change default display to show more details: + +`lvs -v` + +- Display only specific fields: + +`lvs -o {{field_name_1}},{{field_name_2}}` + +- Append field to default display: + +`lvs -o +{{field_name}}` + +- Suppress heading line: + +`lvs --noheadings` + +- Use a separator to separate fields: + +`lvs --separator {{=}}`