Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2010 11:55:26 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-scsi@freebsd.org
Subject:   "camcontrol identify ada0" and "diskinfo -v ada0" reporting different cylinders count
Message-ID:  <20101217115526.GA20772@freebsd.org>

next in thread | raw e-mail | index | archive | help
hi there,

"diskinfo -v ada0" reports:

ada0
	512         	# sectorsize
	250058268160	# mediasize in bytes (233G)
	488395055   	# mediasize in sectors
	0           	# stripesize
	0           	# stripeoffset
	484518      	# Cylinders according to firmware.
	16          	# Heads according to firmware.
	63          	# Sectors according to firmware.
	S09QJ1GLB35451	# Disk ident.

and "camcontrol identify ada0" reports:

pass1: <SAMSUNG SP2504C VT100-50> ATA-7 SATA 2.x device
pass1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-7 SATA 2.x
device model          SAMSUNG SP2504C
firmware revision     VT100-50
serial number         S09QJ1GLB35451
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       488395055 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes	yes
write cache                    yes	yes
flush cache                    yes	yes
overlap                        no
Tagged Command Queuing (TCQ)   no	no
Native Command Queuing (NCQ)   yes		32 tags
SMART                          yes	yes
microcode download             yes	yes
security                       yes	no
power management               yes	yes
advanced power management      no	no
automatic acoustic management  yes	yes	0/0x00	254/0xFE
media status notification      no	no
power-up in Standby            no	no
write-read-verify              no	no
unload                         no	no
free-fall                      no	no
data set management (TRIM)     no


...so how many cylinders does my hdd have?

cheers.
alex

-- 
a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101217115526.GA20772>