scrarfussi wrote: > hi guys thanx for the great product > just one quick question > i have my external harddrive connected via the usb > is there any way to idle the hdd when its not in use like not playing > anything for 20 min it slows down or whatever > cause the drive is always running . i wonder how long it will last > thanks again guys
Yes you can. You need to install hdparm for that. Note: your USB - SATA controller must be compatible with this. Some controllers don't support hdparm and with those you'll get an error message. Here's what you need to do: Download hdparm from http://sourceforge.net/projects/hdparm/ 1. Copy hdparm-9.43 directory to /tmp 2. run "make install" in the above directory 3. hdparm is compiled and located in /sbin 4. run hdparm -S60 /dev/sda1 The above will turn off the hard drive when idle for 5 minutes. you can increase that be increasing the value 60. You also would want to run hdparm as a service: Create service file: /etc/systemd/system/hdparm.service [Unit] Description=Sleep USB drive when idle for 5 min [Service] ExecStart=/sbin/hdparm -S60 /dev/sda1 [Install] WantedBy=multi-user.target Enable service: systemctl enable hdparm.service Works like a charm. 1 x SB3, 1 x SB Boom, 1 x SB Radio and 2 x SB Touch - all wireless 1 x Wandboard behind the bedroom ceiling ReadyNAS NVX running LMS 7.7.3. w iTunes plugin iPeng 7 on iPhone. SqueezePad & iPeng 7 on iPad. http://www.last.fm/user/phibon ------------------------------------------------------------------------ Pascal Hibon's Profile: http://forums.slimdevices.com/member.php?userid=7969 View this thread: http://forums.slimdevices.com/showthread.php?t=99395 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
