Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

O sistema operacional Linux pode enfrentar problemas durante a gravação em disco. Para evitar perda de dados, o disco entra em status Read Only.

EX:

LOG DE ERRO:

Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT,SUGGEST_OK
sd 0:0:0:0: timing out command, waited 1080s
sd 0:0:0:0: Unhandled error code
sd 0:0:0:0: SCSI error: return code = 0x06000008
Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT,SUGGEST_OK
sd 0:0:0:0: timing out command, waited 1080s
sd 0:0:0:0: Unhandled error code
sd 0:0:0:0: SCSI error: return code = 0x06000008
Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT,SUGGEST_OK
sd 0:0:0:0: timing out command, waited 1080s
sd 0:0:0:0: Unhandled error code
sd 0:0:0:0: SCSI error: return code = 0x06000008
Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT,SUGGEST_OK
sd 0:0:0:0: timing out command, waited 1080s
sd 0:0:0:0: Unhandled error code
sd 0:0:0:0: SCSI error: return code = 0x06000008
Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT,SUGGEST_OK
sd 0:0:0:0: timing out command, waited 1080s
sd 0:0:0:0: Unhandled error code
sd 0:0:0:0: SCSI error: return code = 0x06000008
Result: hostbyte=DID_OK driverbyte=DRIVER_TIMEOUT,SUGGEST_OK
sd 0:0:0:0: timing out command, waited 1080s
sd 0:0:0:0: Unhandled error code
sd 0:0:0:0: SCSI error: return code = 0x06000008
sd 0:0:0:0: timing out command, waited 1080s

Para tal, aumentamos o time Out

1. Citrix XenServer:

Execute o comando abaixo:

...

RUN+="/bin/sh -c 'echo 180 > /sys$$DEVPATH/timeout'"

2. Hyper-V

Adicione "numa=off" se a sua VM Linux tiver mais que 7 vCPU's e/ou 30 GB RAM.

As máquinas virtuais Linux configuradas para usar mais de 7 processadores virtuais devem adicionar numa = off ao GRUB boot.cfg para contornar um problema conhecido nos kernels Linux 2.6.x. As máquinas virtuais Linux configuradas para usar mais de 30 GB de RAM também devem adicionar uma = off ao GRUB boot.cfg.

3. VMware


Verifique o tempo limite atual para cada dispositivo SCSI genérico no Linux sysfs usando o comando:

find /sys/class/scsi_generic/*/device/timeout -exec grep -H . '{}' \;

...