Turn off the "Status" LED, "Failure" LED and "Locate" LED for specified device(s)

ledctl

sudo ledctl normal={{/dev/sda,/dev/sdb,...}}

click the source code to copy install ledctl on any operating system with command-not-found.com