In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you how to use linux's vgcreate command to create a volume group. There is a certain reference value, friends in need can refer to, hope to help you.
The 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.
Syntax format: vgcreate [parameters]
Common options:
Maximum number of logical volumes allowed to be created on the-l volume group-maximum number of physical volumes allowed to be added in the p volume group-PE size of the physical volumes on the s volume group
Common parameters:
Volume group name volume group name physical volume list to be added to the volume group list of physical volumes
Reference example
Create a volume group "vg1000":
[root@linuxcool ~] # vgcreate vg1000
Create a volume group "vg1000" with a maximum of 200 logical volumes:
[root@linuxcool ~] # vgcreate-l 200 vg1000
Create a volume group "vg1000" that allows you to add a maximum of 200 physical volumes:
[root@linuxcool] # vgcreate-p 200 vg1000
Create the volume group "vg1000" and add the physical volumes "/ dev/sdb1" and "/ dev/sdb2" to the volume group:
[root@linuxcool ~] # vgcreate vg1000 / dev/sdb1 / dev/sdb2
Create a volume group "vg1000" and allow no more than 200 physical volumes "/ dev/sdb1" to be added to the volume group:
[root@linuxcool] # vgcreate-p 200 vg1000 / dev/sdb1 is a brief introduction to how to create a volume group using linux's vgcreate command. Of course, you have to use the above differences in detail before you understand it. If you want to know more, welcome to follow 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.