Is there any way to safely remove any external disk connected via eSATA? Disks make an ugly noise when unplugged, even if there are no mounted partitions I found this little command somewhere, and it seems to shutdown the disk.
sdparm --flexible --command=stop /dev/sdb &>/dev/null
But, just when it powers off, it starts working again.
Any clue?