To disable hardware accelerated init a.k.a. WRITESAME or vendor specific SCSI command 0xFE use this ESXCLI command:
esxcli system settings advanced set --int-value 0 --option /DataMover/HardwareAcceleratedInit
Note: This option is effective immediately and does not need any reboot or mount/unmount of volumes.
This is a list of commonly used SCSI opcodes related to VAAI operations:
0x93 | WRITE SAME(16) |
0x41 | WRITE SAME(10) |
0x42 | UNMAP |
0x89 | SCSI COMPARE and WRITE - ATS |
0x83 | EXTENDED COPY |
Occasionally, failures during VAAI operations would be logged in the /var/log/vmkernel.log file. For example:
Cmd(0x41248092e240) 0x42, CmdSN 0x13bb23 to dev "naa.xxxxxxxx" failed H:0x0 D:0x2
在 ESXi 中禁用 Hardware Accelerated Init (WRITESAME)