All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Clausen <alex@gc-web.de>
To: linux-ide@vger.kernel.org
Subject: 4k sector size and WD20EARS
Date: Thu, 08 Apr 2010 16:20:16 +0200	[thread overview]
Message-ID: <4BBDE620.3040601@gc-web.de> (raw)

Hi,
i just bought some WD20EARS harddisk. They are supposed to have 4k physical sector size, right?
My system seems to think they are not:

alex@hal:/sys/block/sdb/queue$ cat logical_block_size physical_block_size
512
512
alex@hal:/sys/block/sdb/queue$


alex@hal:~$ uname -a
Linux hal 2.6.33.2 #1 SMP PREEMPT Sun Apr 4 20:52:14 CEST 2010 x86_64 GNU/Linux
alex@hal:~$

from dmesg:

scsi 1:0:0:0: Direct-Access     ATA      WDC WD20EARS-00S 80.0 PQ: 0 ANSI: 5
sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)

so, who is right?

The current partition table looks like:

alex@hal:~$ sudo cfdisk -P s /dev/sdb
Partition Table for /dev/sdb

                First       Last
  # Type       Sector      Sector   Offset    Length   Filesystem Type (ID) Flag
-- ------- ----------- ----------- ------ ----------- -------------------- ----
  1 Primary           0  3907024064     63  3907024065 Linux (83)           None
alex@hal:~$

is that okay for 4k sector size?

Alexander

             reply	other threads:[~2010-04-08 14:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-08 14:20 Alexander Clausen [this message]
2010-04-08 16:02 ` 4k sector size and WD20EARS Martin K. Petersen
2010-04-08 16:12   ` Mikael Abrahamsson
2010-04-08 16:33     ` Martin K. Petersen
2010-04-08 17:00       ` Mikael Abrahamsson
2010-04-08 18:56         ` Martin K. Petersen
2010-04-08 17:04   ` Alexander Clausen
2010-04-09  2:14     ` Martin K. Petersen
2010-04-12 12:34       ` Karel Zak

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=4BBDE620.3040601@gc-web.de \
    --to=alex@gc-web.de \
    --cc=linux-ide@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.