How to export a Volume Group

From Wiki-UX.info
Jump to: navigation, search


Abstract[edit]

This article explains how to export a Logical Volume Manager LVM Volume Group using the Command Line Interface CLI console.

Only the required LVM commands are presented in this article. Is the responsability of the system Administrator to determine which Physical Volumes are available to create the Volume Group.

Export a Volume Group[edit]

In order to export a volume group, please use the following instructions:

1. As a safety precaution, please be sure to create a Volume Group map file, and use the preview mode (-p option):

# vgexport -p -s -m /<vgname>.map <vgname>

2. Verify that the previous command created the .map file:

# cat <vgname>

3. Export the Volume Group:

# vgexport <vgname>

Authors[edit]