[rescue] DLT drive dead want to replace without rebooting
Peter Corlett
abuse at cabal.org.uk
Wed Nov 29 01:41:36 CST 2006
On 28 Nov 2006, at 19:21, Jonathan C. Patschke wrote:
> On Tue, 28 Nov 2006, Caleb Shay wrote:
>> In newer 2.6 kernels you use:
>> echo anything > /sys/class/scsi_device/<h>:<b>:<t>:<l>/device/delete
>> echo "<b> <t> <l>" > /sys/class/scsi_host/host<h>/scan
> *blink*
> /me hugs sysctl and camcontrol
These /sys and /proc interfaces aren't necessarily meant to be
directly manipulated, but wrapped in a tool. We could call it
something like "camcontrol" :)
ASCII-mode interfaces are preferable because they're easier to debug
- as evidenced by things like SMTP.
More information about the rescue
mailing list