How to shutdown internal SATA SSD?

Would not this work?

sudo hdparm -Y /dev/sda

Or … maybe better … to use UUID… after finding with blkid

sudo hdparm -Y /dev/disk/by-uuid/THE-UUID-OF-THE-DEVICE

complementary wiki link:
https://wiki.archlinux.org/title/Hdparm#Power_off_a_hard_disk_drive

1 Like