readlink /sys/block/sdd
../devices/pci0000:00/0000:00:1f.2/host3/target3:0:0/3:0:0:0/block/sdd
echo 1 > /sys/block/sdd/device/delete
[12811675.481503] scsi 3:0:0:0: Direct-Access ATA TOSHIBA DT01ACA2 MX4O PQ: 0 ANSI: 5
[12811675.481651] sd 3:0:0:0: Attached scsi generic sg3 type 0
[12811675.481663] sd 3:0:0:0: [sdd] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[12811675.481667] sd 3:0:0:0: [sdd] 4096-byte physical blocks
[12811675.481694] sd 3:0:0:0: [sdd] Write Protect is off
[12811675.481696] sd 3:0:0:0: [sdd] Mode Sense: 00 3a 00 00
[12811675.481707] sd 3:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[12811675.481811] sdd:
[12811675.503100] sd 3:0:0:0: [sdd] Attached SCSI disk
if sdd still missing, so:
echo "- - -" > /sys/class/scsi_host/host1/scan