Search This Blog

2013-07-18

Disk Information in FreeBSD

Finding out sata information in bsd


Find a list of devices:
atacontrol list

ATA channel 0:
    Master:  ad0  SATA revision 2.x
    Slave:       no device present
ATA channel 1:
    Master:      no device present
    Slave:       no device present
ATA channel 2:
    Master:      no device present
    Slave:       no device present
ATA channel 3:
    Master:      no device present
    Slave:       no device present


The following will show detailed device information regarding attached sata devices.
atacontrol cap ad0

Protocol              SATA revision 2.x
device model          C400-MTFDDAC128MAM
serial number         0000000011490323BC17
firmware revision     0009
cylinders             16383
heads                 16
sectors/track         63
lba supported         250069680 sectors
lba48 supported       250069680 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value           Vendor
write cache                    yes      yes
read ahead                     yes      yes
Native Command Queuing (NCQ)   yes       -      31/0x1F
Tagged Command Queuing (TCQ)   no       no      31/0x1F
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      yes     254/0xFE
automatic acoustic management  no       no      0/0x00  0/0x00

Upgrading firmware from .bin

atacontrol fwdownload ad0 MicronC400_0309_rel.bin

Downloading image MicronC400_0309_rel.bin  size(bytes)= 1527808 transfer_mode= 3 block_size(bytes)= 512
Firmware download successful.

No comments:

Post a Comment