PVMOVE(8)

NAME
pvmove - move physical extents

SYNOPSIS
pvmove [--abort] [-d/--debug] [-h/--help] [-i/--interval Seconds] [-v/--verbose] [-n/--name LogicalVolume] [SourcePhysicalVolume [DestinationPhysicalVolume[:PE[-PE]...]...]]

DESCRIPTION
pvmove allows you to move the allocated physical extents (PEs) on SourcePhysicalVolume to one or more other physical volumes (PVs). You can optionally specify a source LogicalVolume in which case only extents used by that LV will be moved to free (or specified) extents on DestinationPhysicalVolume(s). If no DestinationPhysicalVolume is specifed, the normal allocation rules for the volume group are used. If pvmove gets interrupted for any reason (e.g. the machine crashes) then run pvmove again without any PhysicalVolume arguments to continue with any moves that were in progress or use pvmove --abort to abort them.

OPTIONS

--abort
    Abort any moves currently in progress.

-i, --interval Seconds
    Report progress as a percentage at regular intervals.

-n, --name  LogicalVolume
    Move only the extents belonging to LogicalVolume from SourcePhysicalVolume instead of all allocated extents to the destination physical volume(s).

EXAMPLES
To move all logical extents of any logical volumes on /dev/hda4 to free physical extents elsewhere in the volume group, giving verbose runtime information, use:

    pvmove -v /dev/hda4

SEE ALSO
lvm(8)