This is the scenario:
I want to remove a old hard disk which is a LVM PV and contains data. There is free space available on other PVs in the VG. It should move the data from the disk to be removed to other PVs and then remove the disk.
The process to remove
sdb from VG
vg is as follows.
First, distribute old extends from
sdb to other PV
# pvmove /dev/sdb
it will take much time.
# vgreduce vg /dev/sdb
Now, you can physically remove the
Then you can add new disks and extend the VGs.
vgreduce, you may wipe the labels on the disk by
# pvremove /dev/sdb