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

[linux-lvm] pvmove question



...

Hello. I have a VG on two software raid1 devices:

~ # pvs
  PV         VG      Fmt  Attr PSize  PFree 
  /dev/md0   hosting lvm2 a-   16.96G 16.96G
  /dev/md1   hosting lvm2 a-   16.96G  6.96G

I need to remove one raid (md1) from VG, but it is used:

~ # vgreduce hosting /dev/md1
  Physical volume "/dev/md1" still in use

But I cannot free it:

~ # pvmove /dev/md1 /dev/md0
  Unrecognised segment type mirror

Is there any solution? The system running lvm is a test box
and data stored on the VG is also unimportant; but I must
complete tests before running this system in production.

~ # uname -r
2.6.11-vs26-smp-rad4

~ # lvm version
File descriptor 5 left open
  LVM version:     2.01.10 (2005-05-03)
  Library version: 1.01.01 (2005-03-29)
  Driver version:  4.4.0


-- 
Peter V. Saveliev


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