In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 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 pvscan command in Linux". The content is simple and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn how to use the pvscan command in Linux.
The Linux common command 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.
Pvscan scans the list of physical volumes for all hard drives in the system
Syntax pvscan (option) option-d: debug mode;-e: display only physical volumes that belong to the output volume group;-n: display only physical volumes that do not belong to any volume group;-s: short format output;-u: display UUID. The instance uses the pvscan command to scan the physical volumes of all hard disks in the current system, and enter the following command on the command line:
[root@localhost ~] # pvscan # scan the physical volume output information on all hard disks as follows:
PV / dev/sdb1 lvm2 [101.94 MB] PV / dev/sdb2 lvm2 [101.98 MB] Total: 2 [203.92 MB] / in use: 0 [0] / in no VG: 2 [203.92 MB] Note: in this example, two physical volumes are output, which do not belong to any volume group and are available physical volumes.
The above is all the contents of the article "how to use pvscan commands in Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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.