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

Create a logical volume using the pvcreate command of linux

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article takes a look at creating logical volumes using linux's pvcreate command. There is a certain reference value, friends in need can refer to, hope to help you.

The pvcreate command is used to initialize a physical hard disk partition to a physical volume for use by LVM.

Syntax format: pvcreate [parameters]

Common parameters:

-f forces the creation of a physical volume without user confirmation-u all questions of the UUID-y of the specified device are answered by yes

Reference example

Create a physical volume:

[root@linuxcool ~] # pvcreate / dev/sdb

Create multiple physical volumes:

[root@linuxcool ~] # pvcreate / dev/sdc {1 pvcreate / 4} above is a brief introduction to creating logical volumes using linux's pvcreate 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.

Share To

Servers

Wechat

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

12
Report