Package: lvm2
Followup-For: Bug #315339

Nice to see the initial bug (of 2.01.12-1) being addressed so quickly.
However, using 2.01.12-2 gives me similar problems, while using lvm2
metadata. All vgdisplay commands complain about "Incorrect metadata area
header checksum" and trying to modify the LV partitions fails with
something like this:

  Incorrect metadata area header checksum
  Extending logical volume media to 28,50 GB
  PV segment pe_alloc_count mismatch: 7 != 16
  PV segment VG free_count mismatch: 12 != 3
  Internal error: PV segments corrupted in siivet.

Downgrading to 2.01.04-5 makes these problems go away. Attached is my lvm2 
config file.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (50, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages lvm2 depends on:
ii  debconf                      1.4.52      Debian configuration management sy
ii  libc6                        2.3.5-3     GNU C Library: Shared libraries an
ii  libdevmapper1.01             2:1.01.03-1 The Linux Kernel Device Mapper use
ii  lvm-common                   1.5.19      The Logical Volume Manager for Lin

lvm2 recommends no packages.
# Generated by LVM2: Fri Aug 12 21:55:32 2005

contents = "Text Format Volume Group"
version = 1

description = "Created *before* executing 'lvextend -L +2,5G /dev/siivet/media'"

creation_host = "lento" # Linux lento 2.6.12 #1 Sat Jul 30 19:28:44 EEST 2005 
i686
creation_time = 1123872932      # Fri Aug 12 21:55:32 2005

siivet {
        id = "hXPqiJ-Gz4Y-Qp6x-H2Ws-SIcv-vWtg-SArlKx"
        seqno = 44
        status = ["RESIZEABLE", "READ", "WRITE"]
        extent_size = 524288            # 256 Megabytes
        max_lv = 0
        max_pv = 0

        physical_volumes {

                pv0 {
                        id = "NIXxU0-A1l2-0YCv-229l-giHO-1QGJ-xpR2FU"
                        device = "/dev/hda8"    # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 384
                        pe_count = 67   # 16,75 Gigabytes
                }

                pv1 {
                        id = "E5SW6g-KA5v-jK17-VSi0-gTSa-mzTk-gThQw5"
                        device = "/dev/hda6"    # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 384
                        pe_count = 18   # 4,5 Gigabytes
                }

                pv2 {
                        id = "rtCXQu-Ct23-KtjA-Lvs8-kRiM-2E1f-jDJ5Kt"
                        device = "/dev/hda9"    # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 384
                        pe_count = 26   # 6,5 Gigabytes
                }

                pv3 {
                        id = "0TQBn6-3ODU-Sa9j-UzO4-B7rK-H1kE-Kvr6vA"
                        device = "/dev/hda3"    # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 384
                        pe_count = 7    # 1,75 Gigabytes
                }

                pv4 {
                        id = "RvLRZ5-omyS-9B4a-Kst5-fDwi-oRP2-u9VLs8"
                        device = "/dev/hda7"    # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 384
                        pe_count = 55   # 13,75 Gigabytes
                }

                pv5 {
                        id = "twcTo4-Id4U-ozOV-t5Oe-fIBQ-eHl2-lR9xrS"
                        device = "/dev/hda5"    # Hint only

                        status = ["ALLOCATABLE"]
                        pe_start = 384
                        pe_count = 11   # 2,75 Gigabytes
                }
        }

        logical_volumes {

                lokaali {
                        id = "pyMyXw-IqLw-JtZM-a6UI-3DTx-5LfP-n5RAR9"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 2

                        segment1 {
                                start_extent = 0
                                extent_count = 4        # 1024 Megabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 0
                                ]
                        }
                        segment2 {
                                start_extent = 4
                                extent_count = 6        # 1,5 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 58
                                ]
                        }
                }

                usri {
                        id = "UlHPvj-La1Q-0RlD-xYuE-v1IV-CNZB-MdU7VY"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 14       # 3,5 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 4
                                ]
                        }
                }

                varri {
                        id = "ajj4zR-5LJX-DbfY-5vVc-tml2-HaH4-X0d6E9"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 1

                        segment1 {
                                start_extent = 0
                                extent_count = 7        # 1,75 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 20
                                ]
                        }
                }

                media {
                        id = "ng190B-cA26-bfzC-vKGk-WWtf-Kx64-3oOHuL"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 6

                        segment1 {
                                start_extent = 0
                                extent_count = 18       # 4,5 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv1", 0
                                ]
                        }
                        segment2 {
                                start_extent = 18
                                extent_count = 10       # 2,5 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv2", 0
                                ]
                        }
                        segment3 {
                                start_extent = 28
                                extent_count = 4        # 1024 Megabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 30
                                ]
                        }
                        segment4 {
                                start_extent = 32
                                extent_count = 55       # 13,75 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv4", 0
                                ]
                        }
                        segment5 {
                                start_extent = 87
                                extent_count = 11       # 2,75 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv5", 0
                                ]
                        }
                        segment6 {
                                start_extent = 98
                                extent_count = 6        # 1,5 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv3", 0
                                ]
                        }
                }

                koti {
                        id = "3g8jms-XHay-dQJS-Ov3o-Bmu4-L3jZ-qN57TI"
                        status = ["READ", "WRITE", "VISIBLE"]
                        segment_count = 3

                        segment1 {
                                start_extent = 0
                                extent_count = 8        # 2 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 50
                                ]
                        }
                        segment2 {
                                start_extent = 8
                                extent_count = 16       # 4 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv2", 10
                                ]
                        }
                        segment3 {
                                start_extent = 24
                                extent_count = 12       # 3 Gigabytes

                                type = "striped"
                                stripe_count = 1        # linear

                                stripes = [
                                        "pv0", 34
                                ]
                        }
                }
        }
}

Reply via email to