You could try something like: echo "scsi remove-single-device" 0 0 1 0 > /proc/scsi/scsi
That should set it up for hot removal, which you would hope would include spining it down. Of course it won't come back until you do: echo "scsi add-single-device" 0 0 1 0 > /proc/scsi/scsi You can get the scsi id stuff the '0 0 1 0' (host:bus:device:lun) info from the command 'lssci' David. On 4/7/06, Owen Berry <[EMAIL PROTECTED]> wrote: > I have in my possession an old Sun Ultra Enterprise 2 server, which I > received for the bargain price of $0. It has 2 very noisy SCSI drives in > it, and while I'm figuring out what to do with this prize possession, I > was wondering if there is a way to spin down the SCSI disks when running > off a live CD. > > I tried using hdparm -Sx, but from the output the action wasn't > supported by the drive. I should have written it down before shutting > off the machine (doh!) but it was something to the effect of > unrecognized parameter. And no, it wasn't hdparm that was complaining > about -S, it looked more like a response from the device. > > I also looked for some of the scsi-xxxx tools on the livecd, but > couldn't find anything. Not sure if that's 'cos they weren't there, or > if those tools are obsolete. > > I guess I could unplug the drives for now, but in the back of my mind > I'm wondering if I can set something up where I run off a live cd, and > have a ramdrive that synchs with the hard drive on startup and shutdown > for writeable data, with the drives being shutdown the rest of the time. > Maybe a little crazy. :-) > > Any other suggestions? > > Thanks, > Owen > -- > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug > TriLUG Organizational FAQ : http://trilug.org/faq/ > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ > -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
