How to idle a rarely used HDD

If you are using GNU/Linux try usingf hdparm (e.g. hdparm -S180) If you use an other OS please mention that in the post or tag your post with that OS.