Epyc Supermicro SATA HotSwap issues

scline

New Member
Apr 6, 2022
4
1
3
CPU: EPYC 7532
RAM: 256 GB RDIMM ECC
Motherboard: H11SSSL-i

Proxmox 8 has been installed and running for some time now, Recently I hooked up the internal SATA SFF ports to the Supermicro backplane (BPN-SAS3-216A-N4), and while disk read/write fine to it. I am not able to get the hot-swap functionality to work. This is enabled in the BIOS.

While googling for answers I came across https://www.thomas-krenn.com/en/wiki/AMD_EPYC_Server_with_Ubuntu_-_Enable_SATA_Hot-Swap and implemented the recommended changes where setting the lpm policy option to 1. It appears however this option is not getting picked up or enabled on reboot. Does proxmox8 require a different setting to get this changed?

example:
Code:
pve01:~# cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs ahci.mobile_lpm_policy=1

pve01:~# cat /sys/bus/scsi/devices/host?/scsi_host/host?/link_power_management_policy
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
min_power_with_partial
 
The above post helped me out. Adding ahci.mobile_lpm_policy=1 to the /etc/kernel/cmdline helped. However, don't forget to run proxmox-boot-tool refresh for the change to take effect on the next boot.

I am still having a problem with hot swap for bays that did not have a drive installed at the initial boot of the system. If a drive bay has a drive at boot, hot swap works (with the above modification in effect). However, bays that are empty at boot never "wake up".

Is anyone aware of a way to get the drive bay working again aside from a full reboot of the server?

SuperMicro AS-2125HS-TNR
Backplane BPN-NVME5-HS219N-S24