我在带有 4 个 Intel SSD 的Intel S2600GZ服务器主板上运行 FreeBSD 9.2。服务器主板和磁盘都支持 SATA3。但是,FreeBSD 似乎认为它们是 SATA2。系统配置中没有任何地方限制为 SATA2 的磁盘。
这是 dmesg 的摘录:
ahci0: <Intel Patsburg AHCI SATA controller> port 0x3070-0x3077,0x3060-0x3063,0x3050-0x3057,0x3040-0x3043,0x3020-0x303f mem 0xd0d00000-0xd0d007ff irq 21 at device 31.2 on pci0
ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich5: <AHCI channel> at channel 5 on ahci0
# ...
da0 at isci0 bus 0 scbus0 target 0 lun 0
da0: <ATA INTEL SSDSC2BA20 0265> Fixed Direct Access SCSI-5 device
da0: 300.000MB/s transfers
da0: Command Queueing enabled
da0: 190782MB (390721968 512 byte sectors: 255H 63S/T 24321C)
# ... and so on for the other disks
BIOS中磁盘的相关设置为(前两个为灰色且不可更改):
AHCI Controller Configuration: 2 ports of 6Gb/s SATA
SATA/SAS Controller Configuration: 8 ports in SATA mode
AHCI Capable SATA Controller: AHCI
AHCI HDD Staggered Spin-UP: Disabled
SAS/SATA Capable Controller: Intel RSTe
顺便说一句,我正在运行 ZFS,如果它与它有关的话。
我该怎么做才能让系统了解这些是 SATA3 磁盘并全速使用它们?
仔细阅读技术规格后发现,Intel S2600GZ 的AHCI SATA 端口只有两个工作在SATA3 模式,而剩下的8 个只有SATA2,很遗憾。所以要回答这个问题,服务器主板实际上不能运行 SATA3 中的所有磁盘,这不是 FreeBSD 的问题。