I am going to build a server for backups. I want to install the operating system on USB flash disk (a little space), and attach some hard disks for data (much more space needed). Because it is going to be backup, disks will run only once a day. So to save power I want disks to stop (spin off) while not used.
Do I need to buy some special disks for it, or is it enough to configure something in Ubuntu? I want to buy 2.5" disks, also because it is consuming less power.
Answer
You can use a linux command hdparm -S
man hdparm
-S : Set the standby (spindown) timeout for the drive. This value is used by
the drive to determine how long to wait (with no disk activity) before
turning off the spindle motor to save power...
Also look at this question:
What’s the effect of standby (spindown) mode on modern hard drives?
$ sudo hdparm -S 240 /dev/sda1
/dev/sda1:
setting standby to 240 (20 minutes)
No comments:
Post a Comment