linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] pvmove problems
@ 2007-08-16 17:03 michael
  2007-08-16 17:08 ` Vesa-Pekka Palmu
  0 siblings, 1 reply; 4+ messages in thread
From: michael @ 2007-08-16 17:03 UTC (permalink / raw)
  To: linux-lvm

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. I saw some old
postings with a kernel patch but the URL is extinct.

I'm running Fedora: Linux xxx.phy.umist.ac.uk 2.6.22.1-41.fc7 #1 SMP Fri
Jul 27 18:21:43 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] pvmove problems
  2007-08-16 17:03 [linux-lvm] pvmove problems michael
@ 2007-08-16 17:08 ` Vesa-Pekka Palmu
  2007-08-16 17:54   ` [linux-lvm] SOLVED: LVM " michael
  2007-08-16 17:55   ` [linux-lvm] " Milan Broz
  0 siblings, 2 replies; 4+ messages in thread
From: Vesa-Pekka Palmu @ 2007-08-16 17:08 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1715 bytes --]

On Thu, 16 Aug 2007, michael 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. I saw some old
> postings with a kernel patch but the URL is extinct.
>
> I'm running Fedora: Linux xxx.phy.umist.ac.uk 2.6.22.1-41.fc7 #1 SMP Fri
> Jul 27 18:21:43 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
>
>
> 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.
>
>

2.6.22 has a bug in dm-mirror status reporting, and as lvm relies on that 
to parse the progress of pvmove, it causes pvmove to fail, use 2.6.21 or 
patch your kernel.

-- 
^^^ Tämä on siguerotin, se ei pure.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [linux-lvm] SOLVED: LVM pvmove problems
  2007-08-16 17:08 ` Vesa-Pekka Palmu
@ 2007-08-16 17:54   ` michael
  2007-08-16 17:55   ` [linux-lvm] " Milan Broz
  1 sibling, 0 replies; 4+ messages in thread
From: michael @ 2007-08-16 17:54 UTC (permalink / raw)
  To: LVM general discussion and development; +Cc: For users of Fedora, debian-user


On 16 Aug 2007, at 18:08, Vesa-Pekka Palmu wrote:

> On Thu, 16 Aug 2007, michael 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. I saw some  
>> old
>> postings with a kernel patch but the URL is extinct.
>>
>> I'm running Fedora: Linux xxx.phy.umist.ac.uk 2.6.22.1-41.fc7 #1  
>> SMP Fri
>> Jul 27 18:21:43 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
>>
>>
>> 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.
>>
>>
>
> 2.6.22 has a bug in dm-mirror status reporting, and as lvm relies  
> on that to parse the progress of pvmove, it causes pvmove to fail,  
> use 2.6.21 or patch your kernel.

Thanks for clarifying what the bug is and that indeed pvmove will  
give these errors. As I said I can't find the patch but I've put a  
2.6.21 kernel on my system and now pvmove is doing the business.  
Thanks, Michael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [linux-lvm] pvmove problems
  2007-08-16 17:08 ` Vesa-Pekka Palmu
  2007-08-16 17:54   ` [linux-lvm] SOLVED: LVM " michael
@ 2007-08-16 17:55   ` Milan Broz
  1 sibling, 0 replies; 4+ messages in thread
From: Milan Broz @ 2007-08-16 17:55 UTC (permalink / raw)
  To: LVM general discussion and development

Vesa-Pekka Palmu wrote:
> 2.6.22 has a bug in dm-mirror status reporting, and as lvm relies on that 
> to parse the progress of pvmove, it causes pvmove to fail, use 2.6.21 or 
> patch your kernel.

Please use kernel based on upstream version 2.6.22.2, it is fixed there already.

Thanks,
Milan
--
mbroz@redhat.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-16 17:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-16 17:03 [linux-lvm] pvmove problems michael
2007-08-16 17:08 ` Vesa-Pekka Palmu
2007-08-16 17:54   ` [linux-lvm] SOLVED: LVM " michael
2007-08-16 17:55   ` [linux-lvm] " Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).