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

Re: RAID Failure



hi ya rus



On Sun, 9 Nov 2003, Rus Foster wrote:

> Hi,
> Can peeps tell me why the following is happening.
> 
> /etc/raittab
> 
> raiddev             /dev/md0
> raid-level                  1
> nr-raid-disks               2
> chunk-size                  64k
> persistent-superblock       1
> nr-spare-disks              0
>     device          /dev/hda3
>     raid-disk     0
>     device          /dev/hdc3
>     raid-disk     1
>     failed-disk     1

why do you mark your disk as failed ??
 
> raiddev             /dev/md1
> raid-level                  1
> nr-raid-disks               2
> chunk-size                  64k
> persistent-superblock       1
> nr-spare-disks              0
>     device          /dev/hda1
>     raid-disk     0
>     device          /dev/hdc1
>     raid-disk     1
>     failed-disk     1
> 

ditto .. why do you mark your disk as failed ??
 
> I've failed /dev/hdc basically.

why ???

pull out hdc ... you have a definite dead drive
adn see if the system still works with your hda drive
sicne its supposed to be mirrored
 
> However
> 
> \-> cat /proc/mdstat
> Personalities : [raid1]
> read_ahead 1024 sectors
> md1 : active raid1 hdc1[1] hda1[0]
>       305088 blocks [2/2] [UU]
>         resync=DELAYED
> md0 : active raid1 hdc3[1] hda3[0]
>       194000832 blocks [2/2] [UU]
>       [>....................]  resync =  1.9% (3862080/194000832)
> finish=82.4min speed=38421K/sec
> unused devices: <none>
> 
> Why is the array rebuilding?

because you told it to use raid1 mirror  and it thinks 
it needs to resync both disks .. and itshould take
about 82.4 min to finish resyncing the data

consider yourself lucky.... its working

dont write any data to your disks ... while its resyncing


c ya
alvin



Reply to: