It looks like your hda died.  Those hda: errors in the log aren't
good.  Back up your data, shutdown (nicely), and then replace hda with
another drive of the same parition sizes (or bigger?).  Maybe you can
still use fdisk to display the partitioning of hda if you don't know?

After you have a new hda installed, you can add them back in:

raidhotadd /dev/md0 /dev/hda1
raidhotadd /dev/md1 /dev/hda6

You should see those underlines turn into 'U's, and a reconstruction
percentage and ETA when you look at /proc/mdstat.

Don't panic!  It looks like the raid is doing it's job, or else you
wouldn't be able to log in and see logs and stuff. :')


Phil


On Sun, May 07, 2000 at 06:26:22PM +0200, octave klaba wrote:
> Hi,
> PIII600-256RAM-2X18Go running in RAID-1 
> it makes 200-210Go/day
> 
> Something arrived to hda:
> ----------------
> Personalities : [raid1] 
> read_ahead 1024 sectors
> md0 : active raid1 hdc1[1] hda1[0](F) 2048128 blocks [2/1] [_U]
> md1 : active raid1 hdc6[1] hda6[0](F) 15430336 blocks [2/1] [_U]
> unused devices: <none>
> ----------------
> 
> Questions:
> - how can I see if hda is died or just it is an another error ?
> - what should I do ? reboot ? shutdown ? change hd right now ?
> wait ? help help ...
> 
> Octave
> 
> dmesg gives:
> ----------------
> Complete Error }
> hda: write_intr: error=0x10 { SectorIdNotFound }, LBAsect=1009255, sector=1009199
> hda: write_intr error1: nr_sectors=1, stat=0x51
> [...]
> hda: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
> hda: read_intr: error=0x40 { UncorrectableError }, LBAsect=786599, sector=786536
> end_request: I/O error, dev 03:01 (hda), sector 786536
> raid1: Disk failure on hda1, disabling device. 
>        Operation continuing on 1 devices
> raid1: md0: rescheduling block 98317
> md: recovery thread got woken up ...
> md0: no spare disk to reconstruct array! -- continuing in degraded mode
> md1: no spare disk to reconstruct array! -- continuing in degraded mode
> md: recovery thread finished ...
> dirty sb detected, updating.
> md: updating md0 RAID superblock on device
> hdc1 [events: 00000015](write) hdc1's sb offset: 2048128
> (skipping faulty hda1 )
> .
> raid1: md0: redirecting sector 98317 to another mirror
> eth0: Transmit error, Tx status register 82.
> trying to hot-add hda6 to md1 ... 
> trying to hot-add hda1 to md0 ... 
> trying to hot-add hdc6 to md1 ... 
> 
> ----------------
> 
> raidtab
> ----------------
> raiddev             /dev/md0
> 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
> raiddev             /dev/md1
> raid-level                  1
> nr-raid-disks               2
> chunk-size                  64k
> persistent-superblock       1
> #nr-spare-disks     0
>     device          /dev/hda6
>     raid-disk     0
>     device          /dev/hdc6
>     raid-disk     1
> ----------------
> 
> 
> 
> 
> 
> 
> Amicalement,
> oCtAvE 
> 
> Connexion terminée par expiration du délai d'attente

-- 
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [EMAIL PROTECTED] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A

Reply via email to