In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the use of linux's vgrename command to rename the volume group, I believe that most people do not know much, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!
Use the new hard disk to install the system under Linux, and then mount the original hard disk after installation, the partition format is all the default partition of the system, the default format of the system is lvm format, and the default volume is VolGroup00. At this point, we need to use the vgrename command to rename the volume group to resolve the duplicate name conflict.
Syntax format: vgrename [parameters]
Common parameters:
-d enable debug mode-t enable test mode
Reference example
Rename the volume group / dev/vg1 to / dev/vg2:
[root@linuxcool ~] # vgrename / dev/vg1 / dev/vg2 Volume group "vg1" successfullyrenamed to "vg2"
Rename the volume group vg1 to vg2:
[root@linuxcool ~] # vgrename vg1 vg2 Volume group "vg1" successfully renamed to "vg2" above is all the contents of renaming the volume group using linux's vgrename command, 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: 249
*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.