[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pb de boot sur raid1 logiciel depuis passage à etch...



Et le module raid1 est bien chargé je suppose. Lorsque tu boot ton nouveau noyau, que donne un cat /proc/mdstat? Le fichier mdadm.conf est il conforme?

Pour vérifier la présence du module, cat /proc/modules|grep raid me donne les modules :
- md_mod
- raid0
- raid1
- raid456
- xor

Pour cat /proc/mdstat, j'obtiens :
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4]
md0 : active raid1 sda[0]
      244197440 blocks [2/1] [U_]

unused devices: <none>

Pour ce qui est de mdadm.conf, je pense qu'il est conforme puisqu'il fonctionne avec l'ancien noyau. Cependant, je peux me tromper. Voici 3 versions que j'ai testées, qui ont toutes fonctionné avec le vieux noyaux mais pas avec le nouveau...

mdadm.conf v1:
DEVICE partitions
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=551100a0:85c31a77:cc2468bf:d43cba6f
   devices=/dev/sda3,/dev/sdb3
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=827b4f5b:b4dbf29f:3eede8cd:cc70c1ca
   devices=/dev/sda1,/dev/sdb1

-----------------------------------------------

mdadm.conf v2:
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=827b4f5b:b4dbf29f:3eede8cd:cc70c1ca ARRAY /dev/md1 level=raid1 num-devices=2 UUID=551100a0:85c31a77:cc2468bf:d43cba6f
MAILADDR guillaume78fr@yahoo.fr

-----------------------------------------------

mdadm.conf v3:
DEVICE partitions
ARRAY /dev/md1 level=raid1 num-devices=2 devices=/dev/sda3,/dev/sdb3
ARRAY /dev/md0 level=raid1 num-devices=2 devices=/dev/sda1,/dev/sdb1
MAILADDR guillaume78fr@yahoo.fr


Pour info, j'ai aussi essayé en mettant les UUID dans fstab, mais j'en suis revenu car ça ne peut fonctionner qu'avec le nouveau noyau, pas avec l'ancien...


Guillaume




Reply to: