In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "how to use the vgcreate command in Linux", the content is simple and easy to understand, clear organization, I hope to help you solve doubts, let Xiaobian lead you to study and learn "how to use the vgcreate command in Linux" this article bar.
The vgcreate command is used to create LVM volume groups. Volume Groups organize multiple physical volumes into a single entity, masking the details of the underlying physical volumes. Create logical volumes on volume groups regardless of physical volume information.
syntax format
vgcreate [parameters]
Common options:
-l Maximum number of logical volumes allowed to be created on a volume group-p Maximum number of physical volumes allowed to be added to a volume group-s PE size of physical volumes on a volume group Common parameters: Volume group name Name of volume group to be created List of physical volumes to be added to a volume group List of physical volumes to be added to a volume group Reference example
Create volume group "vg1000" :
[root@linux265 ~]# vgcreate vg1000
Create volume group "vg1000" with a maximum of 200 logical volumes:
[root@linux265 ~]# vgcreate -l 200 vg1000
Create volume group "vg1000" that allows adding up to 200 physical volumes:
[root@linux265 ~]# vgcreate -p 200 vg1000
Create volume group "vg1000" and add physical volumes "/dev/sdb1" and "/dev/sdb2" to the volume group:
[root@linux265 ~]# vgcreate vg1000 /dev/sdb1 /dev/sdb2
Create volume group "vg1000" and allow up to 200 physical volumes "/dev/sdb1" to be added to the volume group:
[root@linux265 ~]# vgcreate -p 200 vg1000 /dev/sdb1 Above is "How to use vgcreate command in Linux" All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.