[TriLUG] Spinning down a SCSI drive

Owen Berry oberry at trilug.org
Mon Apr 10 14:34:09 EDT 2006


You're right, it does show that information. And the entries disappear
once I've set it up for hot removal, but no luck on the drives spinning
down. Even after waiting a while. :-( I'll keep looking.

Owen

On Mon, Apr 10, 2006 at 11:18:06AM -0400, David Brain wrote:
> You should be able to get the same info from /proc/scsi/scsi e.g.
> (from a Dell Poweredge with two drives attached):
> 
>   # cat /proc/scsi/scsi
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: IBM      Model: DDYS-T18350M     Rev: S93E
>   Type:   Direct-Access                    ANSI SCSI revision: 03
> Host: scsi0 Channel: 00 Id: 01 Lun: 00
>   Vendor: SEAGATE  Model: ST3300007LC      Rev: D701
>   Type:   Direct-Access                    ANSI SCSI revision: 03
> Host: scsi0 Channel: 00 Id: 06 Lun: 00
>   Vendor: PE/PV    Model: 1x3 SCSI BP      Rev: 0.28
>   Type:   Processor                        ANSI SCSI revision: 02
> 
> 
> So the Seagate Drive would be  '0 0 1 0'
> 
> Of course this is all x86 stuff so there may be some differences going
> to SPARC too.
> 
> David.
> 
> 
> On 4/10/06, Owen Berry <oberry at trilug.org> wrote:
> > Thanks for the information, although it didn't work for me. I'm not 100%
> > sure I had the correct scsi id information though. I was booted off a
> > Gentoo install CD, which isn't really a live cd for anything other than
> > installation, and didn't have lsscsi included.
> >
> > I'll have to find a real Sparc 64 live cd and try with that. Any
> > suggestions?
> >



More information about the TriLUG mailing list