Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-03-2007, 05:03 PM   #1
Registered: Mar 2005
Posts: 124

Rep: Reputation: 15
how to 'spin down' scsi disks ?


The system is fc6 with 4 scsi drives on a 2940 controller. My question is - during idle is there a way to cause scsi drives to 'spin down'?

Thanks - Dan
Old 02-03-2007, 05:18 PM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Try the hdparm utility.

Last edited by stress_junkie; 02-03-2007 at 05:22 PM.
Old 02-03-2007, 05:41 PM   #3
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,125

Rep: Reputation: 165Reputation: 165
If that doesn't work, the sdparm utility at looks like it supports spinning the disk down:
sdparm commands
The '--command=' option allows a command to be sent to the given device. The currently supported commands are:

    * capacity: sends a READ CAPACITY and if successful reports the number of blocks, block length and capacity expressed in MibiBytes (1048576 bytes). Valid for disks and CD/DVD drives with the appropriate media loaded.
    * eject: stops the medium (if it is spinning) and ejects it from the drive. Note that this may be prevented by software in which case use the 'unlock' command first.
    * load: loads the medium and then spins it up
    * ready: reports whether the medium is ready for IO. Ready usually means that it is present and spun up. If the device is not ready then the exit status will be 2 (see exit status section below).
    * sense: reports sense data (from a REQUEST SENSE SCSI command); can include power condition information, a progress indication for a time consuming command (e.g. format) or a report an informational exception (when MRIE=6)
    * start: spin up the medium
    * stop: spin down the medium
    * sync: send a SYNCHRONIZE CACHE SCSI command to the device.
    * unlock: instructs the device to allow medium removal (i.e. an eject). Beware, the OS may have had a good reason for preventing removal of the medium (e.g. it contains a mounted file system). Use at your own risk.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Forcing SG to claim scsi disks vivekv Linux - Hardware 2 03-14-2006 08:12 PM
FC4: unused hard disks "spin-up" every half an hour linuxproactive Fedora 2 07-26-2005 03:31 PM
cheep scsi disks berrance Linux - Hardware 0 12-06-2004 07:00 AM
Mounting external SCSI disks tdstrite Red Hat 3 11-04-2003 09:47 AM
dualbooting from two scsi disks till Linux - General 0 02-20-2001 04:29 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration