[svlug] Spinning down a SCSI disk

norm@dad.org norm at dad.org
Fri Jul 11 14:13:59 PDT 2008


Greg Lindahl <lindahl at pbm.com> writes:
>On Fri, Jul 11, 2008 at 12:46:55PM -0700, norm at dad.org wrote:
>
>> Is there a way to programmatically spin down a SCSI disk? I've looked at the man
>> pages for smartctl tune2fs and found nothing.
>
>Check out hdparm.
>
Thank you. But my reading of the hdparm page strong suggests that it only
supports spin down for IDE drives.

Furthermore when I do:
    /hdparm   -C /dev/sdb
I get
   drive state is:  unknown

and when I do
     hdparm -Y /dev/sdb
I get:
  issuing sleep command
  HDIO_DRIVE_CMD(sleep) failed: Invalid argument

    Norman Shapiro
    798 Barron Avenue
    Palo Alto CA 94306-3109
    (650) 565-8215
    norm at dad.org




More information about the svlug mailing list