Hello everyone,
I'm using Proxmox VE 8.4.5 to host a TrueNAS SCALE VM. I have four hard drives connected to an IBM M1015 HBA (flashed to IT mode), which is passed through to the TrueNAS VM via PCI passthrough.
The S.M.A.R.T. data for one of the drives shows a high number of ungraceful power-offs, which might be caused by a misconfiguration on my part:
When I shut down the Proxmox host, I can hear that the drives are not spinning down gracefully. I suspect this happens because the HBA is passed through to the TrueNAS VM, and the host no longer has access to it. Interestingly, when I shut down the TrueNAS VM, the drives remain spinning, suggesting that Proxmox may be cutting power to the HBA abruptly during shutdown. This would also explain the mechanical noise I’m hearing.
I'm not sure how to properly resolve this. Since the host can't access the HBA once it's passed through, spinning down the drives before shutdown doesn’t seem possible from the Proxmox side.
While the server now runs 24/7 and isn't powered down often, I still feel this is something that should be addressed properly.
Any ideas or suggestions would be greatly appreciated!
I'm using Proxmox VE 8.4.5 to host a TrueNAS SCALE VM. I have four hard drives connected to an IBM M1015 HBA (flashed to IT mode), which is passed through to the TrueNAS VM via PCI passthrough.
The S.M.A.R.T. data for one of the drives shows a high number of ungraceful power-offs, which might be caused by a misconfiguration on my part:
Code:
192 Power-Off_Retract_Count -O--CK 100 100 000 - 326
When I shut down the Proxmox host, I can hear that the drives are not spinning down gracefully. I suspect this happens because the HBA is passed through to the TrueNAS VM, and the host no longer has access to it. Interestingly, when I shut down the TrueNAS VM, the drives remain spinning, suggesting that Proxmox may be cutting power to the HBA abruptly during shutdown. This would also explain the mechanical noise I’m hearing.
I'm not sure how to properly resolve this. Since the host can't access the HBA once it's passed through, spinning down the drives before shutdown doesn’t seem possible from the Proxmox side.
While the server now runs 24/7 and isn't powered down often, I still feel this is something that should be addressed properly.
Any ideas or suggestions would be greatly appreciated!