我在英特尔 S2600GZ服务器主板配有 4 个 Intel SSD。服务器主板和磁盘均支持 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 磁盘并以全速使用它们?
答案1
仔细阅读后技术规格,事实证明,Intel S2600GZ 只有两个 AHCI SATA 端口在 SATA3 模式下工作,其余 8 个端口仅为 SATA2,很遗憾。因此,回答这个问题,服务器主板实际上无法在 SATA3 模式下运行所有磁盘,这对 FreeBSD 来说不是问题。