Re: LVM problems: pvmove "errors"
On Thu, 2007-08-16 at 14:22 +0200, Martin Marcher wrote:
> On 8/16/07, michael bane <michael.bane@manchester.ac.uk> wrote:
> > I'm trying to reduce a logical vol so that I can remove a HD from it.
> > However, I get errors with pvmove but I don't know why:
> >
> > chris@veri:~$ sudo /usr/sbin/pvdisplay /dev/sdb1
> > Password:
> > --- Physical volume ---
> > PV Name /dev/sdb1
> > VG Name VolGroup00
> > PV Size 698.64 GB / not usable 10.34 MB
> > Allocatable yes
> > PE Size (KByte) 32768
> > Total PE 22356
> > Free PE 19156
> > Allocated PE 3200
> > PV UUID xDWUQB-wdEx-AtEs-YFkh-BKBR-7Jgd-9ik3p0
> >
> >
> > chris@veri:~$ sudo /usr/sbin/pvdisplay /dev/sda2
> > --- Physical volume ---
> > PV Name /dev/sda2
> > VG Name VolGroup00
> > PV Size 465.66 GB / not usable 3.56 MB
> > Allocatable yes
> > PE Size (KByte) 32768
> > Total PE 14901
> > Free PE 14839
> > Allocated PE 62
> > PV UUID GLGcHf-b3Ga-M61f-okkW-HaAk-Al7P-leVK91
> >
> >
> > chris@veri:~$ sudo /usr/sbin/pvmove /dev/sdb1
> > Failure parsing mirror status fraction: 1 core
> > Failure parsing mirror status fraction: 1 core
> > ABORTING: Mirror percentage check failed.
> >
> >
> >
Hi,
>
> are you absolutely sure that the other PVs have enough space available
> to remove the desired one? (this bugged me everytime i had to remove a
> PV)
>
> /martin
>
>
If I'm reading it right, the source device /dev/sdb1 has 3,200 allocated
PEs and the dest device /dev/sda2 has 14,839 free PEs (all PEs being the
same size). So it appears to me that there is enough room to do the
pvmove...
Reply to: