Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Apropos / Subsearch:
optional field

 lvmerge(1M)							 lvmerge(1M)
		 Requires Optional HP MirrorDisk/UX Software

      lvmerge - merge two LVM logical volumes into one logical volume

      /usr/sbin/lvmerge [-A autobackup] dest_lv_path src_lv_path

      This command requires the installation of the optional HP MirrorDisk/UX
      software, which is not included in the standard HP-UX operating system.

      lvmerge cannot be performed if the volume group is activated in shared

      The 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

      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

      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 Arguments
      lvmerge recognizes the following options and arguments:

	   dest_lv_path	       The block device path name of a logical

	   src_lv_path	       The block device path name of a logical

	   -A autobackup       Set automatic backup for this invocation of
			       this command.  autobackup can have one of the
			       following values:

 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000

 lvmerge(1M)							 lvmerge(1M)
		 Requires Optional HP MirrorDisk/UX Software

				    y	 Automatically back up configuration
					 changes made to the logical volume.
					 This is the default.

					 After this command executes, the
					 vgcfgbackup command (see
					 vgcfgbackup(1M)) is executed for
					 the volume group to which the
					 logical volume belongs.

				    n	 Do not back up configuration
					 changes this time.

    Environment Variables
      LANG 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)).

      Merge /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

      If no bit map is found, all data on dest_lv_path is lost after the

      lvmerge does not check to guarantee that the allocation policy of
      src_lv_path is preserved after the merge.

      lvcreate(1M), lvextend(1M), lvsplit(1M).

 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000