5.3.2. 转​​​​​​​移​​​​​​​数​​​​​​​据​​​​​​​

您​​​​​​​可​​​​​​​以​​​​​​​使​​​​​​​用​​​​​​​ pvmove 将​​​​​​​ /dev/sdc1 中​​​​​​​所​​​​​​​有​​​​​​​使​​​​​​​用​​​​​​​的​​​​​​​物​​​​​​​理​​​​​​​扩​​​​​​​展​​​​​​​移​​​​​​​动​​​​​​​到​​​​​​​ /dev/sdb1 中​​​​​​​。​​​​​​​执​​​​​​​行​​​​​​​ pvmove 会​​​​​​​花​​​​​​​一​​​​​​​些​​​​​​​时​​​​​​​候​​​​​​​。​​​​​​​
[root@tng3-1 ~]# pvmove /dev/sdc1 /dev/sdb1
  /dev/sdc1: Moved: 14.7%
  /dev/sdc1: Moved: 30.3%
  /dev/sdc1: Moved: 45.7%
  /dev/sdc1: Moved: 61.0%
  /dev/sdc1: Moved: 76.6%
  /dev/sdc1: Moved: 92.2%
  /dev/sdc1: Moved: 100.0%
转​​​​​​​移​​​​​​​完​​​​​​​数​​​​​​​据​​​​​​​后​​​​​​​,您​​​​​​​可​​​​​​​以​​​​​​​看​​​​​​​到​​​​​​​ /dev/sdc1 中​​​​​​​的​​​​​​​所​​​​​​​有​​​​​​​空​​​​​​​间​​​​​​​都​​​​​​​可​​​​​​​用​​​​​​​了​​​​​​​。​​​​​​​
[root@tng3-1 ~]# pvscan
  PV /dev/sda1   VG myvg   lvm2 [17.15 GB / 0    free]
  PV /dev/sdb1   VG myvg   lvm2 [17.15 GB / 10.80 GB free]
  PV /dev/sdc1   VG myvg   lvm2 [17.15 GB / 17.15 GB free]
  Total: 3 [51.45 GB] / in use: 3 [51.45 GB] / in no VG: 0 [0   ]