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

[Fwd: Re: problema con software RAID]



-------- Original Message --------
Subject: Re: problema con software RAID
From: <jrodriguez@ripense.net>
Date: Mon, September 27, 2004 12:39 pm
To: <alexis.roda@urv.es>

Hola Alexis, ¿que versión de kernel tienes?

Hay un parche para el LVM

Un Saludo,

Julio Rodríguez
> Hola a todos,
> estoy intentando configurar un woody para montar dos discos IDE en RAID
>  1 y tengo un problema.
>
> He seguido el software-RAID-howto (la receta "Converting a non-RAID
> RedHat System to run on Software RAID" adaptada a debian) y el sistema
> arranca. Mi problema es con una "particion" en concreto (/dev/md5 =
> /dev/hda7 + /dev/hdc7), al ejecutar el e2fsck sobre /dev/md5 para
> corregir el tamaño me salen errores "Error reading block xxxxxx
> (Invalid  argument) while doing inode scan":
>
> e2fsck -f /dev/md5
> e2fsck 1.27 (8-Mar-2002)
> The filesystem size (according to the superblock) is 7897947 blocks The
> physical size of the device is 7895760 blocks
> Either the superblock or the partition table is likely to be corrupt!
> Abort<y>? no
>
> Pass 1: Checking inodes, blocks, and sizes
> Error reading block 7897093 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897094 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897095 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897096 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897097 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897098 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897099 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897100 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897101 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error writing block 7897093 (Invalid argument) while doing inode scan.
> Ignore error<y>? yes
>
> Error reading block 7897102 (Invalid argument) while doing inode scan.
> Ignore error<y>?
>
> y asi sigue un buen rato.
>
> He pasado un e2fsck -c -f -v en hda7 y hdc7 y no han informado sobre
> ningun sector defectuoso. Los discos son nuevos, pero nunca se sabe ...
>
> Por si acaso tambien he forzado a que el tamaño de las particiones sea
> identico con un sfdisk -d /dev/hda | sfdisk --force /dev/hdc.
>
> * Version del nucleo: 2.4.27
> * Tablas de particiones:
>
> /dev/hda
>
> Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
> Units = cylinders of 16065 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1             1       373   2996091   fd  Linux raid autodetect
> /dev/hda2           374       435    498015   82  Linux swap
> /dev/hda3           436       559    996030   fd  Linux raid autodetect
> /dev/hda4           560      4865  34587945    5  Extended
> /dev/hda5           560       808   2000061   fd  Linux raid autodetect
> /dev/hda6           809       932    995998+  fd  Linux raid autodetect
> /dev/hda7           933      4865  31591791   fd  Linux raid autodetect
>
> /dev/hdc
>
> Disk /dev/hdc: 16 heads, 63 sectors, 77545 cylinders
> Units = cylinders of 1008 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hdc1             1      5945   2996091   fd  Linux raid autodetect
> /dev/hdc2          5945      6933    498015   82  Linux swap
> /dev/hdc3          6933      8910    996030   fd  Linux raid autodetect
> /dev/hdc4          8910     77536  34587945    5  Extended
> /dev/hdc5          8910     12878   2000061   fd  Linux raid autodetect
> /dev/hdc6         12878     14854    995998+  fd  Linux raid autodetect
> /dev/hdc7         14854     77536  31591791   fd  Linux raid autodetect
>
> * /proc/mdstat
> Personalities : [linear] [raid0] [raid1] [raid5] [multipath]
> read_ahead 1024 sectors
> md1 : active raid1 hda2[0]
>       497920 blocks [2/1] [U_]
>
> md0 : active raid1 hdc1[1] hda1[0]
>       2995968 blocks [2/2] [UU]
>
> md2 : active raid1 hdc3[1] hda3[0]
>       995904 blocks [2/2] [UU]
>
> md3 : active raid1 hdc5[1] hda5[0]
>       1999744 blocks [2/2] [UU]
>
> md4 : active raid1 hdc6[1] hda6[0]
>       995904 blocks [2/2] [UU]
>
> md5 : active raid1 hdc7[1] hda7[0]
>       31583040 blocks [2/2] [UU]
>
> unused devices: <none>
>
> * Salida de hdparm -I para los dos discos
>
> /dev/hda:
>
> non-removable ATA device, with non-removable media
> 	Model Number:		WDC WD400BB-60DGA0
> 	Serial Number:		WD-WCADK4955524
> 	Firmware Revision:	05.03E05
> Standards:
> 	Supported: 1 2 3 4 5
> 	Likely used: 5
> Configuration:
> 	Logical		max	current
> 	cylinders	16383	4047
> 	heads		16	16
> 	sectors/track	63	255
> 	bytes/track:	57600		(obsolete)
> 	bytes/sector:	600		(obsolete)
> 	current sector capacity: 16511760
> 	LBA user addressable sectors = 78165360
> Capabilities:
> 	LBA, IORDY(can be disabled)
> 	Buffer size: 2048.0kB	ECC bytes: 40	Queue depth: 1
> 	Standby timer values: spec'd by standard, with device specific minimum
> 	r/w multiple sector transfer: Max = 16	Current = 16
> 	DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> 	     Cycle time: min=120ns recommended=120ns
> 	PIO: pio0 pio1 pio2 pio3 pio4
> 	     Cycle time: no flow control=120ns  IORDY flow control=120ns
> Commands/features:
> 	Enabled	Supported:
> 	   *	READ BUFFER cmd
> 	   *	WRITE BUFFER cmd
> 	   *	Host Protected Area feature set
> 	   *	look-ahead
> 	   *	write cache
> 	   *	Power Management feature set
> 	   *	SMART feature set
> 		SET MAX security extension
> 	   *	DOWNLOAD MICROCODE cmd
> HW reset results:
> 	CBLID- above Vih
> 	Device num = 0 determined by the jumper
> Checksum: correct
>
>
> /dev/hdc:
>
> non-removable ATA device, with non-removable media
> 	Model Number:		WDC WD400BB-60DGA0
> 	Serial Number:		WD-WCADK4811741
> 	Firmware Revision:	05.03E05
> Standards:
> 	Supported: 1 2 3 4 5
> 	Likely used: 5
> Configuration:
> 	Logical		max	current
> 	cylinders	16383	4047
> 	heads		16	16
> 	sectors/track	63	255
> 	bytes/track:	57600		(obsolete)
> 	bytes/sector:	600		(obsolete)
> 	current sector capacity: 16511760
> 	LBA user addressable sectors = 78165360
> Capabilities:
> 	LBA, IORDY(can be disabled)
> 	Buffer size: 2048.0kB	ECC bytes: 40	Queue depth: 1
> 	Standby timer values: spec'd by standard, with device specific minimum
> 	r/w multiple sector transfer: Max = 16	Current = 16
> 	DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
> 	     Cycle time: min=120ns recommended=120ns
> 	PIO: pio0 pio1 pio2 pio3 pio4
> 	     Cycle time: no flow control=120ns  IORDY flow control=120ns
> Commands/features:
> 	Enabled	Supported:
> 	   *	READ BUFFER cmd
> 	   *	WRITE BUFFER cmd
> 	   *	Host Protected Area feature set
> 	   *	look-ahead
> 	   *	write cache
> 	   *	Power Management feature set
> 	   *	SMART feature set
> 		SET MAX security extension
> 	   *	DOWNLOAD MICROCODE cmd
> HW reset results:
> 	CBLID- below Vih
> 	Device num = 0 determined by the jumper
> Checksum: correct
>
> --
>                                    ////
>                                   (@ @)
> ----------------------------oOO----(_)----OOo--------------------------
> <>               Ojo por ojo y el mundo acabara ciego
> /\ Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
> -----------------------------------------------------------------------
>
>
> --
> To UNSUBSCRIBE, email to debian-user-spanish-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org





Reply to: