[ILUG] My tip of the day...

Thomas Ribbrock emgaron at gmx.net
Fri Jan 21 01:40:45 GMT 2000


Probably everybody else knew this one - but it was new to me:

You can get Linux to rescan the SCSI bus and e.g. add a drive you've just
switched on by using the following:

echo "scsi add-single-device 0 0 6 0" > /proc/scsi/scsi
                             ^ ^ ^ ^
			     a b c d

  a == hostadapter id (first one being 0)                                      
  b == SCSI channel on hostadapter (first one being 0)                         
  c == ID                                                                      
  d == LUN (first one being 0)                                                 

Learn something new every day...

Thomas
-- 
-----------------------------------------------------------------------------
      Thomas Ribbrock    http://www.bigfoot.com/~kaytan    ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"




More information about the ILUG mailing list