[nzlug] /dev/st0 - device or resource busy

Kealey, Martin, ihug-NZ Martin.Kealey at vodafone.com
Fri Jun 6 20:49:22 NZST 2008


Scott Newton wrote:
> Does anyone know of way to reset a scsi tape device without doing a
> reboot? 

Unkillable processes are an indication that the process is locked in kernel. (Signals are only checked -- and thence acted on -- when processes exit the kernel.)

So you have to reset the device driver in the kernel. If you're lucky it's a module, so just yank the module:

lsmod | grep scsi
rmmod $whatever

Beyond that, perhaps you could reset the physical device. Pull out power or data cables, that sort of thing. Easier of course if it's externally mounted.

-Martin

-- 
Martin D Kealey
Ihug Engineering
-----------------------------------------------------------------------------------------------
Have you seen our website?.... http://www.vodafone.co.nz

Manage Your Account, check your Vodafone Mail and send web2TXT online: http://www.vodafone.co.nz/myvodafone

CAUTION: This correspondence is confidential and intended for the named recipient(s) only.
If you are not the named recipient and receive this correspondence in error, you must not copy,
distribute or take any action in reliance on it and you should delete it from your system and
notify the sender immediately.  Thank you.

Unless otherwise stated, any views or opinions expressed are solely those of the author and do
not represent those of Vodafone New Zealand Limited.

Vodafone New Zealand Limited
20 Viaduct Harbour Avenue, Private Bag 92161, Auckland 1030
Telephone + 64 9 355 2000
Facsimile + 64 9 355 2001



More information about the NZLUG mailing list