2

You could rescan the SCSI host bus by running the following command echo "- - -" > /sys/class/scsi_host/host0/scan NOTE: The host0 part of the command above is the host ID. And you might have multiple/other host ID's on your machine. Which means that if the command above doesn't get you the drive back, you might have to change the host ID to ...


1

You need a SAS HBA. Then use sg_sanitize from sg3_utils package. Examples: Simple erase: sg_sanitize --block /dev/sdX Overwrite with given pattern: sg_sanitize --overwrite --pattern=rand.img /dev/sdX If you only have a RAID controller, than you can create a RAID volume and just fill it with zeroes or some random pattern (see scrub).


Only top voted, non community-wiki answers of a minimum length are eligible