Re: Problema RAID 1 por software
Aquí va otra directo desde www.debian.org
http://www.debian.org/releases/stable/i386/ch06s03.html.en
Saludos.
JL
2005/7/18, Sergio Villalba Moreno <svillalba@cherrytel.com>:
>
> Hola a todos/as,
>
> Estoy intentado montar un RAID 1 por software con Debian sarge, pero
> cuando quito el primer disco duro y activo solo el segundo no funciona nada.
>
> Alguien me podria dar alguna pista para que puede ser.
>
> Esto es lo que tengo:
>
> servidor:/var/log# df -h
> S.ficheros Tamaño Usado Disp Uso% Montado en
> /dev/md0 145G 462M 137G 1% /
> tmpfs 505M 0 505M 0% /dev/shm
>
> servidor:/boot/grub# cat /etc/mdadm/mdadm.conf
> DEVICE partitions
> ARRAY /dev/md0 level=raid1 num-devices=2
> UUID=07da0e3b:3ae6f5ba:bcb4699f:fb3bed47
> devices=/dev/hda1,/dev/hdb1
>
>
> Estado RAID
> servidor:/var/log# /etc/init.d/mdadm status (esta opcion la he creado yo)
> /dev/md0:
> Version : 00.90.00
> Creation Time : Fri Jul 15 18:41:48 2005
> Raid Level : raid1
> Array Size : 153533056 (146.42 GiB 157.22 GB)
> Device Size : 153533056 (146.42 GiB 157.22 GB)
> Raid Devices : 2
> Total Devices : 2
> Preferred Minor : 0
> Persistence : Superblock is persistent
> Update Time : Mon Jul 18 12:27:30 2005
> State : active
> Active Devices : 2
> Working Devices : 2
> Failed Devices : 0
> Spare Devices : 0
> UUID : 07da0e3b:3ae6f5ba:bcb4699f:fb3bed47
> Events : 0.17
> Number Major Minor RaidDevice State
> 0 3 1 0 active sync /dev/hda1
> 1 3 65 1 active sync /dev/hdb1
>
> Analizando fichero /proc/mdstat
> Personalities : [raid1]
> read_ahead 1024 sectors
> md0 : active raid1 ide/host0/bus0/target0/lun0/part1[0]
> ide/host0/bus0/target1/lun0/part1[1]
> 153533056 blocks [2/2] [UU]
>
> Particiones
> servidor:/var/log# sfdisk -f /dev/hda
> Disco /dev/hda: 19452 cilindros, 255 cabezas, 63 sectores/pista
> Unidades = cilindros de 8225280 bytes, bloques de 1024 bytes, contando
> desde 0
> Disp. Inic. Princ. Fin Nºcil Nºbloq. Id Sistema
> /dev/hda1 * 0+ 19113 19114- 153533173+ fd Linux raid autodetect
> /dev/hda2 19114 19451 338 2714985 5 Extendida
> /dev/hda3 0 - 0 0 0 Vacía
> /dev/hda4 0 - 0 0 0 Vacía
> /dev/hda5 19114+ 19451 338- 2714953+ 82 Linux swap / Solaris
>
> servidor:/var/log# sfdisk -f /dev/hdb
> Disco /dev/hdb: 19452 cilindros, 255 cabezas, 63 sectores/pista
> Disp. Inic. Princ. Fin Nºcil Nºbloq. Id Sistema
> /dev/hdb1 * 0+ 19113 19114- 153533173+ fd Linux raid autodetect
> /dev/hdb2 19114 19451 338 2714985 5 Extendida
> /dev/hdb3 0 - 0 0 0 Vacía
> /dev/hdb4 0 - 0 0 0 Vacía
> /dev/hdb5 19114+ 19451 338- 2714953+ 82 Linux swap / Solaris
>
>
> GRUB
>
> title Debian GNU/Linux, kernel 2.4.27-2-686
> root (hd0,0)
> kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/md0 ro
> initrd /boot/initrd.img-2.4.27-2-686
> savedefault
> boot
> title Debian GNU/Linux, kernel 2.4.27-2-686 (recovery mode)
> root (hd0,0)
> kernel /boot/vmlinuz-2.4.27-2-686 root=/dev/md0 ro single
> initrd /boot/initrd.img-2.4.27-2-686
> savedefault
> boot
>
>
> Gracias por todo.
> Un saludo.
>
>
--
Usa y promueve el uso de Software Libre :)
Reply to: