jaysoncena

From a Freelancer's Viewpoint

Hot-swap drive

Posted by jaysoncena on October 19, 2011

cat /sys/bus/scsi/devices/2\:0\:0\:0/model
echo “1” > /sys/bus/scsi/devices/2\:0\:0\:0/delete
replace harddrive
echo > /sys/bus/scsi/devices/2\:0\:0\:0/rescan
– OR –
echo “- – -” > /sys/class/scsi_host/host2/scan

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: