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

Tomasz Chmielewski mangoo at wpkg.org
Thu Feb 15 15:23:33 UTC 2007


Tomasz Chmielewski schrieb:
> Recently, I used "vgdisplay", and noticed that it gives a "checksum error":
> 
> # vgdisplay
>   /dev/sda2: Checksum error
>   --- Volume group ---
>   VG Name               LVM2
>   System ID
>   Format                lvm2
>   Metadata Areas        1
>   Metadata Sequence No  49
>   VG Access             read/write
>   VG Status             resizable
>   MAX LV                0
>   Cur LV                34
>   Open LV               34
>   Max PV                0
>   Cur PV                1
>   Act PV                1
>   VG Size               743.16 GB
>   PE Size               4.00 MB
>   Total PE              190250
>   Alloc PE / Size       175807 / 686.75 GB
>   Free  PE / Size       14443 / 56.42 GB
>   VG UUID               yV2ADe-MeJd-dHbd-ExLP-AIu3-OTA2-u46qhl
> 
> 
> Should I be scared? What does it mean? What should I do about it? I 
> wouldn't like to loose the data.
> 
> If it helps, my setup looks like that:
> 
> HDD1-sda2-\
> HDD2-sdb2-|__RAID-10--LVM-2
> HDD3-sdc2-|
> HDD4-sdd2-/
> 
> I'm running 2.6.17.8 kernel.

Hmmm... isn't it something that tells about the history of that system?

# lvmdiskscan | egrep '(sd|md)'
   /dev/sda2: Checksum error
   /dev/md0                      [        1.03 GB]
   /dev/md1                      [        1.03 GB]
   /dev/sda2                     [      371.58 GB] LVM physical volume
   /dev/md2                      [      743.16 GB] LVM physical volume
   /dev/sdb2                     [      371.58 GB]
   /dev/sdc2                     [      371.58 GB]
   /dev/sdd2                     [      371.58 GB]


/dev/md0 is RAID-1  -> swap
/dev/md1 is RAID-1  -> root filesystem
/dev/md2 is RAID-10 -> all LVM volumes


So this basically means, that LVM was set up on /dev/sda2 some time ago, 
but it was never removed from there - instead, RAID-10 was set up on 
that partition?

Should I do something to fix the things? What?


-- 
Tomasz Chmielewski
http://wpkg.org




More information about the linux-lvm mailing list