找不到LVM卷组(debian lenny)

早些时候我用一种帮助解决了这个问题:) 在Debian上的软件RAID 1 – GRUB光标闪烁

我可以看到菜单,可以再次进入我的XP。 但是,我收到了Debian的错误。

这是selectDebian后发生的事情(从屏幕上,字面上…)

Booting 'Debian GNU........ 2.6.26-2-686' root (hd0,6) Filesystem type is reiserfs, partition type 0xfd kernel /vmlinuz-2.6.26-2.686 root=/dev/mapper/acm_main-root ro quiet [Linux-bzImage, setup=0x3000, size=0x16ce500] initrd /initrd.img-2.6.26-2.686 [Linux-initrd @ 0x,....... meaningless here] Decompressing Linux.... Parising ELF.... done. Booting the kernel. [0.244015] PCI: Not using MMCONFIG. Loading, please wait.... [2.201657] hub 1-:0:1.0: unable to enumerate USB device on port2 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. Volume group "acm_main" not found. .... After a while.... Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - check rootdelay - check root (did the system wait for the right device?) - Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/mapper/acm_main-root does not exist. Dropping to a shell! 

这是否表示出现了问题? 我应该重新安装吗?

我尝试了救援CD,并使用vgscan -v,我只发现了acm_tmp,而不是acm_main。 我有两个卷组:acm_tmp和acm_main,其中main具有逻辑组:/,/ home,/ usr,/ var和tmp具有/ tmp。 交换在外面

谢谢。


编辑的 pvdisplay

 ---Physical Volume --- PV Name: /dev/sda9 VG Name acm_tmp PV Size 3.26GB / not usable 0 Allocatable yes but full PE Size 4096 Total PE 835 Free Pe 0 Allocated PE 835 PV UUID IRGLc1-nUu4-Ckjc0Htf5.... I will stop here ---Physical Volume --- PV Name: /dev/sdb9 VG Name: acm_tmp .... and the rest are pretty much the same except of course different UUID... 

我翻了一番。 这就是我从屏幕上得到的一切。

您是否在RAID设备上创build了卷组?

我怎么知道我做的? 对不起。 我其实跟着那个video 这似乎是http://www.youtube.com/watch?v=rMyfljiCz3A


fdisk -l(我会跳过开始,结束和块)

 Disk /dev/sdb: 500.1 GB 255 heads, 63 sectors/track, 60801 cylinders Device Boot ..skip.. Id System /dev/sdb1 * 7 HPFS/NTFS /dev/sdb2 f W95 Ext'd (LBA) /dev/sdb5 7 HPFS/NTFS /dev/sdb6 7 HPFS/NTFS /dev/sdb7 * fd Linux raid autodetect /dev/sdb8 82 Linux swap / Solaris /dev/sdb9 8e Linux LVM /dev/sdb10 fd Linux raid autodetect 

另外,我们上次解决的问题….我有分区号为6的reiserfs,分区types0xfd它看起来非常符合上述

 possible partitions are partition num: 0, Filesystem type unknown, type 0x7 num 4: same as num0 num 5: same as num0 num 6: reiserfs num 7: filesystem unknown, type 0x82 num 8: type 0x8e num 9: 0xfd 

我想我明白了问题所在。 看起来你的acm_root卷组位于第二个RAIDarrays,由于这个错误,启动有问题:

 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. 

要解决这个问题,请再次启动到救援模式,然后运行以下命令(如所示):

 mdadm --zero-superblock /dev/sda10 

然后再次尝试启动。 希望这可以帮助。