When you set up spin down on a storage disk, you want proof that it actually sleeps. Most tools that read from the disk wake it up. hdparm -C doesn’t.
sudo hdparm -C /dev/sdX
It prints the power mode of the drive: active/idle when it’s spinning, standby when it has spun down, and on some drives sleeping. Checking the state doesn’t count as disk access, so the disk stays where it is.
To see all disks at once:
for d in /dev/sd?; do echo -n "$d: "; sudo hdparm -C "$d" | awk '/drive state/ {print $NF}'; done
If a disk never shows standby, something keeps waking it. A monitoring tool that reads SMART values is a common one; smartctl -n standby fixes that for smartctl. Other usual suspects are a filesystem with access times, a cron job or a scan of the media library.
It’s meant for SATA hard disks. SSDs and NVMe drives don’t spin, and many report active/idle all the time or give an error. Behind some USB adapters the command doesn’t get through and you get an unknown state. And the other hdparm options are a different story: several of them change drive settings, and a few are marked as dangerous in the man page, so I’d only use the read-only ones without reading up first.
Further reading: hdparm(8) manual page