1. Computing & Technology
Linux / Unix Command: vgmerge
Command Library

NAME

vgmerge - merge two volume groups  

SYNOPSIS

vgmerge [-A|--autobackup{y|n}] [-d|--debug] [-h|--help] [-l|--list] [-t|--test] [-v|--verbose] DestinationVolumeGroupName SourceVolumeGroupName  

DESCRIPTION

vgmerge merges two existing volume groups. The inactive SourceVolumeGroupName will be merged into the DestinationVolumeGroupName if physical extent sizes are equal and physical and logical volume summaries of both volume groups fit into DestinationVolumeGroupName's limits.  

OPTIONS

-A, --autobackup y/n
Controls automatic backup of VG metadata after the merge ( see vgcfgbackup(8) ). Default is yes.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-l, --list
Display merged DestinationVolumeGroupName like "vgdisplay -v".
-t, --test
Do a test run WITHOUT making any real changes.
-v, --verbose
Display verbose runtime information about vgmerge's activities.
 

Examples

"vgmerge -v databases my_vg" merges the inactive volume group named "my_vg" into the active or inactive volume group named "databases" giving verbose runtime information.  

Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.