[linux-lvm] vgdisplay - checksum error - what does it mean?

Luca Berra bluca at comedia.it
Sun Feb 25 08:38:16 UTC 2007


On Thu, Feb 22, 2007 at 02:55:42PM +0100, Tomasz Chmielewski wrote:
>Tomasz Chmielewski schrieb:
>>Alasdair G Kergon schrieb:
>>>On Sat, Feb 17, 2007 at 01:56:44PM +0100, Luca Berra wrote:
>>>>On Fri, Feb 16, 2007 at 10:44:54AM +0100, Tomasz Chmielewski wrote:
>>>>>BTW, the machine is running Debian etch (ARM port).
>>>>mmm i don't have an arm maybe this is the issue why lvm does not
>>>>understand that sda2 is a md component?!?
>>>  
>>>I've not followed this thread, but you must use version 2.02.21 or later
>>>for the ARM architecture with md (or backport the patch).
>>
>>Hmm, I must try that.
>>
>>I'll let the list know in a week or so.
>
>Hmm, I can't compile that:
>
>(...)
>gcc -c -I. -I../include -DHAVE_CONFIG_H  -fPIC -Wall -Wundef -Wshadow 
>-Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations 
>-Wnested-externs -Winline -Wmissing-noreturn -O2 striped/striped.c -o 
>striped/striped.o
>report/report.c:67: warning: ?struct dm_report_field? declared inside 
>parameter list
Did you update device-mapper as well?

Anyway the patch to support both endian versions of the md superblock is
very small and can be applied to lvm earlier than 2.02.21

http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/device/dev-md.c.diff?r1=1.3&r2=1.4&cvsroot=lvm2

L.


-- 
Luca Berra -- bluca at comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \




More information about the linux-lvm mailing list