Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the vgmerge command of linux to merge two volume groups

Shulou Source: shulou.com Published: 2022-06-02 15:52:29 10月30日 Update

This article mainly introduces the use of linux vgmerge command merge two volume groups, the text is very detailed, has a certain reference value, interested friends must read!

The vgmerge command is used to merge two existing volume groups.

If the physical extents are equal in size and the physical and logical volume summaries for both volume groups match the target volume group name, the inactive source volume group name is merged into the target volume group name.

Syntax format: vgmerge [parameter] [destination volume group name] [source volume group name]

Common parameters:

Reference Example

Merge volume group vg2 into volume group vg1:

[root@linuxcool ~]# vgmerge -v vg1 vg2

Simulate merge volume group operations:

[root@linuxcool ~]# vgmerge -t vg3 vg4

Display the merged volume group name:

[root@linuxcool ~]# vgmerge -l vg5 vg6 above is to use linux vgmerge command to merge all the contents of the two volume groups, thank you for reading! Hope to share the content to help everyone, more relevant knowledge, welcome to pay attention to the industry information channel!

Tags: Two command name content parameter physics goal reference value function interest size instance guy partner commonly used summary more format purpose Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi OPPO Reno Shulou Tech Info Apple