HP B2355-92068 Administration Manual page 538

System administration commands
Table of Contents

Advertisement

lvmerge(1M)
NAME
lvmerge - merge two LVM logical volumes into one logical volume
SYNOPSIS
/usr/sbin/lvmerge
Remarks
This command requires the installation of the optional HP MirrorDisk/UX software, which is not included
in the standard HP-UX operating system.
cannot be performed if the volume group is activated in shared mode.
lvmerge
DESCRIPTION
The
lvmerge
rored copy of master_lv_path and only the master_lv_path logical volume is retained. The number of mir-
rored copies of the master_lv_path is increased by the number of copies in the copy_lv_path .
Data previously contained in the copy_lv_path will be resynchronized using the data in the master_lv_path.
All new data on the copy_lv_path will be destroyed and the copy_lv_path logical volume will be removed.
By default, lvmerge completes after all the extents are resynchronized. When run with the
there is no bitmap (see below),
Using the
-s
vgsync
to synchronize the mirrors.
The normal usage for this command is to merge previously mirrored logical volumes that have been split
using the
lvsplit
of a previous
NOTE: Whenever a mirrored logical volume is split into two logical volumes using
l
stored that keeps track of all writes to either logical volume in the split pair. When the two logical volumes
are subsequently merged using
to be resynchronized with the master_lv_path. This bitmap remains in existence until one of the following
conditions occurs:
• The merge is completed.
• One of the logical volumes is extended, reduced, or split again.
• The volume group is deactivated, or cross-activated to shared mode (see vgchange(1M)).
• The system is rebooted.
If there is no bitmap available, all the physical extents from the copy_lv_path are marked stale. If there is
a bitmap available, the
Options and Arguments
recognizes the following options and arguments:
lvmerge
copy_lv_path
master_lv_path
-A
autobackup
-s
538
Hewlett-Packard Company
(Requires Optional HP MirrorDisk/UX Software)
[
-A
autobackup] [
command merges two logical volumes of the same size. The copy_lv_path is added as a mir-
lvmerge
option may affect data high availability as extents may remain stale. Use
command. However, the two logical volumes are not required to have been the result
operation.
lvsplit
lvmerge
-s
option is ignored.
The block device path name of a logical volume that will be removed.
The block device path name of a logical volume that will remain.
Set automatic backup for this invocation of this command. autobackup can have
one of the following values:
y
Automatically back up configuration changes made to the logical volume.
This is the default.
After
this
vgcfgbackup(1M)) is executed for the volume group to which the logical
volume belongs.
n
Do not back up configuration changes this time.
If there is no bitmap, do not synchronize the new mirrors in the master_lv_path
after the merge. Using the
may remain stale. Use
-s
] copy_lv_path master_lv_path
returns without resynchronizing the remaining logical volume.
, the bitmap is used to decide which areas of copy_lv_path need
command
executes,
the
-s
option may affect data high availability as extents
or
lvsync
vgsync
− 1 −
HP-UX 11i Version 2: December 2007 Update
lvmerge(1M)
-s
lvsync
, a bitmap is
lvsplit
command
vgcfgbackup
to synchronize the mirrors.
option, if
or
(see

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hp-ux 11i

Table of Contents