MCSG: When to vgimport/export

Title:

MCSG: When to vgimport/export

Author:

Douglas O’Leary <dkoleary@olearycomputers.com>

Description:

MCSG: When to vgimport/export

Date created:

06/2007

Date updated:

07/2008

Disclaimer:

Standard: Use the information that follows at your own risk. If you screw up a system, don’t blame it on me…

Keeping logical volume and volume group information consistent across cluster nodes is important for obvious reasons. In the event of a failover, if filesystems can’t be mounted because they don’t exist on the adoptive node, then bad things are likely to result. The question, then, is when do you have to export and import volume groups?

The answer is remarkably easy: any time a device file is created, deleted, or otherwise modified. Examples of when to export/import:

  1. Adding/removing disks to/from a volume group

  2. Adding/deleting logical volumes for a volume group

You normally should not have to export/import for a standard filesystem extension.