Gentoo Archives: gentoo-server

From: David Gardner <david@×××××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Asking for advices after harddisk crash.
Date: Mon, 17 Sep 2007 14:05:44
Message-Id: 46EE8701.1060800@gardnerit.net
In Reply to: Re: [gentoo-server] Asking for advices after harddisk crash. by Penghui Wang
1 Sorry it isn't that I think the problem is with one of the drives. It is
2 just that if the problem is with one of the drives then it is easier to
3 deal with. If the controller went bad, then it will be more difficult to
4 try to recover from.
5
6
7 Penghui Wang wrote:
8 > Thanks very much, David,
9 >
10 > Could you tell me why you said that the problem is one of the drivers
11 > and not the controller? In my opinion, i think the filesystem has been
12 > broken by the force online and force check operations. So i am afraid if
13 > i remove one of the disks, then the current stuation will be changed,
14 > and it would be harder to recover the filesystem.
15 >
16 > The extened partition sda4, contained two logic partitions. swap and
17 > /home. Now both of them disappeared, and there is a wrong beginning and
18 > end cylinker sda5 there.
19 >
20 > If i create the two partition manully as the very same both begining and
21 > end as before, is it helpfull. Or there are some other partition scaning
22 > program i could use?
23 >
24 > Thank very much again.
25 >
26 > Penghui Wang
27 >
28 >
29 >
30 >
31 > On 9/17/07, *David Gardner* <david@×××××××××.net
32 > <mailto:david@×××××××××.net>> wrote:
33 >
34 > Assuming that the problem is one of the drives and not the controller,
35 > you could try booting with only two of the disks online. If the Raid
36 > controller is the problem you may need another controller of the same
37 > model to re-construct the array.
38 >
39 > Penghui Wang wrote:
40 > > Hello, list,
41 > >
42 > > Recently, one of our servers has been crashed because of some
43 > harddisk
44 > > problem. In several days before, the hd speed of this server become a
45 > > little slow than usual. And yesterday, during some basic
46 > operations on
47 > > the server, such as "ls", "cp", "ifconfig". Suddenly, there
48 > appeared a
49 > > I/O error, then the server died.
50 > >
51 > > The RAID controller is:
52 > > 0000:02:03.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID
53 > > (rev 01)
54 > > And there are a RAID-5 logical disk via three 146G SCSI physical
55 > disks.
56 > >
57 > > After boot the server, we have entered the RAID controller BIOS,
58 > found
59 > > all the physical disks has been the "FAILED/OFFLINE"
60 > situation. Then we
61 > > forced the status of HD to ONLINE status.
62 > > Then we boot the system via a KNOPPIX cd, and the partition table
63 > > detected by fdisk look likes:
64 > >
65 > > root@4[root <mailto:root@4 <mailto:root@4>[root>]# fdisk -l
66 > > Warning: ignoring extra data in partition table 5
67 > > Warning: ignoring extra data in partition table 5
68 > > Warning: ignoring extra data in partition table 5
69 > > Warning: invalid flag 0xffffaa0a of partition table 5 will be
70 > corrected
71 > > by w(rite)
72 > >
73 > > Disk /dev/sda: 293.6 GB, 293628542976 bytes
74 > > 255 heads, 63 sectors/track, 35698 cylinders
75 > > Units = cylinders of 16065 * 512 = 8225280 bytes
76 > >
77 > > Device Boot Start End Blocks Id System
78 > > /dev/sda1 * 1 13 104391 83 Linux
79 > > /dev/sda2 14 650 5116702+ 83 Linux
80 > > /dev/sda3 651 1287 5116702+ 83 Linux
81 > > /dev/sda4 1288 35698 276406357+ 5 Extended
82 > > /dev/sda5 ? 1675 2071 3177836+ dd Unknown
83 > >
84 > > In fact, there should be sda5 and sda6, i guess cylinder 1289-1675
85 > > should be the sda5 - swap partition. And the rest should be the
86 > sda6.
87 > >
88 > > The first three partitions could mounted successfully, and sda
89 > contained
90 > > NO data which should be the boot partition. But sda2 and sda3 which
91 > > should be root partition and /var partition contained NO data
92 > too, but
93 > > there are so many files in the folder "lost+found".
94 > >
95 > > We have used GUI parted, parted, testdisk, gpart and some other disk
96 > > detect tools to the scan the disk and try to find out the correct
97 > > partition tables, but no results.
98 > >
99 > > So i post this problem here to ask for some advices.
100 > > Could someone pick me up?
101 > >
102 > > Thanks in advance.
103 > >
104 > > Penghui Wang.
105 > > --
106 > > Wang Penghui
107 > > http://www.extmail.org
108 > > http://www.postfix.org.cn
109 >
110 >
111 > --
112 > David Gardner
113 > --
114 > gentoo-server@g.o <mailto:gentoo-server@g.o> mailing list
115 >
116 >
117 >
118 >
119 > --
120 > Wang Penghui
121 > http://www.extmail.org
122 > http://www.postfix.org.cn <http://www.postfix.org.cn>
123
124
125 --
126 David Gardner
127 --
128 gentoo-server@g.o mailing list