vgimport.1m (2010 09)

v
vgimport(1M) vgimport(1M)
vgimport -v -m /tmp/vg01.mymap /dev/vg01 \
/dev/dsk/c0t5d0 /dev/dsk/c0t7d0
Import the volume group /dev/vg02 using the mapfile file,
/tmp/vg02.mymap
. mymap was previ-
ously specified by the
vgexport command on another system. The volume group,
/dev/vg02,is
specified in
mymap and will be shared among the exporting system, this system, and other systems
importing the volume group as shared:
vgimport -v -s -m /tmp/vg02.mymap /dev/vg02
Import the volume group /dev/vg02 using the infile,
/tmp/vg02.infile
. infile was previously
specified by the
vgexport command on another system, and it assumes that pv_paths in the
/tmp/vg02.infile
are identical on both systems.
vgimport -v -f /tmp/vg02.infile /dev/vg02
Import the volume group /dev/vg01 using the mapfile file,
/tmp/vg01.mymap
and the -C option.
mymap was previously specified by the
vgexport command on another system. The volume group,
/dev/vg01, is specified in
mymap and will be used by the importing system only:
vgimport -S -C -m /tmp/vg01.mymap /dev/vg01
Upon successful completion of the command, /dev/vg01 will contain cluster DSFs in the imported sys-
tem in place of persistent DSFs contained in the mymap mapfile.
SEE ALSO
vgexport(1M), vgscan(1M), intro(7), lvm(7).
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3