The Linux Newbie Guide  ⇒    Fundamentals     Advanced     Supplement   Command Index   ENG⇒中
All rights reserved, please indicate the source when citing
  

pvmove - Moving PV Data





pvmove is a Linux command related to LVM (Logical Volume Manager). Its function is to move data between physical volumes (PVs) within the same volume group (VG).

The syntax for the pvmove command is as follows:
pvmove [OPTIONS] [PV_NAME] [VG_NAME]

Example:
# pvmove /dev/sda4 ←Moves data from PV "/dev/sda4" to other available PVs (automatically detects which PVs can store the data)
# pvmove /dev/sda3 /dev/sda4 ←Moves data from PV "/dev/sda3" to PV "/dev/sda4"

For more examples and operations related to pvmove and LVM, please refer to the provided link.