User Tools

Site Tools


os:linux:general:hotswapscsi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
os:linux:general:hotswapscsi [2010/02/09 19:21] – created crustymonkeyos:linux:general:hotswapscsi [2010/02/09 20:36] crustymonkey
Line 2: Line 2:
 I found some valuable Linux specific hotswap stuff today for working with hot-swappable SCSI disks.  This should be pretty distro agnostic as well.  I've been using FreeBSD, where you use camcontrol/atacontrol, for so long now that I had kind of forgotten how to do this stuff in Linux.  Now it's time to make a record. I found some valuable Linux specific hotswap stuff today for working with hot-swappable SCSI disks.  This should be pretty distro agnostic as well.  I've been using FreeBSD, where you use camcontrol/atacontrol, for so long now that I had kind of forgotten how to do this stuff in Linux.  Now it's time to make a record.
  
-===== Checking What is Currently in the System =====+====== Checking What is Currently in the System ======
 Good ol' linux and it's ''proc'' pseudo-filesystem.  Essentially, all we are doing is checking a file and echoing commands into the same file for all our operations.  The magic file here is **''/proc/scsi/scsi''**. Good ol' linux and it's ''proc'' pseudo-filesystem.  Essentially, all we are doing is checking a file and echoing commands into the same file for all our operations.  The magic file here is **''/proc/scsi/scsi''**.
  
Line 45: Line 45:
 </code> </code>
  
-===== Removing a Device =====+====== Removing a Device ======
  
 Now, first I want to remove the first device since it failed.  Then we will see that it no longer shows up. Now, first I want to remove the first device since it failed.  Then we will see that it no longer shows up.
os/linux/general/hotswapscsi.txt · Last modified: 2010/02/09 20:38 by crustymonkey