public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: meino.cramer@gmx.de
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] disk error, where?
Date: Mon, 17 Jan 2011 20:15:11 +0100	[thread overview]
Message-ID: <20110117191511.GL5748@solfire> (raw)
In-Reply-To: <4D3491AD.2000101@xunil.at>

Stefan G. Weichinger <lists@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	other threads:[~2011-01-17 19:18 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4D3491AD.2000101@xunil.at>
2011-01-17 19:15 ` meino.cramer [this message]
2011-01-17 19:38   ` [gentoo-user] disk error, where? Stefan G. Weichinger
2011-01-17 19:56     ` meino.cramer
2011-01-17 20:15     ` Mark Knecht
2011-01-17 20:42       ` Stefan G. Weichinger
2011-01-17 20:13 ` Alex Schuster
2011-01-17 20:46   ` Stefan G. Weichinger
2011-01-17 20:52     ` Volker Armin Hemmann
2011-01-17 20:47 ` Volker Armin Hemmann
2011-01-17 23:06   ` Stefan G. Weichinger
2011-01-18  9:31     ` Stefan G. Weichinger
2011-01-18  9:45       ` Stefan G. Weichinger
2011-01-18 15:30         ` Volker Armin Hemmann
2011-01-18 21:44           ` Stefan G. Weichinger
2011-01-19 17:14             ` Volker Armin Hemmann
2011-01-19 22:09               ` Stefan G. Weichinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110117191511.GL5748@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox