[linux-lvm] Newbie question: ERROR "pv_move_pe(): PE lock" pv_move_pe

Luca Berra bluca at comedia.it
Sat Feb 17 10:16:25 UTC 2001


On Sat, Feb 17, 2001 at 09:26:43AM +0000, Piete Brooks wrote:
> I was unable to create RAID1 PVs under 0.9.1_beta2 (RH 7.0.90 - Fisher), so I 
> used some raw partitions. I upgraded to 0.9.1_beta4 (which fixed the OOPS or 
> boot - great!) and have managed to create and add the RAID PV.
> 
> I'd like to remove the old PVs, and the empty one was `vgreduce's OK, but I 
> can't pvmove the data from the old one.
> 
> # pvmove /dev/hda9 
> pvmove -- moving physical extents in inactive volume group "vg01"
> pvmove -- WARNING: moving of active logical volumes may cause data loss!
> pvmove -- do you want to continue? [y/n] y
> pvmove -- ERROR "pv_move_pe(): PE lock" pv_move_pe
> 
> pvmove -- ERROR "pv_move_pe(): PE lock" moving physical extents

i believe the vg should be active....

> I was hoping to HACK it pro tem, and create new LVs by specifying the PVs to 
> use, but this too failed:
> 
> # lvcreate -L 50M -n repl vg01 /dev/md8
> lvcreate -- rounding up size to physical extent boundary "52 MB"
> lvcreate -- couldn't read physical volume "/dev/md8"

it should can you send a debug output...

L.

-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \



More information about the linux-lvm mailing list