"camcontrol identify ada0" and "diskinfo -v ada0" reporting
different cylinders count
Alexander Best
arundel at freebsd.org
Fri Dec 17 11:55:27 UTC 2010
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
More information about the freebsd-scsi
mailing list