From Wiki-UX.info

Wiki-UX / Logical Volume Manager / How to export a Volume Group
Jump to: navigation, search

How to export a Volume Group

Abstract

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.

Contents


Export a Volume Group

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

This page was last modified on 3 August 2011, at 19:00. This page has been accessed 1,621 times.