Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the vgs command in linux to report information about volume groups

Shulou Source: shulou.com Published: 2022-06-02 15:52:32 09月22日 Update

Editor to share with you the use of linux vgs command to report on the volume group information, I believe that most people do not know much about it, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!

The purpose of the vgs command is to report and display information about volume groups.

Usually a partition or a hard disk can create a physical volume, combining multiple physical volumes together to form a volume group.

Syntax format: vgs [parameter] [volume group name]

Common parameters:

Reference example

Displays information for the volume group vg1:

[root@linuxcool ~] # vgs vg1

Display the results using delimiters to align the output:

[root@linuxcool] # vgs-- aligned vg1

List all volume groups:

[root@linuxcool ~] # vgs-all above is all about reporting information about volume groups using the vgs command in linux. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Information commands reports learning content parameters physics not much function delimiters multiple most learning methods examples commonly used articles methods more format knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MariaDB Linux Xiaomi Redmi