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