[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lvm2 - question about pvmove



On Mon, Jul 13, 2009 at 12:24 PM, Boyd Stephen Smith
Jr.<bss@iguanasuicide.net> wrote:
> pvcreate /dev/sdc1
> pvcreate /dev/sdc2
> pvcreate /dev/sdc3
> pvcreate /dev/sdc4
> vgextend $vg /dev/sdc1
> vgextend $vg /dev/sdc2
> vgextend $vg /dev/sdc3
> vgextend $vg /dev/sdc4
> pvmove /dev/sda2
> pvmove /dev/sdb
> vgreduce $vg /dev/sda2
> vgreduce $vg /dev/sdb
> pvremove /dev/sda2
> pvremove /dev/sdb


Wouldn't you want to move the first pvremove up after the first
pvmove?  Otherwise the second pvmove might choose to move onto the
device you just cleared out.

mrc


Reply to: