[linux-lvm] LVM problem after RAID resync

Da Ma lvm at violent.skystorm.net
Fri May 29 10:43:58 UTC 2009


After problems with linux software raid have been fixed, I am unable to
start using LVM again - no device nodes are created for logical volumes
and virtual groups.

My system is debian etch

Please help - I am attaching vgdisplay and lvdisplay outputs


root:/root# vgdisplay -vv
      Setting global/locking_type to 1
      Setting global/locking_dir to /var/lock/lvm
      File-based locking enabled.
    Finding all volume groups
      /dev/ram0: No label detected
      /dev/md0: No label detected
      /dev/ram1: No label detected
      /dev/md1: No label detected
      /dev/ram2: No label detected
      /dev/sda2: No label detected
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/ram3: No label detected
      /dev/ram4: No label detected
      /dev/ram5: No label detected
      /dev/ram6: No label detected
      /dev/ram7: No label detected
      /dev/ram8: No label detected
      /dev/ram9: No label detected
      /dev/ram10: No label detected
      /dev/ram11: No label detected
      /dev/ram12: No label detected
      /dev/ram13: No label detected
      /dev/ram14: No label detected
      /dev/ram15: No label detected
      /dev/sdb2: No label detected
      /dev/sdc2: No label detected
      Locking /var/lock/lvm/V_vg-array5 RB
    Finding volume group "vg-array5"
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  WARNING: Volume group "vg-array5" inconsistent
  --- Volume group ---
  VG Name               vg-array5
  System ID
  Format                lvm2
  Metadata Areas        2
  Metadata Sequence No  6
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                1
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               594.17 GB
  PE Size               4.00 MB
  Total PE              152107
  Alloc PE / Size       152107 / 594.17 GB
  Free  PE / Size       0 / 0
  VG UUID               89aSmX-bREo-1nEu-yW7s-0UAF-adKn-sIOJ1D

  --- Logical volume ---
  LV Name                /dev/vg-array5/lv-array5
  VG Name                vg-array5
  LV UUID                aStagy-newt-4p75-XM25-EOlx-mfS7-mRAKbI
  LV Write Access        read/write
  LV Status              NOT available
  LV Size                594.17 GB
  Current LE             152107
  Segments               1
  Allocation             inherit
  Read ahead sectors     0

  --- Physical volumes ---
  PV Name               /dev/md2
  PV UUID               0QcJ3N-gT87-U00u-DWP1-zBLM-6Rff-PdwxSe
  PV Status             allocatable
  Total PE / Free PE    152107 / 0

      Unlocking /var/lock/lvm/V_vg-array5


root:/root# lvdisplay -vv
      Setting global/locking_type to 1
      Setting global/locking_dir to /var/lock/lvm
      File-based locking enabled.
    Finding all logical volumes
      /dev/ram0: No label detected
      /dev/md0: No label detected
      /dev/ram1: No label detected
      /dev/md1: No label detected
      /dev/ram2: No label detected
      /dev/sda2: No label detected
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/ram3: No label detected
      /dev/ram4: No label detected
      /dev/ram5: No label detected
      /dev/ram6: No label detected
      /dev/ram7: No label detected
      /dev/ram8: No label detected
      /dev/ram9: No label detected
      /dev/ram10: No label detected
      /dev/ram11: No label detected
      /dev/ram12: No label detected
      /dev/ram13: No label detected
      /dev/ram14: No label detected
      /dev/ram15: No label detected
      /dev/sdb2: No label detected
      /dev/sdc2: No label detected
      Locking /var/lock/lvm/V_vg-array5 RB
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
      Unlocking /var/lock/lvm/V_vg-array5
  Volume group "vg-array5" inconsistent
      Locking /var/lock/lvm/V_vg-array5 WB
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
      /dev/md2: lvm2 label detected
  Incorrect metadata area header checksum
  Incorrect metadata area header checksum
  Inconsistent metadata copies found - updating to use version 6
  Incorrect metadata area header checksum
  Automatic metadata correction failed
      Unlocking /var/lock/lvm/V_vg-array5
  Device '/dev/md2' has been left open.





More information about the linux-lvm mailing list