ESXI 平台下 FreeNAS 系统 SCSI 异常处理

存储切到 FreeNAS 上运行有段时间了,发现经常有个内核错误的日志,基本信息如下:

> random: unblocking device.
> Trying to mount root from zfs:freenas-boot/ROOT/default []...
> (da1:mpt0:0:1:0): WRITE(16). CDB: 8a 00 00 00 00 01 02 40 ec 18 00 00 01 00 00 00 
> (da2:mpt0:0:2:0): WRITE(16). CDB: 8a 00 00 00 00 01 02 40 dd 18 00 00 01 00 00 00 
> (da2:mpt0:0:2:0): CAM status: SCSI Status Error
> (da2:mpt0:0:2:0): SCSI status: Check Condition
> (da2:mpt0:0:2:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
> (da2:mpt0:0:2:0): Actual Retry Count: 3
> (da2:mpt0:0:2:0): Error 5, Unretryable error
> (da2:mpt0:0:2:0): WRITE(10). CDB: 2a 00 fe 41 45 e0 00 01 00 00 
> (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 00 fe 41 47 e0 00 01 00 00 
> (da1:mpt0:0:1:0): CAM status: SCSI Status Error
> (da1:mpt0:0:1:0): SCSI status: Check Condition
> (da1:mpt0:0:1:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
> (da1:mpt0:0:1:0): Actual Retry Count: 3
> (da1:mpt0:0:1:0): Error 5, Unretryable error
> mpt0: request 0xfffffe0000e12110:39087 timed out for ccb 0xfffff8005edf2800 (req->ccb 0xfffff8005edf2800)
> mpt0: attempting to abort req 0xfffffe0000e12110:39087 function 0
> mpt0: completing timedout/aborted req 0xfffffe0000e12110:39087
> (da2:mpt0:0:2:0): WRITE(10). CDB: 2a 00 fe 41 4b e0 00 01 00 00 
> mpt0: abort of req 0xfffffe0000e12110:0 completed
> mpt0: request 0xfffffe0000e122d8:39088 timed out for ccb 0xfffff800835e0000 (req->ccb 0xfffff800835e0000)
> mpt0: attempting to abort req 0xfffffe0000e122d8:39088 function 0
> mpt0: completing timedout/aborted req 0xfffffe0000e122d8:39088
> (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 00 fe 41 48 e0 00 01 00 00 
> (da1:mpt0:0:1:0): CAM status: Command timeout
> (da1:mpt0:0:1:0): Retrying command
> mpt0: abort of req 0xfffffe0000e122d8:0 completed
> (da1:mpt0:0:1:0): WRITE(16). CDB: 8a 00 00 00 00 01 02 41 86 30 00 00 01 00 00 00 
> (da1:mpt0:0:1:0): CAM status: SCSI Status Error
> (da1:mpt0:0:1:0): SCSI status: Check Condition
> (da1:mpt0:0:1:0): SCSI sense: HARDWARE FAILURE asc:44,0 (Internal target failure)
> (da1:mpt0:0:1:0): Actual Retry Count: 3
> (da1:mpt0:0:1:0): Error 5, Unretryable error

基本一两天就会曝出一次,基本也不影响系统正常运行,但既然看到了就查一下,最后在 freebsd 的论坛找到了解决方案:

  • 进入 ESXI 关闭虚拟机
  • 编辑虚拟机选项
  • 找到 SCSI控制器 修改为 LSI Logic SAS

运行至今没出过这个日志了,应该算是解决了。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注