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

Use the pvscan command of linux to list the physical volumes found

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

What the editor shares with you today is to use the pvscan command of linux to list the physical volumes found. I believe many people do not know much about it. In order to make you understand better, I have summarized the following contents for you. Let's move on. I'm sure you'll get something.

The pvscan command scans all connected hard drives in the system and lists the physical volumes found. Use the-n option of the pvscan command to display physical volumes on the hard disk that do not belong to any volume group, which are unused.

Syntax format: pvscan [parameters]

Common parameters:

-d debug mode-e displays only physical volumes that belong to the output volume group-n displays only physical volumes that do not belong to any volume group-s short format output-u displays UUID

Reference example

Scan the physical volumes on all hard drives:

[root@linuxcool ~] # pvscan

Only physical volumes that belong to the output volume group are displayed:

[root@linuxcool] # pvscan-e

Only physical volumes that do not belong to any volume group are displayed:

[root@linuxcool ~] # pvscan-n this is the end of the list of physical volumes found using the pvscan command of linux. I hope the above content can be used as a reference for you. If you like this article, you might as well share it for more people to see.

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