[juneau-lug] Re: SCSI Disk power management question

  • From: James Zuelow <e5z8652@xxxxxxxxxx>
  • To: juneau-lug@xxxxxxxxxxxxx
  • Date: Fri, 27 Feb 2004 16:06:43 -0900

On Mon, 23 Feb 2004 11:33:31 -0900
Justin Burket <zorton@xxxxxxxx> wrote:

> 
> hdparm sets various power management and interface options for 
> IDE/ATAPI disks but what about the SCSI world? 

(snip)
> 
> the machine is an older Powermac 7100 running a 2.4 series nubus 
> kernel.  The disk is stock apple running on the internal SCSI interface 
> (not to shabby considering the disk is about 7 or 8 years old and only 
> 200 megs :)
> 

Justin, can you run your firewall from a ram-disk, and just use the hard drive 
to boot from?  

I've tested scsi-tools on Debian PowerPC (no nubus boxes, sorry - PCI), and it 
works fine.  There's a kernel patch to spin down a scsi disk after X idle 
minutes, but I think the patch was for 2.0.x and 2.2.x - I'm guessing you're 
probably running 2.4 or newer.  I tested on 2.4.18, using the Woody version of 
scsi-tools.

`scsi-spin -d /dev/sda` will stop a scsi disk, but it doesn't like the disk to 
be mounted.  You can do a `scsi-spin -f -d /dev/sda` to stop a mounted disk, 
but I don't know what happens when your system tries to access swap, etc.

I can play with it a little more if you like. (`scsiinfo /dev/sda` is pretty 
cool too....)

Cheers,

James

------------------------------------
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts: