On Tue, Feb 9, 2010 at 4:31 PM, Iain Buchanan <[email protected]> wrote:
> On Tue, 2010-02-09 at 14:54 -0800, Mark Knecht wrote:
>> On Tue, Feb 9, 2010 at 1:13 PM, Frank Steinmetzger <[email protected]> wrote:
>
>
>> > When I use parted on the drives, it says (both the old external and my 2
>> > months old internal):
>> > Sector size (logical/physical): 512B/512B
>> > So no speedup for me then. :-/
>
> so does mine :)
>
>> Frank,
>> As best I can tell so far none of the Linux tools will tell you
>> that the sectors are 4K. I had to go to the WD web site and find the
>> actual drive specs to discover that was true.
>
> however if you use dmesg:
> $ dmesg | grep ata
> ata1: SATA max UDMA/133 irq_stat 0x00400040, connection status changed
> irq 17
> ata2: DUMMY
> ata3: SATA max UDMA/133 abar m2...@0xf6ffb800 port 0xf6ffba00 irq 17
> ioatdma: Intel(R) QuickData Technology Driver 4.00
> ata3: SATA link down (SStatus 0 SControl 300)
> ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> ata1.00: ATA-7: ST9160823ASG, 3.ADD, max UDMA/133
> ata1.00: 312581808 sectors, multi 8: LBA48 NCQ (depth 31/32)
> ...
>
> you can look up your drive model number (in my case ST9160823ASG) and
> find out the details. (That's a Seagate Momentus 160Gb with actual 512
> byte sectors).
>
> saves having to open up your laptop / pc if you didn't order the drive
> separately or you've forgotten.
> --
> Iain Buchanan <iaindb at netspace dot net dot au>
>
> polygon:
> Dead parrot.
>
>
>
Consider as an alternative "hdparm dash capital eye". Note that is the
1TB drive and it still suggests 512B Logical/Physical sector size so
I'd still have to go find out for sure but there's lots of easily
readable info there to make it reasonably easy.
- Mark
gandalf ~ # hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: WDC WD10EARS-00Y5B1
Serial Number: WD-WCAV55464493
Firmware Revision: 80.00A80
Transport: Serial, SATA 1.0a, SATA II Extensions, SATA Rev
2.5, SATA Rev 2.6
Standards:
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 1953525168
Logical/Physical Sector size: 512 bytes
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
cache/buffer size = unknown
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 128
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* Automatic Acoustic Management feature set
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* NCQ priority information
* DMA Setup Auto-Activate optimization
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
unknown 206[12] (vendor specific)
unknown 206[13] (vendor specific)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
200min for SECURITY ERASE UNIT. 200min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 50014ee2ae6b5ffe
NAA : 5
IEEE OUI : 0014ee
Unique ID : 2ae6b5ffe
Checksum: correct
gandalf ~ #