As requested in PM
Thanks for this, but HDparm is already downloadable twice on this forum![]()
As requested in PM
I've tried to achieve HDD spin-down as well, with my Maxtor 120Gb HDD. I've of course attached it to the IDE cable of py PC, hdparm recognizes it, I can set the spindown time (hdparm -S) but the HDD behaviour does not seem to be affected ... still no spindown occuring, either attached to the PC or inside the HDD case, attached to the WL500g...![]()
![]()
What a pity ... I was so happy to stream all my media from the router to my xbox ... yes movie playback is perfectly smooth, even considering the USB1.1 bandwidth... fast forward is as fast as from local HDD (don't ask me why, I'm only an impressed guy, thx Oleg)
but unfortunately I can't afford having the HDD running forever (noisy)
Anyone heard of an alternative to that ?
You can try a 5400 RPM drive from Samsung they are silent, cool and cheap and pretty robust (They are a large OEM supplier).Originally Posted by gilsas
Starting and stopping HDD's is bad for its MBTF, so its not a bad idea to let it spin 24/7..
Yep, but unfortunately Samsung drives are for some reason almost impossible to find here in France ... even in Paris.![]()
And anyways I don't feel like throwing my 120Gb maxtor drive to the garbage because it's (a little bit) noisy![]()
I'll keep looking and otherwise consider your solution !It's nevertheless disturbing that maxtor does not provide a tool capable of changing their HDD parameter ... go figure ...
![]()
You also might try to use a tool from another supplier, like the 'Hitachi feature tool'. There's a good chance it works on your maxtor drive as well.Originally Posted by gilsas
http://www.hitachigst.com/hdd/support/download.htm
I've already tried that tool, but it does not support Maxtor drives (well, it does but not the APM settings change).Originally Posted by Styno
I've nevertheless progressed a little bit: in fact, setting the spindown time (hdparm -S xx /dev/hdc) is not enough, that has to be done along with setting the APM to a value at 127 or below. Any other value will prevent the HDD to spindown. I've tried, it works.
The issue: the parameters are not kept over power off.... the only option that I've found is -k and -K (keep parameters over reset), and the parameters are kept, but over reset only ... after power cycling the PC the parameters are gone ...![]()
![]()
![]()
I'm lookin' for the fix right now !
I tried the same on a PC running Linux. The power of the harddisk was connected to the USB enclosure and the IDE cable to the computer. Entered some hdparm settings including the "keep settings". Harddisk spun down, so that worked. After that, removed the IDE cable from the harddisk while computer was still poweredand connected it to the USB enclosure again.
Too bad it didn't work. Either the "keep settings" did not work or it was due to I shut down Linux before I swapped the cables.
For now, I see no solution how to spindown an USB harddisk. The problem is in the SCSI emulation driver, so we need a new driver or some other low level tooling.
Originally Posted by dAF2000
not, it's not ... I'm using a knoppix CD, and I've brutally stopped the computer so it let no chance to the OS to modify any HDD setting ... still the same resultor it was due to I shut down Linux before I swapped the cables.
I guess that in your case you've temporarily cut the HDD power supply (IDE -> USB case), which is equivalent to power cyce the system since the APM features are handled by the HDD itself... be careful I doubt it's recommended to hot unplug the IDE cable !
I still haven't taken a closer look at that problem ... I keep on looking for a fix . The problem here is *apparently* that hdparm is designed to re-set the HDD parameters upon each linux bootup (through the hdparm.conf file), an not to permanently set the parameters ...![]()
Last edited by gilsas; 19-02-2005 at 00:42.
For Maxtor drives there is an Acoustic Management utility (Don't you love Google?!): http://maxtor.custhelp.com/cgi-bin/m...p?p_faqid=1200
Changes made by this utility are stored on the drive and remain active even after poweroff.
Below is a copy/paste from the NLSU2-linux site:
21. How do I spin down my USB hard disks?
You can download the Power Booster utility at http://www.hitachigst.com/downloads/pbinstall.exe for 2.5" IBM/Hitachi TravelStar disks. The Power Booster utility will enable the auto spin down feature of the disk. For 3.5" IBM/Hitachi drives (and maybe others), you can download the Feature Tool at http://www.hitachigst.com/downloads/...etool_v195.exe. Otherwise temporarily install the IDE disk in your ordinary Linux box, read the disk technical documentation and use hdparm to adjust the settings by hand. The trick is to enable APM within the drive itself, so Linux doesn't have to care about it at all. You can't use hdparm to alter the APM settings from the NSLU2 as the USB->IDE adapters are emulated as SCSI host adapters in the Linux kernel which is incompatible with the necessary hdparm options.
Either way, you'll have to open your 2.5" USB enclosure and install the disk drive temporarily to a desktop computer using a 2.5" to 3.5" IDE adapter. After that, you can do the APM adjustment in Windows or Linux.
For Maxtor OneTouch drives see the Maxtor OneTouch HOWTO.
Last edited by Styno; 05-03-2005 at 15:15.
Originally Posted by Styno
Mmmhh ... I did all of that, with the HDD being directly connected to the PC through the IDE cable, let me summarize:
- hdparm does not allow to make any permanent change to APM (and other) settings. I can set any parameter, but they remain active as long as the HDD is powered. After power cycling, the parameters are gone... I found no option beside -K (keep parameters over reset).![]()
- The maxtor utility can set the HDD to either quite or fast, I did it, but no spin-down occuring, and no way to set it.![]()
- The Power Booster utility recognizes my Maxtor HDD, I can set some parameters, but none related to APM. The tool reports something like 'not handled' or so.![]()
That's really a pity that Maxtor does not provide a tool able to finely tune the APM parameters. And beside hparm, there's AFAIK no generic tool for changing that permanently.... Anyone heard about an alternative to that ?
Accoustic management is the only option for Maxtor HDD's, no APM settings are possibles AFAIK.
Well, it depends on what you mean by that.
As being compliant to the APM standard specs, Maxtor drives have support for all APM related operations, including spin-down. Their latest USB HDD drives are provided with a small app. capable of setting explicitely the spin-down time. I don't think they're adding any additional hardware for supporting that beside the USB<->IDE chip. hdparm is also able to set the corresponding parameters, but unfortunately cannot commit definitively the changes.
So I guess that Maxtor drives do support APM features, but no tool exists for controlling them![]()
![]()
![]()
![]()
I tried to contact Maxtor France hotline (website FAQ is useless in this regard) but so far I could only get the mailbox.
Just to add a link to more information about powering down IDE devices in SCSI enclosures:
sdparm is a command line utility designed to get and set SCSI disk parameters (cf hdparm for ATA disks):
http://lkml.org/lkml/2005/5/24/313
sg_start - starts (spins-up) or stops (spins down) SCSI devices:
http://www.die.net/doc/linux/man/man8/sg_start.8.html
My 6Gb second-hand 2.5" IDE drive in USB enclosure auto-spins-down, but I cannot change this at will. Anyone got sg_start (of sdparm) working for this purpose?
In windows you can allow the OS to power down usb devices (or to be more exact: tell them to enter a sleep level) to save energy. Since this functionality is non-os specific but is determined by the usb hardware, would it perhaps be possible to force a usb device (suche as an external hdd) to enter a sleep mode?
This way we eliminate the need to communicate with the hdd's themself (although I do foresee some new problems)...