You could try a command like this to identify possible culprits:(assuming your external drive is mounted under /opt/).Code:lsof |grep /opt/|grep -v ' mem'
When i issue the hdparm command, the drive spins down as it should, but only for about 5-20 seconds, then it starts spinning again. Anybody knows what program that causes the hdd to spin up again?
Last edited by clausbruun; 07-03-2007 at 08:36.
You could try a command like this to identify possible culprits:(assuming your external drive is mounted under /opt/).Code:lsof |grep /opt/|grep -v ' mem'
Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net
My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)
Anything that touches a log file in /var/log or drops something in /tmp will make it spin back up again. Without mounting / read only, I don't think there's a practical way to make the HDD spin down and stay that way.
- K.C.
So only solution will be to move /tmp and /var/log to for example an usb stick ?
That's a possibility, but I think it would die rather quickly from all of the writes and you never know when it's going fail.
I think a better alternative is to leave a fluid dynamic bearing HDD on and idling at low RPM. With proper thermal management, it should run virtually forever.
- K.C.
http://www.wdc.com/en/library/eide/2579-001052.pdf
A new openwrt image is created that is able to boot from a usb device
Then the hdd can be put into sleep
http://www.wl700g.homelinux.net/drupal/?q=node/98 for more info
Last edited by back2basic; 04-04-2007 at 16:58.
Openwrt or Custom Firmware on asus? - http://wl700ge.hezik.nl/ - Http://wl700g.homelinux.net
My ASUS collection: WL500gp(80GB usb-hdd - Running OpenWrt Kamikaze 7.09) | WL700gE(250GB - Running OpenWrt Kamikaze 8.09rc1)