Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the vgcreate command of Linux

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use the vgcreate command of Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Now let the editor take you to learn how to use the vgcreate command of Linux.

The Linux common command vgcreate command is used to create LVM volume groups. Volume groups (Volume Group) organize multiple physical volumes into a whole, masking the details of the underlying physical volumes. You do not have to consider the specific physical volume information when creating logical volumes on a volume group.

Vgcreate is used to create LVM volume groups

Syntax vgcreate (options) (parameters) option-l: the maximum number of logical volumes allowed to be created on the volume group;-p: the maximum number of physical volumes allowed to be added to the volume group;-s: the PE size of the physical volumes on the volume group. Parameter volume group name: the name of the volume group to be created

List of physical volumes: a list of physical volumes to be added to the volume group.

The instance uses the vgcreate command to create the volume group "vg1000" and adds the physical volumes / dev/sdb1 and / dev/sdb2 to the volume group. Enter the following command on the command line:

[root@localhost ~] # vgcreate vg1000 / dev/sdb1 / dev/sdb2 # create volume group "vg1000" output information is as follows:

Volume group "vg1000" successfully created so far, I believe you have a deeper understanding of "how to use Linux's vgcreate command". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report