![]() |
![]() |
|
|
![]() |
![]() |
HP-UX Reference Volume 2 of 5 > l![]() lvmerge(1M)Requires Optional HP MirrorDisk/UX Software |
|
NAMElvmerge — merge two LVM logical volumes into one logical volume DESCRIPTIONThe lvmerge command merges two logical volumes of the same size. The number of mirrored copies of the dest_lv_path is increased by the number of copies in the src_lv_path. Data previously contained in the dest_lv_path is resynchronized using the data in the src_lv_path. All new data on the dest_lv_path is destroyed. Whenever a mirrored logical volume is split into two logical volumes, a bit map is stored that keeps track of all writes to either logical volume in the split pair. When the two logical volumes are subsequently merged using lvmerge, the bit map is used to decide which areas of the logical volumes need to be resynchronized. This bit map continues to exist until the merge is completed, or one of the logical volumes is extended or reduced, or the system is rebooted. If there is no bit map available, the entire logical volume is resynchronized. The normal usage for this command is to merge previously mirrored logical volumes that have been split using the lvsplit command (see lvsplit(1M). However, the two logical volumes are not required to have been the result of a previous lvsplit operation. Options and Argumentslvmerge recognizes the following options and arguments:
EXTERNAL INFLUENCESEnvironment VariablesLANG determines the language in which messages are displayed. If LANG is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLESMerge /dev/vg00/lvol1b with /dev/vg00/lvol1: Data in /dev/vg00/lvol1b will be overridden by /dev/vg00/lvol1. lvmerge /dev/vg00/lvol1b /dev/vg00/lvol1 |
![]() |
||
![]() |
![]() |
![]() |
|||||||||||||
|