8

I have an HPdv6t quad notebook with Windows 7 and Ubuntu 11.04 dual booted, both OSes installed on a partitioned Crucial 128 GB SSD. I replaced my optical drive with the HDD that came with the computer which I use for most of my storage.

Same question as Disable or sleep secondary hard drive in Macbook but for Windows 7 - I want to keep the HDD drive spun down when I don't need it. Occasionally it will spin down on its own but only after about 10 min of not accessing it, and then it spins back up on its own shortly afterwards for no apparent reason.

As an aside, the reason I want to do this is to prolong the life of the HDD and save battery power. Will it even make much of a difference on either account? How significant is power consumption of a spinning HDD compared to, say, power consumption of the screen or of the sandy bridges integrated graphics?

danny
  • 311

6 Answers6

7

Hot swapping out the secondary disk might be a solution.

The free utility HotSwap! does that :

It does the same thing as you can remove device from Device Manager but it provides much friendly user interface as you remove the removable device from the "Safely Remove Hardware" icon in the notification area.

It also ensures that all data are written and flushed to the disk before the device to be hot-swapped, so you can use SATA/eSATA drive as a removable device much alike USB/IEEE1394 drive.

harrymc
  • 498,455
4

Occasionally it will spin down on its own but only after about 10 min of not accessing it, and then it spins back up on its own shortly afterwards for no apparent reason.

You can use Process Monitor to see what I/O events are happening, or DiskMon for pure I/O.

With Process Monitor you could then filter it so the Path starts with your secondary HDD station letter.

Will it even make much of a difference on either account?

The main reason HDDs spin down is to conserve power. I don't think it helps to prolong the life as it might as well just cause more stress on the HDD due to spinning down and up than just letting it run idle. On the other hand, it does save you some wattages and thus battery power. But why estimate when you can measure?

Chris Ting
  • 1,579
1

This utility might be what you are looking for. I do not know if it will work with the drives you have, but is worth a shot I suppose. It can spin down the drive after a certain amount of idle time.

soandos
  • 24,600
  • 29
  • 105
  • 136
0

For many years I've been using utility RevoSleep for exactly that purpose - it has simple taskbar popup menu that allows to manually spin-down (sleep) or spin-up (wake) any hard drive of your computer.

While this tool is made almost 8 years ago for Windows XP, it still works even these days in Windows 10.

Artanis
  • 257
0

DISCLAIMER
Read the note about what harddrive not to use with hdparm !

You should take a look at hdparm for windows at http://hdparm-win32.dyndns.org/hdparm/. The manual is located here http://linux.die.net/man/8/hdparm.

Start by calling it like this:

hdparm.exe -S 0 -B 254 /dev/hdX

where X could be a or b, depending on what drive you want to spindown. Most likely a will be your primary harddrive and b will be your secondary harddrive

When you have it up and running you could look at http://tsukasa.jidder.de/blog/projects/hdparm-service for information on how to enable it as a service.

Sharken
  • 1,661
0

I had the same problem.

Using a Process Hacker/Explorer (whichever you prefer) and windows resource monitor

Search for the drive letter (e.g. e:\) of your HDD in Process Explorer/Hacker, this will show you the processes that are using it. Some such as the journal are innocent and keep handles open even though they aren't using the disk. In the lower pane (sort by handle type and look for files), when it is showing handles, you will see the drive access happen periodically in the offending process, it will be highlighted green and red as it opens and closes the file.

Resource monitor (Accessories|System) will show you disk activity that you can filter by executable and sort by path.

I found it to be dell datasafe.

Once you have found the culprit you can stop it running at startup using autoruns (sysinternals)

Jan S
  • 113