Gentoo Archives: gentoo-server

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

Replies

Subject Author
Re: [gentoo-server] Asking for advices after harddisk crash. Randy Barlow <randy@×××××××××××××××××.com>
Re: [gentoo-server] Asking for advices after harddisk crash. David Gardner <david@×××××××××.net>