Re: raid5 on 2.4.21 and reconstruction problem

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

 



On Wednesday August 13, arekm@pld-linux.org wrote:
> After patching 2.4.21 kernel md0 resync started as you said but now I have:
> 
> [root@perfo root]# mdadm -D /dev/md0
> /dev/md0:
>         Version : 00.90.00
>   Creation Time : Tue May  4 09:37:53 1999
>      Raid Level : raid5
>      Array Size : 9960064 (9.50 GiB 10.20 GB)
>     Device Size : 4980032 (4.75 GiB 5.10 GB)
>    Raid Devices : 3
>   Total Devices : 4
> Preferred Minor : 0
>     Persistence : Superblock is persistent
> 
>     Update Time : Wed Aug 13 12:24:12 2003
>           State : dirty, no-errors
>  Active Devices : 1
> Working Devices : -1
>  Failed Devices : 4
>   Spare Devices : 1
> 
>          Layout : left-symmetric
>      Chunk Size : 32K
> 
>     Number   Major   Minor   RaidDevice State
>        0       8        2        0      active sync   /dev/sda2
>        1       8       18        1      faulty   /dev/sdb2
>        2       0        0        2      faulty removed
>        3       8       34        3      spare   /dev/sdc2
>            UUID : c6839323:6d5bd707:731f0c8c:10e7b89b
>          Events : 0.161
> 
> I've removed sdb2 and readded it as spare. Of course that didn't
> help.

Ouch.  Looks like you had an error on /dev/sdb2.  Is there anything
about that in the logs?

> 
> I'm going to try ,,alternative method'' but I want to be sure of one thing - 
> if I recreate array with the same parameters I wont loose any data
> on it?

This is correct.  If you recreate the array with the same parameters
you won't loose data.  Be sure to only include the up-to-date drives
in the array when you first create it.  i.e. not /dev/sdc2.

NeilBrown


> 
> ps. I'm not getting your mails directly (no idea why) and read them via google 
> (that's why there is no references or in-reply-to in headers).
> 
> -- 
> Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
> arekm@sse.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux
-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux