Thread (1 message) 1 message, 1 author, 2006-01-05
  • (off-list ancestor, not in this archive)
  • Re: corrupt raid 5 · Lorac Thelmwood <hidden> · 2006-01-05

Re: corrupt raid 5

From: Lorac Thelmwood <hidden>
Date: 2006-01-05 06:14:18

On 1/4/06, Lorac Thelmwood [off-list ref] wrote:
failed to RUN_ARRAY /dev/md1: Invalid argument


I don't think it will start even whe the reconstruction is complete to
due to that bad superblock

On 1/4/06, John Stoffel [off-list ref] wrote:
quoted
quoted
quoted
quoted
quoted
quoted
"Lorac" == Lorac Thelmwood [off-list ref] writes:
Lorac> First I can't start the array because it complains about a bad
Lorac> superblock.

Have you tried forcing the start of the array with the --force flag?
Something like this:

        mdadm -A --run /dev/md1

Please give the output of the command.

Lorac> What's the output of 'cat /proc/mdstat' and 'mdadm
quoted
quoted
--detail /dev/md?' where ? is the number of your raid 5 array?
Lorac> debian:~# cat /proc/mdstat
Lorac> Personalities : [raid1] [raid5]
Lorac> md1 : inactive hdh1[4] hdc1[0] hdg1[3] hdf1[2] hde1[1]
Lorac>       976791680 blocks

This is the key info, the array is assembled, but it hasn't been
started properly, probably because of the missing disk.  Try the --run
args as above and see what it does for you.

See how it says 'inactive', this means you need to get it running
first.

Good luck,
John
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help