• # J'ai la même config :)

    Posté par . En réponse au message problème de boot raid depuis passage à Etch. Évalué à 1.

    J'ai la même config en RAID 1 soft et je suis bien avec un noyau 2.6.18 sous etch et ca fonctionne !

    J'avais également suivit la procédure de débian (il ne faut rien oublier et faire les tests mentionnés AVANT de rebooter, ce que j'avais fait).

    Maintenant, je pense que malgré le fait que tu ai rebooté et que ca ne marche pas il doit y avoir un moyen de résoudre ton problème.

    Voici ma config:

    Fichier menu.lst

    mta:/boot/grub# cat menu.lst
    default 0
    timeout 5
    color cyan/blue white/blue

    ## ## End Default Options ##

    title Debian GNU/Linux, kernel 2.6.18-4-k7
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/md0 ro
    initrd /boot/initrd.img-2.6.18-4-k7
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.6.18-4-k7 (recovery mode)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.18-4-k7 root=/dev/md0 ro single
    initrd /boot/initrd.img-2.6.18-4-k7
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.6.8-3-k7
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.8-3-k7 root=/dev/md0 ro
    initrd /boot/initrd.img-2.6.8-3-k7
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.6.8-3-k7 (recovery mode)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.8-3-k7 root=/dev/md0 ro single
    initrd /boot/initrd.img-2.6.8-3-k7
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.6.8-2-386
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/md0 ro
    initrd /boot/initrd.img-2.6.8-2-386
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.6.8-2-386 (recovery mode)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.8-2-386 root=/dev/md0 ro single
    initrd /boot/initrd.img-2.6.8-2-386
    savedefault
    boot

    ### END DEBIAN AUTOMAGIC KERNELS LIST
    --------------------------------------------------------------------------------------------------
    mta:/boot/grub# cat /proc/mdstat
    Personalities : [raid1]
    md0 : active raid1 hda2[0] hdc2[1]
    73264320 blocks [2/2] [UU]

    unused devices:
    --------------------------------------------------------------------------------------------------
    mta:/boot/grub# fdisk -l /dev/hda

    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 608 4883728+ 82 Linux swap / Solaris
    /dev/hda2 609 9729 73264432+ fd Linux raid autodetect
    --------------------------------------------------------------------------------------------------
    mta:/boot/grub# fdisk -l /dev/hdc

    Disk /dev/hdc: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 1 608 4883728+ 82 Linux swap / Solaris
    /dev/hdc2 609 9729 73264432+ fd Linux raid autodetect
    --------------------------------------------------------------------------------------------------
    mta:/boot/grub# cat /etc/mdadm/mdadm.conf
    DEVICE partitions
    ARRAY /dev/md0 level=raid1 num-devices=2 UUID=36b49972:1e72612b:f3892b2a:e5847fc2
    devices=/dev/hda2,/dev/hdc2
    MAILADDR root
    --------------------------------------------------------------------------------------------------
    mta:/boot/grub# cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>
    proc /proc proc defaults 0 0
    /dev/md0 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda1 none swap sw 0 0
    /dev/hdc1 none swap sw 0 0
    /dev/hdb /media/cdrom0 iso9660 ro,user,noauto 0 0
    --------------------------------------------------------------------------------------------------

    Je suppose que tu as lu cette page avec attention: http://svn.debian.org/wsvn/pkg-mdadm/mdadm/trunk/debian/READ(...)

    Et notament ces 3 commandes:
    /usr/share/mdadm/mkconf
    rm -f /var/lib/mdadm/CONF-UNCHECKED
    update-initramfs -u -k all

    ...