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

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



>> # 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....

Sigh -- it warns that data loss can occur if they are active, so I assumed 
that they should be inactive.  If it has to be active, why does it quietly say 
`extents in inactive volume' and not warn that they should be active ?

I got the data onto the RAID device, and when that's active, I get a different 
message:

# pvmove /dev/md7
pvmove -- ERROR "pv_read(): multiple device" reading source physical volume 
"/dev/md7"

# cat /proc/lvm/global    
LVM driver version 0.9.1_beta4 (09/02/2001)

Total:  1 VG  3 PVs  2 LVs (2 LVs open 2 times)

Global: 10276 bytes malloced   IOP version: 10   0:19:55 active

VG:  vg01  [3 PV, 2 LV/2 open]  PE Size: 4096 KB
  Usage [KB/PE]: 3145728 /768 total  1257472 /307 used  1888256 /461 free
  PVs: [AA] md8                    1048576 /256      1048576 /256         0/0
       [AA] md7                    1048576 /256       208896 /51     839680/205
       [AA] md6                    1048576 /256            0 /0     1048576/256
    LVs: [AWDL  ] repl                        348160 /85       1x open
         [AWDL  ] scratch                     909312 /222      1x open
# 



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