[linux-lvm] Newbie question: ERROR "pv_move_pe(): PE lock" pv_move_pe
Piete Brooks
Piete.Brooks at cl.cam.ac.uk
Sat Feb 17 09:26:43 UTC 2001
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
#
Any ideas ?
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"
#
Should this work ? (the man page doesn't describe `[PhysicalVolumePath...]'
Not directly LVM, but if I run out of inodes, is there some way to extend an
ext2 FS so that the ratio of inodes/block is higher than the original FS ?
% cat /proc/lvm/global
LVM driver version 0.9.1_beta4 (09/02/2001)
Total: 1 VG 2 PVs 2 LVs (0 LVs open)
Global: 12656 bytes malloced IOP version: 10 11:29:30 active
VG: vg01 [2 PV, 2 LV/0 open] PE Size: 4096 KB
Usage [KB/PE]: 2097152 /512 total 122880 /30 used 1974272 /482 free
PVs: [AA] hda9 1048576 /256 106496 /26 942080/230
[AA] md8 1048576 /256 0 /0 1048576/256
LVs: [AWDL ] lv01 106496 /26 close
[ARDL ] snap-lv01 106496 /26 close
%
More information about the linux-lvm
mailing list