LVM volume group not found (debian lenny)

921

I think I see what the problem is. It appears that your acm_root Volume Group sits on the second RAID array, which is having trouble starting due to this error:

madam: /dev/md0 has been started with 2 drives.
madam:  WARNING  /dev/sdb10 and /dev/sda10 appear to have similar superblocks.

     - if they are really different, please --zero the superblock on one
     - if they are the same, or overlap,\please remove one from the DEVICE list in mdadm.conf.

To fix this, boot into rescue mode once again, and run the following (as suggested):

mdadm --zero-superblock /dev/sda10

Then try booting again. Hope this helps.

Share:
921

Related videos on Youtube

sabs6488
Author by

sabs6488

Updated on September 17, 2022

Comments

  • sabs6488
    sabs6488 almost 2 years

    I am trying to compile a program in Cygwin and it requires shadow.h in one of the source files, which is missing in the /usr/include path. How do I add shadow support in Cygwin ? any packages to install ?

    In CentOS, just installing gcc and glibc provided the shadow.h header file. what are the equivalent packages that I need to install in Cygwin ?

    • Harried Shein
      Harried Shein almost 14 years
      What does pvdisplay show you? Also, did you create your volume groups on top of your RAID device?
    • CppLearner
      CppLearner almost 14 years
      hi vmfarms, thank you for your kind help. i edited the post with pvdisplay....
    • Harried Shein
      Harried Shein almost 14 years
      Could you also provide the output of: fdisk -l This will help determine how the partition layout looks like.
    • CppLearner
      CppLearner almost 14 years
      hi vmfarms, thank you. i provided them already. i gave you fdisk -l and root (hd0, tab
  • CppLearner
    CppLearner almost 14 years
    hi vmfarms. it works! may i ask how should i install the system in the future, if you just have a little more time? thank you!
  • Harried Shein
    Harried Shein almost 14 years
    I've looked at the video you sent, and it seems pretty straightforward. It may have been caused by the fact that you have both a Windows and Linux partition on the same drive, and the instructions only account for Linux. In the future to make things easier, I would put Windows on a separate drive entirely. Good Luck!
  • sabs6488
    sabs6488 about 11 years
    Is there a workaround for these portability problems for cygwin ? I am using autoconf and make to compile the project.
  • Dayal rai
    Dayal rai about 11 years
    @sabs6488 i do not have any idea about it.Any workaround will call /usr/lib/shadow and there it won't get support from Gnulib on cygwin for shadow.
  • sabs6488
    sabs6488 about 11 years
    Thanks for the quick help.. Will look for more details.