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 vgimportclone command in linux to import and rename replicated volume groups

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you to use the vgimportclone command in linux to import and rename the copied volume group, I hope you can learn a lot after reading this article, let's discuss it together!

The purpose of the vgimportclone command is to import and rename replicated volume groups, which is a bit like hardware snapshots.

Replicated volume groups and physical volumes cannot be used until they coexist with the original volume group and physical volumes. The vgimportclone command renames the volume group associated with the specified physical volume and changes the associated volume group and physical volume uuid.

Syntax format: vgimportclone [parameters] [physical volumes]

Common parameters:

Reference example

Import physical volumes / dev/sda5, / dev/sda6, and / dev/sda7 and rename the replicated volume group name as vg_linuxcool:

[root@linuxcool] # vgimportclone-n vg_linuxcool / dev/sda5 / dev/sda6 / dev/sda7

To rename the volume group vg00 associated with / dev/sdc and / dev/sdd to vg00_snap, and change the uuid of the associated volume group and physical volume:

[root@linuxcool] # vgimportclone-n vg00_snap / dev/sdc / dev/sdd

Import the specified volume group:

[root@linuxcool] # vgimportclone-I vg_linuxcool / dev/sda5 has finished reading this article. I believe you have some understanding of the volume groups imported and renamed by using the vgimportclone command in linux. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

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