*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> pvmove (1m)              
Title
Content
Arch
Section
 

Contents


 pvmove(1M)                                                       pvmove(1M)




 NAME    [Toc]    [Back]
      pvmove - move allocated physical extents from one LVM physical volume
      to other physical volumes

 SYNOPSIS    [Toc]    [Back]
      /usr/sbin/pvmove [-A autobackup] [-n lv_path] source_pv_path
           [dest_pv_path ... | dest_pvg_name ...]

    Remarks    [Toc]    [Back]
      pvmove cannot be performed if the volume group is activated in shared
      mode.

 DESCRIPTION    [Toc]    [Back]
      The pvmove command moves allocated physical extents and the data they
      contain from a source physical volume, source_pv_path, to one or more
      other physical volumes in the same volume group.

      If a destination physical volume or physical volume group is not
      specified, all physical volumes in the volume group are available as
      destination volumes for the transfer.  pvmove selects the proper
      physical volumes to be used in order to preserve the allocation
      policies of the logical volume involved.

      To limit the transfer to specific physical volumes, specify the name
      of each physical volume directly with a dest_pv_path argument.
      Optionally, if physical volume groups are defined for the volume
      group, specify the physical volumes indirectly with one or more
      dest_pvg_name arguments.

      source_pv_path must not appear as a dest_pv_path.

      If source_pv_path is a member of a dest_pv_path, it is automatically
      excluded from being a destination physical volume.

      pvmove succeeds only if there is enough space on the destination
      physical volumes to hold all the allocated extents of the source
      physical volume.

      If you have installed HP MirrorDisk/UX on your system and
      source_pv_path is an "active spare" physical volume within a mirrored
      logical volume, once all of the data has been moved to dest_pv_path,
      the source_pv_path physical volume will be returned to a "stand-by"
      spare physical volume. This is how to "unspare" data once the original
      failed physical volume has been repaired and is available to receive
      data.

    Options    [Toc]    [Back]
      pvmove recognizes the following options:

           dest_pv_path        The block device path name of a physical
                               volume.  It cannot be the source physical



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 pvmove(1M)                                                       pvmove(1M)




                               volume.  It must be in the same volume group
                               as source_pv_path.

           dest_pvg_name       The name of a physical volume group.  It must
                               be in the same volume group as
                               source_pv_path.

           source_pv_path      The block device path name of a physical
                               volume.

           -A autobackup       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 physical
                                         volume.  This is the default.

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

                                    n    Do not back up configuration
                                         changes this time.

           -n lv_path          Move only the physical extents allocated to
                               the logical volume specified by lv_path that
                               are located on the source physical volume
                               specified by source_pv_path.

 EXTERNAL INFLUENCES    [Toc]    [Back]
    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)).

 EXAMPLES    [Toc]    [Back]
      Move physical extents from /dev/dsk/c1t0d0 to /dev/dsk/c2t0d0 and
      /dev/dsk/c3t0d0:

           pvmove /dev/dsk/c1t0d0 /dev/dsk/c2t0d0 /dev/dsk/c3t0d0

      If physical volumes /dev/dsk/c2t0d0 and /dev/dsk/c3t0d0 are the only
      ones that belong to physical volume group PVG0, the same result can be
      achieved with the following command:




 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003






 pvmove(1M)                                                       pvmove(1M)




           pvmove /dev/dsk/c1t0d0 PVG0

      Move only the physical extents for logical volume /dev/vg01/lvol2 that
      are currently on /dev/dsk/c1t0d0 to /dev/dsk/c2t0d0:

           pvmove -n /dev/vg01/lvol2 /dev/dsk/c1t0d0 /dev/dsk/c2t0d0

 SEE ALSO    [Toc]    [Back]
      pvdisplay(1M), vgcfgbackup(1M).


 Hewlett-Packard Company            - 3 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
vgscan HP-UX scan physical volumes for LVM volume groups
vgreduce HP-UX remove physical volumes from an LVM volume group
pvdisplay HP-UX display information about physical volumes within LVM volume group
vgextend HP-UX extend an LVM volume group by adding physical volumes
pvchange HP-UX change characteristics and access path of physical volume in LVM volume group
pvck HP-UX check or repair a physical volume in LVM volume group
volunmigrate Tru64 Moves AdvFS domain storage from physical storage to LSM volumes (volmigrate) or from LSM volumes to ...
volmigrate Tru64 Moves AdvFS domain storage from physical storage to LSM volumes (volmigrate) or from LSM volumes to ...
pvcreate HP-UX create physical volume for use in LVM volume group
lvmpvg HP-UX LVM physical volume group information file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service