PVMOVE(8)

NAME
pvmove - move physical extents

SYNOPSIS
pvmove [-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, it will probably be necessary to run vgcfgrestore to restore the volume group's metadata to the state it was before the pvmove began. pvmove locks the volume group and other LVM2 commands can't access the volume group metadata until pvmove has completed.

OPTIONS

-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)