public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Eric Raskin" <eraskin@paslists.com>
To: Linux-scsi@vger.kernel.org
Subject: RE: How to disconnect a SCSI device without crashing SLES8?
Date: Fri, 4 Feb 2005 15:36:48 -0500	[thread overview]
Message-ID: <15ae01c50af9$42f42c40$650aa8c0@ehrpc> (raw)
In-Reply-To: <20050204202501.GA25126@infradead.org>

Thanks, Christoph.  Would we use the same commands on 2.6?

----------------------------------------------------------------------------
Eric H. Raskin                                          Voice: 914-765-0500
Professional Advertising Systems Inc.                   Fax:   914-765-0503
200 Business Park Dr Suite 107                          eraskin@paslists.com
Armonk, NY 10504


-----Original Message-----
From: Christoph Hellwig [mailto:hch@infradead.org] 
Sent: Friday, February 04, 2005 3:25 PM
To: Eric Raskin
Cc: Linux-scsi@vger.kernel.org
Subject: Re: How to disconnect a SCSI device without crashing SLES8?

On Fri, Feb 04, 2005 at 02:12:13PM -0500, Eric Raskin wrote:
> In searching the web, I've found the "remove-scsi-device" and
> "add-scsi-device" commands that can be sent to /proc/scsi/scsi.
> 
> Does anybody know if the system will stay up if I use these commands to
> remove all my tape library devices before shutting it down?  Is this the
> proper way to repair my library without having to shut the system off?

remove-scsi-device could work, but in Linux 2.4 it's racy.

If you want to remove and add devices at runtime safely you'll have to
update to Linux 2.6.



  reply	other threads:[~2005-02-04 20:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-04 19:12 How to disconnect a SCSI device without crashing SLES8? Eric Raskin
2005-02-04 20:25 ` Christoph Hellwig
2005-02-04 20:36   ` Eric Raskin [this message]
2005-02-04 21:06     ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2005-02-04 20:56 Rajat  Jain, Noida
2005-02-04 21:26 ` Eric Raskin
2005-02-04 21:51 ` Mike Anderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='15ae01c50af9$42f42c40$650aa8c0@ehrpc' \
    --to=eraskin@paslists.com \
    --cc=Linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox