Re: How to resurrect offlined SCSI devices?

Martin Peschke3
2004-05-26T15:04:41Z

James,

> Really, it isn't safe for a LLD to try to bring a device back online on
> its own without user intervention.

How does the user know that it is safe?
What if they just try to bring it online? What is happening in the worst
case?
My point is that users probably set the appropriate sys-attribute
in a "trial and error" fashion, if they think they have got a problem,
while an lldd might even know better.

Martin

James Bottomley <James.Bottomley@SteelEye.com> on 26/05/2004 16:45:46

To: Martin Peschke3/Germany/IBM@IBMDE
cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: Re: How to resurrect offlined SCSI devices?

On Wed, 2004-05-26 at 08:14, Martin Peschke3 wrote:
> Is there a SCSI mid layer interface that allows an lldd to get a
> SCSI devices back online?

actually

echo "running" > /sys/...<device path>.../state

will work from user land.

Really, it isn't safe for a LLD to try to bring a device back online on
its own without user intervention.

James