[rescue] DLT drive dead want to replace without rebooting

Caleb Shay caleb at webninja.com
Tue Nov 28 14:16:53 CST 2006


On 11/28/06, Jonathan C. Patschke <jp at celestrion.net> 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



You can do it from sysctl too, but I kind of like the convenience of the
sysfs when writing scripts.

Caleb



More information about the rescue mailing list