Find the answer to your Linux question:
Results 1 to 2 of 2
Hi folks, I have following partitions on the HD # fdisk -l Code: /dev/hda1 * 83 System (for /boot) /dev/hda2 5 Extended (as swap) /dev/hda3 83 Linux (for /root) /dev/hda4 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,814

    Partitioning and LVM


    Hi folks,

    I have following partitions on the HD

    # fdisk -l
    Code:
    /dev/hda1 * 83 System (for /boot)
    /dev/hda2     5 Extended (as swap)
    /dev/hda3   83 Linux (for /root)
    /dev/hda4   8e Linux LVM (for /home /usr /var /opt /tmp)
    Encountered following problems;

    1)
    # vgscan
    Code:
    Reading all physical volumes.  This may take a while
    Incorrect metadata area header checksum
    2)
    # vgchange -a y
    Code:
    Incorrect metadata area header checksum
    Please advise how to rectify these problems. TIA

    B.R.
    satimis

  2. #2
    Linux Guru
    Join Date
    Sep 2004
    Posts
    1,814

    Problem partially solved

    Hi folks,

    I found out the trick.

    On /etc/lvm/lvm.conf the line;
    filter = [ "a/.*/" ]

    should be replaced with;
    filter = [ "a|/dev/hda4]|", "r/.*/" ]
    (in my case)

    Previously I wrote the line as;
    filter = [ "a|/dev/hda]|", "r/.*/" ]


    Now
    # vgscan
    Code:
    Reading all physical volumes.  This may take a while...
    No volume groups found
    # vgchange -a y
    Code:
    No volume groups found
    I don't know whether this is a mistake. Because according to;
    Gentoo LVM2 installation
    http://www.gentoo.org/doc/en/lvm2.xml

    It should be no printout.

    Tks

    B.R.
    satimis

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •