Stefan G. Weichinger <li...@xunil.at> [11-01-17 20:04]:
> 
> Would someone help me out on this issue?
> 
> I have a flaky disk in a server, and dmesg says:
> 
> end_request: I/O error, dev sdb, sector 1835240116
> 
> Now i have this layout:
> 
> # fdisk -l /dev/sdb
> 
> Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
> 
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sdb1               1          13      104391   fd  Linux raid
> autodetect
> /dev/sdb2              14          50      297202+  82  Linux swap / Solaris
> /dev/sdb3              51        2483    19543072+  fd  Linux raid
> autodetect
> /dev/sdb4            2484      121601   956815335    5  Extended
> /dev/sdb5            2484      106917   838866073+  8e  Linux LVM
> /dev/sdb6          106918      121601   117949198+  fd  Linux raid
> autodetect
> 
> 
> My question (apart from the fact that I evacuate all on that
> non-raid-LVM-partition right now!):
> 
> In which partition is that "sector 1835240116" ?
> 
> Sorry for this maybe stupid question ...
> 
> Thanks, Stefan
> 

Hi Stefan,

small shot into the deep dark.... :

:)

As far as I know, you can switch fdisk to display either to
diplay units in  cylinders or in sectors.


    Usage:
    fdisk [options] <disk>    change partition table
    fdisk [options] -l <disk> list partition table(s)
    fdisk -s <partition>      give partition size(s) in blocks

    Options:
    -b <size>             sector size (512, 1024, 2048 or 4096)
    -c[=<mode>]           compatible mode: 'dos' or 'nondos' (default)
    -h                    print this help text
    -u[=<unit>]           display units: 'cylinders' or 'sectors' (default)
    -v                    print program version
    -C <number>           specify the number of cylinders
    -H <number>           specify the number of heads
    -S <number>           specify the number of sectors per track


When switched to display sector units it is only a matter of counting
to find the partition in question I would guess...

Good luck!

Best regards,
mcc


Reply via email to