Get the App
SLTechnology News&Howtos  ›  Servers  › 

Export a volume group using the vgexport command of linux

Shulou Source: shulou.com Published: 2022-06-02 15:52:22 09月28日 Update

This article will explain in detail about using linux's vgexport command to export volume groups. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.

The purpose of the vgexport command is to export volume groups.

The vgexport command allows you to set the name of an passive volume group that is unknown to the system. You can also move all physical volumes in this volume group to different systems for later import using the vgimport command.

Syntax format: vgexport [parameter] [volume group name]

Common parameters:

Reference example

Export volume group vgl:

[root@linuxcool ~] # vgexport linuxcool_vg

Export all active volume groups:

[root@linuxcool] # vgexport-a

Export the volume group with the map file:

[root@linuxcool] # vgexport-s-p-m / tmp/vglinuxcool.map / dev/vglinuxcool so much for exporting volume groups using linux's vgexport command. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Commands parameters more articles systems references activities different good practical functions content names examples commonly used files articles formats physics knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Redmi Xiaomi Shulou Tech Info Microsoft