raspi: automatically spin external hdd down

the raspberry pi cannot spin external hard drives down. the program hdparm worked perfectly for me.

i followed this guide (htpcguides.com). just some slight little twitch i found on some other website: the device path in the /etc/hdparm.conf file should rather be the one from /dev/disk/by-uuid/… as the raspi might mount the external drive to different /dev/sdX paths. furthermore, the drive shouldnt be spun down more than need be. dont choose any spindown times lower than 15min.

 

$ cat /etc/hdparm.conf
/dev/disk/by-uuid/ffd9b0a1-931f-4795-85ba-28c58719a938 {
	spindown_time = 180
	write_cache = on
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s