eSATA Hot Plug/Unplug

Install scsitools (Debian):
# apt install scsitools

Hot plug:
# rescan-scsi-bus

Unplug:
# echo 1 > /sys/block/sdb/device/delete