[rescue] DLT drive dead want to replace without rebooting

Charles Shannon Hendrix shannon at widomaker.com
Tue Nov 28 14:52:01 CST 2006


Tue, 28 Nov 2006 @ 13:21 -0600, Jonathan C. Patschke said:

> 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

Why?

Internally, what is happening is little different either way.

/proc and /sys are just interfaces after all, like sysctl and
camcontrol.

Neither has much to do with the internals.

-- 
shannon "AT" widomaker.com -- [Don't you see that the whole aim of Newspeak
is to narrow the range of thought? In the end we shall make thoughtcrime
literally impossible, because there will be no words in which to express
it. -- 1984, George Orwell ]]



More information about the rescue mailing list