Bonjour,
J'ai installé un serveur avec un raid 1 logiciel sur deux disques sata. Et j'ai deux problèmes :
- quand j'enleve un disque a chaud, le serveur aime vraiment pas. Pourtant ca doit juste simulé une panne.
- je peux pas démarrer si j'enlève un deux deux disques (je me demande si ca ne vient pas de la config de grub)
Si quelqu'un a des idées.
[root@localhost ~]# cat /proc/mdstat
Personalities : [raid1] [raid0]
md1 : active raid1 sdb1[1] sda1[0]
104320 blocks [2/2] [UU]
md0 : active raid1 sdb2[1] sda2[0]
1052160 blocks [2/2] [UU]
md2 : active raid1 sdb3[1] sda3[0]
155131584 blocks [2/2] [UU]
unused devices: <none>
[root@localhost ~]# cat /etc/fstab
/dev/md2 / ext3 defaults 1 1
/dev/md1 /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/md0 swap swap defaults 0 0
[root@localhost ~]# cat /boot/grub/menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/md2
# initrd /initrd-version.img
#boot=/dev/md1
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.18-1.2849.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2849.fc6 ro root=/dev/md2
initrd /initrd-2.6.18-1.2849.fc6.img
title Fedora Core (2.6.18-1.2798.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=/dev/md2
initrd /initrd-2.6.18-1.2798.fc6.img