Gentoo Archives: gentoo-user

From: Mike Diehl <mdiehl@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem with RAID1
Date: Thu, 19 Apr 2012 18:22:20
Message-Id: 201204191220.51138.mdiehl@diehlnet.com
1 I just tried to issue a few commands to a new server and received I/O errors:
2
3 # ls -la
4 bash: /bin/ls: Input/output error
5
6 So, I checked out /proc/mdadm and saw that one of my drives seems to have
7 failed:
8
9 Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
10 md1 : active raid1 sdb1[1] sda1[0]
11 112320 blocks [2/2] [UU]
12
13 md3 : active raid1 sdb3[2](F) sda3[0]
14 308255104 blocks [2/1] [U_]
15
16 My question is, "which one?" Usually I get a [UU] on a good RAID, and an _
17 for the failed drive. That would indicate that sda3 has failed. However,
18 sdb3 is marked with an (F), which I've never seen before.
19
20 Which drive should I replace?
21
22 Also, why did I get an I/O error? Shouldn't my RAID have just failed over
23 silently?
24
25 Last point of information is this from /var/log/messages:
26
27 Oct 30 07:02:12 voice21 klogd: ata1: soft resetting link
28 Oct 30 07:02:12 voice21 klogd: ata1.00: configured for UDMA/100
29 Oct 30 07:02:12 voice21 klogd: ata1.01: configured for UDMA/100
30 Oct 30 07:02:12 voice21 klogd: ata1.00: retrying FLUSH 0xea Emask 0x4
31 Oct 30 07:02:12 voice21 klogd: ata1.00: device reported invalid CHS sector 0
32 Oct 30 07:02:12 voice21 klogd: ata1: EH complete
33
34 Thanks in advance.
35
36 --
37
38 Take care and have fun,
39 Mike Diehl.

Replies

Subject Author
Re: [gentoo-user] Problem with RAID1 Jarry <mr.jarry@×××××.com>
Re: [gentoo-user] Problem with RAID1 Michael Orlitzky <michael@××××××××.com>