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

NAME

vgimport - make volume groups known to the system  

SYNOPSIS

vgimport [-d|--debug] [-f|--force] [-h|--help] [-v|--verbose] VolumeGroupName PhysicalVolumePath [PhysicalVolumePath...]  

DESCRIPTION

vgimport allows you to make a volume group known to the system which has previously been exported (see vgexport(8) ) on this or another system.  

OPTIONS

-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-f, --force
Force import of volume group even though it is not flagged exported. This option allows the importing of volume groups from broken systems.
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Display verbose runtime information about vgimport's activities.
 

Examples

"vgimport myvg /dev/sd[b-h]5" tries to make new volume group "myvg" known to the system. The previously exported volume group (see vgexport(8) ) resides on disk partitions "/dev/sdb5" to "/dev/sdh5".  

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.