linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Can't get drives containing spare devices to spindown
@ 2006-05-11 19:51 Marc L. de Bruin
  2006-05-30 16:39 ` Bill Davidsen
  2006-06-22  4:49 ` Marc L. de Bruin
  0 siblings, 2 replies; 6+ messages in thread
From: Marc L. de Bruin @ 2006-05-11 19:51 UTC (permalink / raw)
  To: linux-raid

Lo,

Situation: /dev/md0, type raid1, containing 2 active devices (/dev/hda1 
and /dev/hdc1) and 2 spare devices (/dev/hde1 and /dev/hdg1).

Those two spare 'partitions' are the only partitions on those disks and 
therefore I'd like to spin down those disks using hdparm for obvious 
reasons (noise, heat). Specifically, 'hdparm -S <value> <device>' sets 
the standby (spindown) timeout for a drive; the value is used by the 
drive to determine how long to wait (with no disk activity) before 
turning off the spindle motor to save power.

However, it turns out that md actually sort-of prevents those spare 
disks to spindown. I can get them off for about 3 to 4 seconds, after 
which they immediately spin up again. Removing the spare devices from 
/dev/md0 (mdadm /dev/md0 --remove /dev/hd[eg]1) actually solves this, 
but I have no intention actually removing those devices.

How can I make sure that I'm actually able to spin down those two spare 
drives?

Thanks,

Marc.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-22  5:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 19:51 Can't get drives containing spare devices to spindown Marc L. de Bruin
2006-05-30 16:39 ` Bill Davidsen
2006-06-22  4:49 ` Marc L. de Bruin
2006-06-22  5:05   ` Neil Brown
2006-06-22  5:22     ` Marc L. de Bruin
2006-06-22  5:32       ` Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).