查看磁盘详细信息

来自艾毕思知识库
跳转至: 导航搜索


FreeBSD或FreeNAS上使用下面的命令可以显示硬盘的详细信息,包括型号、固件版本、序列号、磁头、磁盘功能等内容。

# camcontrol identify ada0

输出类似:

pass0: <HGST HUS724040ALA640 MFAOAA70> ATA-8 SATA 3.x device
pass0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)

protocol              ATA/ATAPI-8 SATA 3.x
device model          HGST HUS724040ALA640
firmware revision     MFAOAA70
serial number         PN0000XXXXXXX
WWN                   5000xxxxxxxxxxxx
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 512, offset 0
LBA supported         268435455 sectors
LBA48 supported       7814037168 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6 
media RPM             7200

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      yes	no	0/0x00
automatic acoustic management  no	no
media status notification      no	no
power-up in Standby            yes	no
write-read-verify              no	no
unload                         no	no
free-fall                      no	no
data set management (TRIM)     no

方便系统管理使用。


⚠ FreeNAS基于FreeBSD系统