L2 Cache

Behold the power of |!

User Tools

Site Tools



List of drives that need use Advance Format (4k) but are not detected properly.

Add the following to /kernel/drv/sd.conf and execute update_drv -vf sd.

## correct 4k native sectors
# http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks
# drives:
# - Intel SSDSA2CW08
# - Intel SSDSC2CT12
# - Intel SSDSC2BW12
# - SanDisk SDSSDHP0
# - Corsair Force LS
# - WD30EFRX-68E (WD RED 3TB)
# - WD10EARS-00M (WD GREEN 1.6TB)
# - WD80EZAZ-11T (WD White 8TB - rebranded HGST)
# - QEMU Virtual Harddisk
sd-config-list =
        "ATA     INTEL SSDSA2CW08", "physical-block-size:8192",
        "ATA     INTEL SSDSC2CT12", "physical-block-size:8192",
        "ATA     INTEL SSDSC2BW12", "physical-block-size:8192",
        "ATA     INTEL SSDSC2KW24", "physical-block-size:8192",
        "ATA   	 Corsair Force LS", "physical-block-size:8192",
        "ATA     SanDisk SDSSDP06", "physical-block-size:8192",
        "ATA     SanDisk SDSSDHP0", "physical-block-size:8192",
        "ATA     WDC WD30EFRX-68E", "physical-block-size:4096",
        "ATA     WDC WD80EZAZ-11T", "physical-block-size:4096,power-condition:false",
        "ATA     WDC WD10EARS-00M", "physical-block-size:4096,power-condition:false",
        "ATA     ST2000DL003 9VT1", "physical-block-size:4096",
        "ATA     Samsung SSD 830", "physical-block-size:4096",
        "ATA     Samsung SSD 840", "physical-block-size:4096",
        "ATA     Samsung SSD 850", "physical-block-size:4096",
        "ATA     Samsung SSD 860", "physical-block-size:4096",
        "ATA     QEMU HARDDISK   ", "physical-block-size:4096,power-condition:false";

Looking up identification for your disks:

iostat -Er | grep -i vendor | sort | uniq

Verify the zpool ashift:

zdb | egrep 'ashift| name'
snipets/solaris/misc-4k-sd.conf.txt · Last modified: 2018/08/12 11:34 by sjorge