1 |
Am 2011-01-17 21:47, schrieb Volker Armin Hemmann: |
2 |
> On Monday 17 January 2011 19:59:57 Stefan G. Weichinger wrote: |
3 |
>> Would someone help me out on this issue? |
4 |
>> |
5 |
>> I have a flaky disk in a server, and dmesg says: |
6 |
>> |
7 |
>> end_request: I/O error, dev sdb, sector 1835240116 |
8 |
>> |
9 |
>> Now i have this layout: |
10 |
>> |
11 |
>> # fdisk -l /dev/sdb |
12 |
>> |
13 |
>> Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes |
14 |
>> 255 heads, 63 sectors/track, 121601 cylinders |
15 |
>> Units = cylinders of 16065 * 512 = 8225280 bytes |
16 |
>> Sector size (logical/physical): 512 bytes / 512 bytes |
17 |
>> I/O size (minimum/optimal): 512 bytes / 512 bytes |
18 |
>> Disk identifier: 0x00000000 |
19 |
>> |
20 |
>> Device Boot Start End Blocks Id System |
21 |
>> /dev/sdb1 1 13 104391 fd Linux raid |
22 |
>> autodetect |
23 |
>> /dev/sdb2 14 50 297202+ 82 Linux swap / Solaris |
24 |
>> /dev/sdb3 51 2483 19543072+ fd Linux raid |
25 |
>> autodetect |
26 |
>> /dev/sdb4 2484 121601 956815335 5 Extended |
27 |
>> /dev/sdb5 2484 106917 838866073+ 8e Linux LVM |
28 |
>> /dev/sdb6 106918 121601 117949198+ fd Linux raid |
29 |
>> autodetect |
30 |
>> |
31 |
>> |
32 |
>> My question (apart from the fact that I evacuate all on that |
33 |
>> non-raid-LVM-partition right now!): |
34 |
>> |
35 |
>> In which partition is that "sector 1835240116" ? |
36 |
>> |
37 |
>> Sorry for this maybe stupid question ... |
38 |
>> |
39 |
>> Thanks, Stefan |
40 |
> |
41 |
> man debugfs: |
42 |
> |
43 |
> bmap filespec logical_block |
44 |
> Print the physical block number corresponding to the logical |
45 |
> block number logical_block |
46 |
> in the inode filespec. |
47 |
> |
48 |
> icheck block ... |
49 |
> Print a listing of the inodes which use the one or more blocks |
50 |
> specified on the command |
51 |
> line. |
52 |
> |
53 |
> ncheck inode_num ... |
54 |
> Take the requested list of inode numbers, and print a |
55 |
> listing of pathnames to those |
56 |
> inodes. |
57 |
> |
58 |
> |
59 |
> if you are using extX- |
60 |
|
61 |
thanks .... I also found this one: |
62 |
|
63 |
http://smartmontools.sourceforge.net/badblockhowto.html |
64 |
|
65 |
looks also worth reading .... |
66 |
|
67 |
Stefan |