First thing you have to do is make sure nothing is using the device. Check if you have software raid that it\’s been faild. Hopefully you didn\’t have a directory hard mounted on the system.
then you must find some information on the drive that was pulled….
cat /proc/scsi/scsi
Get the HOST CHAN ID and LUN #\’s for the device. Then…
echo \”scsi-remove-single-device HOST CHAN DEV LUN\’